/* Основные стили для сайта Massage-Lov - Премиум тёмный дизайн */

/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #e0e0e0;
    background: #0f0f0f;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #c9a96e;
    text-decoration: none;
}

/* Шапка сайта - Премиум тёмная */
header {
    background: #111111;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-top {
    background: linear-gradient(180deg, #0f0f0f 0%, #111111 100%);
    color: #ffffff;
    padding: 8px 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Компактная шапка: название + город вертикально */
.logo.logo-compact {
    gap: 2px;
}

.logo.logo-compact .logo-link-compact {
    margin-bottom: 0;
    font-size: 18px;
}

/* Логотип 70×70 в шапке */
.logo.logo-header-50 .logo-img {
    width: 70px !important;
    height: 70px !important;
    margin-right: 10px;
    object-fit: contain;
}

.logo.logo-compact .logo-img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

/* Кнопка «Выбрать город» в правой части шапки (с иконкой геолокации) */
.city-selector-btn-header {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 50px;
    margin-right: 12px;
}

.city-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.city-icon-svg svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Гамбургер: скрыт на десктопе (lg: 1024px+), виден на мобильных */
@media (min-width: 1024px) {
    .hide-on-desktop {
        display: none !important;
    }
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Montserrat', 'Playfair Display', serif;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.logo img,
.logo .logo-img {
    width: 100px;
    height: 100px;
    margin-right: 12px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.logo img[style*="display: none"],
.logo .logo-img[style*="display: none"],
.logo img:not([src]) {
    display: none !important;
    margin-right: 0;
}

.logo .logo-text {
    white-space: nowrap;
}

.city-selector-wrapper {
    width: 100%;
}

.city-selector-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.city-selector-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.city-icon {
    font-size: 14px;
}

.city-text {
    white-space: nowrap;
}

/* Модальное окно выбора города - Премиум тёмное */
.city-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.city-selector-content {
    background: #1a1a1a;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.city-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.city-selector-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.city-selector-close {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    font-size: 24px;
    color: #d4af37;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.city-selector-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.city-selector-search {
    padding: 25px 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.city-selector-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 16px;
    background: #0f0f0f;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.city-selector-search input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: #111111;
}

.city-selector-search input::placeholder {
    color: #888888;
}

.city-selector-list {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
    background: #0f0f0f;
}

.city-loading,
.city-error,
.city-empty {
    text-align: center;
    padding: 60px 20px;
    color: #b0b0b0;
    font-size: 18px;
}

.cities-by-letter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.city-letter-group {
    break-inside: avoid;
}

.city-letter {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.city-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-item {
    color: #e0e0e0;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
    border: 1px solid transparent;
}

.city-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding-left: 25px;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.favorites-link {
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
}

.favorites-link:hover {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.main-nav a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.header-bottom {
    background: #111111;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.secondary-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.secondary-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
    font-size: 15px;
}

.secondary-nav a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Dropdown меню */
.dropdown-parent {
    position: relative;
}

.main-nav .dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.main-nav .dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
    display: inline-block;
}

.main-nav .dropdown-toggle:hover::after {
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.2);
    display: none;
    z-index: 1001;
    padding: 12px 0;
    border-radius: 16px;
    margin-top: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding-left: 28px;
    border-left: 3px solid #d4af37;
}

/* Основное содержимое */
main {
    min-height: 70vh;
    padding: 16px 0 40px;
    background: #0f0f0f;
    overflow-x: hidden;
    max-width: 100%;
}

/* Герой-секция - компактная */
.hero-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
    color: #ffffff;
    padding: 36px 0 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Montserrat', 'Playfair Display', serif;
    letter-spacing: -0.5px;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-section p {
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto 20px;
    color: #e0e0e0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-cta .btn {
    min-width: 200px;
    padding: 10px 24px;
    font-size: 14px;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.hero-cta .btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
}

/* Секция статистики - компактная */
.stats-section {
    background: #111111;
    padding: 24px 0 28px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 18px 20px;
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
    background: #1f1f1f;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}

.stat-label {
    color: #b8b8b8;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.daily-stats {
    margin-top: 20px;
    padding: 18px 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.daily-stats p {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 10px;
}

.daily-stats em {
    color: #b0b0b0;
    font-size: 14px;
}

.daily-stats button {
    margin-top: 20px;
    padding: 8px 18px;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.daily-stats button:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Секция аудитории */
.audience-section {
    padding: 40px 0;
    background: #111111;
    margin-bottom: 40px;
}

.audience-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.audience-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.audience-block {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.audience-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.audience-block img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.audience-block h3 {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.audience-block p {
    margin-bottom: 20px;
    color: #b8b8b8;
}

/* Кнопки - квадратные с легкими закругленными углами, желтая рамка, темный фон 70% */
.btn {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(15, 15, 15, 0.7) !important;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #d4af37 !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    cursor: pointer;
    letter-spacing: 0.3px;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.btn-secondary:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* Секция городов - компактная */
.cities-section {
    padding: 20px 0 28px;
    background: #0f0f0f;
}

.cities-section h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.city-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
    background: #1f1f1f;
}

.city-card>a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.city-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.city-card:hover img {
    transform: scale(1.1);
}

.city-info {
    padding: 30px 25px;
    text-align: center;
}

.city-info h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.city-info p {
    color: #b8b8b8;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.city-info .btn {
    margin-top: 10px;
    padding: 12px 28px;
    font-size: 15px;
}

/* Секция преимуществ - Премиум тёмная */
.benefits-section,
.choice-tips-section {
    padding: 24px 0 28px;
    background: #111111;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.benefits-section h2,
.choice-tips-section h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.benefits-list h3 {
    margin-bottom: 15px;
    color: #e0e0e0;
    font-weight: 600;
}

.benefits-section p,
.choice-tips-section p {
    max-width: 900px;
    margin: 0 auto 14px;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 14px;
}

.benefits-list {
    max-width: 800px;
    margin: 30px auto;
}

.benefits-list h3 {
    margin-bottom: 20px;
    color: #d4af37;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 30px;
}

.benefits-list ul {
    color: #e0e0e0;
}

.benefits-list li {
    color: #e0e0e0;
    margin-bottom: 12px;
    font-size: 17px;
}

.benefits-list ul {
    padding-left: 20px;
}

.benefits-list li {
    margin-bottom: 10px;
}

/* Подвал - компактный */
footer {
    background: linear-gradient(180deg, #0f0f0f 0%, #111111 100%);
    color: #e0e0e0;
    padding: 28px 0 20px;
    margin-top: 32px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Три блока футера по центру (десктоп) */
.footer-three-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 64px;
    margin-bottom: 24px;
}

.footer-three-blocks .footer-section {
    min-width: 160px;
}

/* Строка 18+ с иконками — в один горизонтальный ряд */
.footer-age-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-age-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.4;
}

.footer-age-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d4af37;
}

.footer-age-icon svg {
    width: 20px;
    height: 20px;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: #d4af37;
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    text-align: center;
}

.age-warning {
    margin-bottom: 10px;
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.6;
}

.copyright {
    font-size: 13px;
    color: #b0b0b0;
    margin-top: 12px;
}

.contact-info {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #d4af37;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #c9a96e;
    text-decoration: underline;
}

/* Кнопка "Наверх" — только стрелка, без надписи */
.scroll-to-top {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(15, 15, 15, 0.85) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    border: 2px solid #d4af37 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

.scroll-to-top::before {
    content: "↑" !important;
    font-size: 22px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.scroll-to-top:hover {
    background: rgba(25, 25, 25, 0.95) !important;
    border-color: #c9a96e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35) !important;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e0e0e0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 15px;
    background: #1a1a1a;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: #1f1f1f;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Мобильное меню (Burger) */
.mobile-menu-toggle {
    display: none;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Адаптивность - Премиум тёмная */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-top .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        width: 100%;
    }

    .city-selector-btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
        width: 100%;
        text-align: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .favorites-link {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .audience-blocks {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Мобильный футер: три блока в колонку (Салонам, под ним Частным мастерам, под ним Информация) */
    .footer-three-blocks {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .footer-three-blocks .footer-section ul {
        padding-left: 0;
        list-style: none;
    }

    .footer-age-row {
        gap: 12px 16px;
    }

    .footer-age-item {
        font-size: 11px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        padding: 15px 0;
    }

    .city-selector-content {
        max-height: 90vh;
        margin: 10px;
        border-radius: 16px;
    }

    .city-selector-header {
        padding: 20px 25px;
    }

    .city-selector-header h2 {
        font-size: 22px;
    }

    .city-selector-search {
        padding: 20px 25px;
    }

    .city-selector-list {
        padding: 20px 25px;
    }

    .cities-by-letter {
        grid-template-columns: 1fr;
    }

    /* Hero секция на мобильных */
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-section h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 18px;
    }

    /* Секции на мобильных — компактно */
    .stats-section,
    .cities-section,
    .benefits-section,
    .choice-tips-section {
        padding: 18px 0 22px;
    }

    .stats-section h2,
    .cities-section h2,
    .benefits-section h2,
    .choice-tips-section h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-section {
        padding: 24px 0 28px;
    }

    .hero-section h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 14px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-section h2,
    .cities-section h2,
    .benefits-section h2,
    .choice-tips-section h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-item {
        padding: 14px 16px;
    }
}

/* Уведомления */
.alert {
    padding: 18px 24px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid;
    font-weight: 500;
    font-size: 15px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #4ade80;
    border-color: rgba(40, 167, 69, 0.3);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    border-color: rgba(220, 53, 69, 0.3);
}

.alert-info {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
}

/* Загрузка */
.loading {
    text-align: center;
    padding: 50px;
}

.spinner {
    border: 4px solid rgba(233, 30, 99, 0.2);
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Фильтры поиска */
.filters-panel {
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    margin: 16px 0;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.filters-toggle {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.filters-toggle:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

.filters-content {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #e0e0e0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.filter-group input,
.filter-group select {
    padding: 14px 18px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 15px;
    background: #0f0f0f;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: #111111;
}

.filter-group input::placeholder {
    color: #888888;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.btn-primary:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

/* Lazy loading для изображений */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

/* Персонаж сайта — показываем всегда */
.city-seo-intro-girl img,
.city-seo-advantages-girl img,
.city-seo-howto-girl img,
.city-seo-cta-girl-phone img,
.city-seo-cta-girl-sit img {
    opacity: 1 !important;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Анимации для карточек */
.salon-card,
.master-card {
    background: #1a1a1a;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.salon-card:hover,
.master-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
    background: #1f1f1f;
}

/* Плавные переходы */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}


/* Улучшенные карточки */
.salon-card-horizontal,
.master-card {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Загрузка контента */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Стили для страниц городов - Премиум тёмные */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px 28px;
    background: #0f0f0f;
}

/* Компактный page-header для всех страниц */
.page-header {
    text-align: center;
    margin-bottom: 14px !important;
    padding: 10px 0 12px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-header h1 {
    color: #ffffff !important;
    margin: 0 0 6px !important;
    font-size: 26px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.page-header p {
    color: #b0b0b0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.page-header .breadcrumb {
    margin-top: 6px;
    font-size: 13px;
}

.city-page-header-compact {
    background: #111111;
    padding: 8px 0 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Одна строка: хлебные крошки + заголовок */
.city-breadcrumb-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    font-size: 14px;
    color: #b0b0b0;
}

.city-breadcrumb-title-line a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.city-breadcrumb-title-line a:hover {
    color: #c9a96e;
    text-decoration: underline;
}

.city-title-sep {
    color: rgba(212, 175, 55, 0.6);
}

.city-title-inline {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #d4af37 !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
}

.city-breadcrumb-line {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 4px;
}

.city-breadcrumb-line a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.city-breadcrumb-line a:hover {
    color: #c9a96e;
    text-decoration: underline;
}

.city-title-compact {
    margin: 0 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #d4af37 !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Миниатюрные кнопки категорий (pill) */
.city-stats-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 16px;
}

.stat-pill {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    border: 1px solid #d4af37;
    background: #1a1a1a;
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.stat-pill:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #c9a96e;
    color: #ffd700;
}

.stat-pill.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #ffd700;
}

/* Breadcrumb навигация - Премиум тёмная */
.breadcrumb-nav {
    background: #111111;
    padding: 10px 0;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    font-size: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: #999999;
}

.breadcrumb a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #c9a96e;
    text-decoration: underline;
}

/* Category навигация - Премиум тёмная */
.category-nav {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
    margin-bottom: 16px;
}

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

.category-list a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-list a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.category-list a.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Стили для страницы салона - Премиум тёмные (перезаписывают inline стили) */
.salon-header-section {
    background: #1a1a1a !important;
    padding: 18px 0 20px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.salon-header-main,
.salon-header-main-new {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.salon-info-header-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.salon-info-header-new h1,
.salon-info-header-new h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.salon-info-header-new p {
    color: #e0e0e0 !important;
}

.salon-contact-info-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.salon-address-block-new,
.salon-contacts-new {
    color: #e0e0e0;
}

.salon-stats-header-new {
    background: rgba(212, 175, 55, 0.1) !important;
    border-left: 4px solid #d4af37 !important;
    border-radius: 12px;
    padding: 20px;
}

.price-info-new,
.rooms-info-new {
    color: #e0e0e0 !important;
}

.price-info-new strong em {
    color: #d4af37 !important;
}

.salon-description-section {
    margin-bottom: 30px !important;
}

.salon-description {
    background: #111111 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    line-height: 1.7 !important;
    color: #e0e0e0 !important;
    font-size: 15px !important;
    border-left: 4px solid #d4af37 !important;
}

.salon-description a {
    color: #d4af37 !important;
    text-decoration: none;
}

.salon-description a:hover {
    color: #c9a96e !important;
}

.amenity-badge-new {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
}

.amenity-badge-new:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
    color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

/* Стили для страницы мастера - Премиум тёмные */
.master-page {
    padding: 0 0 60px;
    background: #0f0f0f;
}

.master-page-title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
}

.master-subtitle {
    color: #ffffff !important;
}

.master-layout-container {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 30px;
}

.master-main-photo-wrapper {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Кнопки на всех страницах - универсальные стили - МИНИАТЮРНЫЕ */
button.btn,
input[type="submit"].btn,
a.btn {
    padding: 8px 18px !important;
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3) !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

button.btn:hover,
input[type="submit"].btn:hover,
a.btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

.btn-submit-review,
.btn-close-review {
    border-radius: 8px !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-submit-review:hover,
.btn-close-review:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* Формы на всех страницах */
.review-form-master,
.profile-create-form,
.salon-form-container {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
}

.review-form-master .form-control,
.form-group input,
.form-group select,
.form-group textarea {
    background: #0f0f0f !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #e0e0e0 !important;
}

.review-form-master .form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    background: #111111 !important;
}

.review-form-master label,
.form-group label {
    color: #e0e0e0 !important;
}

.review-note {
    color: #999999 !important;
}

/* Стили для location.php - Премиум тёмные (перезаписывают inline стили) */
.city-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.city-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
}

.city-stats {
    display: flex;
    gap: 15px;
    color: white;
}

.city-stats span {
    background: rgba(212, 175, 55, 0.3) !important;
    padding: 8px 14px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.city-info h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.city-info p {
    color: #b8b8b8 !important;
}

.cities-stats {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
}

.cities-stats .stat-number {
    color: #d4af37 !important;
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cities-stats .stat-label {
    color: #e0e0e0 !important;
}

/* Универсальные стили для всех страниц - перезаписывают inline стили */
body {
    background: #0f0f0f !important;
}

main {
    background: #0f0f0f !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
}

p {
    color: #e0e0e0 !important;
}

/* Карточки на всех страницах */
.card,
.salon-card,
.master-card,
.city-card {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
}

.card:hover,
.salon-card:hover,
.master-card:hover,
.city-card:hover {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
}

/* Таблицы на всех страницах */
table {
    background: #1a1a1a !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

table th {
    background: rgba(212, 175, 55, 0.1) !important;
    color: #d4af37 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

table td {
    color: #e0e0e0 !important;
    border-color: rgba(212, 175, 55, 0.15) !important;
}

/* Секции на всех страницах */
section {
    background: #0f0f0f !important;
}

.section-title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Стили для contacts.php - Премиум тёмные */
.page-content {
    background: #0f0f0f;
    padding: 16px 0 28px;
}

.content-section {
    background: #1a1a1a;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 16px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
    background: #1f1f1f !important;
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-card p {
    color: #b0b0b0 !important;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-link {
    color: #d4af37 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.contact-link:hover {
    color: #c9a96e !important;
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.contact-note {
    color: #999999 !important;
    font-size: 14px;
    margin-top: 10px;
}

.contact-form-section {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.contact-form-section h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-form-section>p {
    color: #999999 !important;
    margin-bottom: 30px;
}

.contact-form-section .contact-alert,
.contact-form-section .alert-success {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(39, 174, 96, 0.15) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.35) !important;
}

.contact-form-section .alert-error {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(231, 76, 60, 0.12) !important;
    color: #ff6b6b !important;
    border: 1px solid rgba(255, 107, 107, 0.35) !important;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Универсальные стили для всех input, select, textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
select,
textarea {
    background: #0f0f0f !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    background: #111111 !important;
}

input::placeholder,
textarea::placeholder {
    color: #666666 !important;
}

/* Универсальные стили для всех label */
label {
    color: #e0e0e0 !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    display: block;
}

/* Дополнительные универсальные стили для всех страниц */
.about-section,
.info-section,
.content-block {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    margin-bottom: 30px;
    color: #e0e0e0 !important;
}

.about-section h2,
.info-section h2,
.content-block h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section h3,
.info-section h3,
.content-block h3 {
    color: #d4af37 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Ссылки на всех страницах */
a:not(.btn):not(.contact-link):not(.favorites-link) {
    color: #d4af37 !important;
    transition: all 0.3s ease;
}

a:not(.btn):not(.contact-link):not(.favorites-link):hover {
    color: #c9a96e !important;
    text-decoration: underline;
}

/* Списки на всех страницах */
ul,
ol {
    color: #e0e0e0 !important;
}

li {
    color: #e0e0e0 !important;
}

/* Блоки с информацией */
.info-box,
.notice-box,
.warning-box {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px;
    color: #e0e0e0 !important;
}

.info-box h4,
.notice-box h4,
.warning-box h4 {
    color: #d4af37 !important;
    margin-bottom: 10px;
}

/* Модальные окна */
.modal,
.modal-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
}

.modal-content {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
}

.modal-header h3,
.modal-title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.modal-body {
    color: #e0e0e0 !important;
}

.modal-close {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
}

/* Галереи изображений */
.gallery,
.image-gallery,
.photo-gallery {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 20px !important;
    padding: 20px;
}

.gallery img,
.image-gallery img,
.photo-gallery img {
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Рейтинги и звёзды */
.rating,
.stars {
    color: #d4af37 !important;
}

.rating .star,
.stars .star {
    color: #d4af37 !important;
}

/* Цены */
.price,
.price-value {
    color: #d4af37 !important;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.price-old {
    color: #b0b0b0 !important;
    text-decoration: line-through;
}

/* Теги и бейджи */
.badge,
.tag {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.badge-vip,
.tag-vip {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
}

/* Разделители */
hr {
    border-color: rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0;
}

.divider {
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0;
}

/* ============================================
   ПЕРЕЗАПИСЬ ВСЕХ INLINE СТИЛЕЙ ИЗ index.php
   ============================================ */

/* Карточки салонов на странице города */
.salon-card-horizontal {
    background: #1a1a1a !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.salon-card-horizontal:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: #1f1f1f !important;
}

.salon-card-content {
    background: transparent !important;
    padding: 14px !important;
}

.salon-name-horizontal {
    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.salon-price-horizontal,
.price-value {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.salon-address-horizontal,
.salon-phone-horizontal,
.salon-rooms-horizontal {
    color: #b8b8b8 !important;
    font-size: 14px !important;
}

.metro-station {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.salon-description-horizontal {
    display: none !important;
}

/* Карточка салона: фото −10%, телефон под названием, удобства справа, иконки мастеров выше */
.salon-card-horizontal .salon-image-horizontal {
    width: 342px !important;
    min-width: 180px !important;
    height: 428px !important;
}

.salon-header-horizontal {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
}

/* Одна кнопка «Смотреть телефон» в карточке салона — тот же стиль, что у частных */
.salon-header-horizontal .btn-show-phone-single.salon-phone-btn {
    margin-top: 6px;
    width: auto !important;
    background: #2c2c2c !important;
    border: 2px solid #d4af37 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    color: #d4af37 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.salon-header-horizontal .btn-show-phone-single.salon-phone-btn:hover {
    background: #1a1a1a !important;
    border-color: #c9a96e !important;
    color: #d4af37 !important;
}

.salon-amenities-row-right {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-top: 4px !important;
}

.salon-amenities-row-right .salon-rooms-horizontal,
.salon-amenities-row-right .salon-amenities-horizontal {
    display: inline-flex !important;
    align-items: center !important;
}

/* Значки удобств салона: 50×50, поддержка кастомных картинок (data-amenity для переопределения в CSS) */
.salon-amenities-horizontal .amenity-icon-horizontal,
.amenity-icon-horizontal {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    font-size: 28px !important;
    flex-shrink: 0 !important;
}

.salons-list-horizontal .salon-amenities-horizontal .amenity-icon-horizontal {
    margin: 2px 4px !important;
}

.salon-amenities-horizontal .amenity-icon-horizontal.amenity-icon-image,
.amenity-icon-horizontal.amenity-icon-image {
    font-size: 0 !important;
}

.salon-amenities-horizontal .amenity-icon-horizontal.amenity-icon-image img,
.amenity-icon-horizontal.amenity-icon-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.salon-masters-preview-horizontal {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    padding-top: 6px !important;
    padding-bottom: 4px !important;
}

.btn-details-horizontal {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-details-horizontal:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

.favorite-btn-horizontal {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.favorite-btn-horizontal:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

.no-image-horizontal {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
    color: #b0b0b0 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Премиум-карточка салона (референс: трёхколоночный дизайн, золото, неон удобств) */
.salon-card-premium .salon-premium-content { display: flex; gap: 0; padding: 0; min-height: 380px; max-width: 100%; }
.salon-card-premium .salon-premium-left { flex: 0 0 28%; max-width: 320px; }
.salon-card-premium .salon-premium-left .salon-image-horizontal { width: 100%; height: 100%; min-height: 380px; border-radius: 0; }
.salon-card-premium .salon-premium-center { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border-left: 1px solid rgba(212, 175, 55, 0.15); }
.salon-card-premium .salon-premium-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.salon-card-premium .salon-name-horizontal { font-size: 22px; color: #fff; margin: 0; }
.salon-card-premium .salon-premium-audience-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.salon-card-premium .salon-audience-row-premium .audience-item { color: #d4af37; }
.salon-card-premium .salon-audience-row-premium .audience-item span { color: #d4af37; }
.salon-card-premium .salon-price-premium { color: #d4af37; font-weight: 700; font-size: 15px; }
.salon-card-premium .metro-station-premium { display: inline-block; padding: 6px 14px; background: transparent; border: 1px solid #d4af37; border-radius: 8px; font-size: 13px; color: #fff; margin-right: 6px; margin-top: 4px; }
.salon-card-premium .btn-phone-premium { align-self: flex-start; padding: 10px 20px; background: #1a1a1a; border: 1px solid #d4af37; border-radius: 8px; color: #d4af37; cursor: pointer; }
.salon-card-premium .salon-premium-separator { height: 1px; background: rgba(255,255,255,0.12); margin: 10px 0; }
.salon-card-premium .salon-masters-premium .salon-master-item-horizontal img, .salon-card-premium .salon-masters-premium .no-master-photo-horizontal { width: 80px; height: 80px; border-radius: 50%; border: 2px solid #d4af37; object-fit: cover; }
.salon-card-premium .salon-masters-premium .salon-master-more-horizontal { width: 80px; height: 80px; font-size: 14px; }
.salon-card-premium .salon-desc-premium { color: #b8b8b8; font-size: 13px; line-height: 1.5; }
.salon-card-premium .btn-details-premium { align-self: flex-end; background: transparent !important; border: 1px solid #d4af37 !important; color: #fff !important; padding: 10px 22px; border-radius: 8px; }
.salon-card-premium .salon-premium-right { width: 18%; min-width: 120px; display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; border-left: 1px solid rgba(212, 175, 55, 0.15); background: rgba(0,0,0,0.2); }
.salon-card-premium .amenity-item-premium { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid rgba(0, 255, 200, 0.5); border-radius: 10px; background: rgba(0, 255, 200, 0.06); box-shadow: 0 0 12px rgba(0, 255, 200, 0.15); }
.salon-card-premium .amenity-icon-premium, .salon-card-premium .amenity-icon-premium-img { width: 32px; height: 32px; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.salon-card-premium .amenity-icon-premium-img { object-fit: contain; }
.salon-card-premium .amenity-label-premium { font-size: 11px; color: #fff; text-align: center; line-height: 1.2; }
@media (max-width: 900px) {
    .salon-card-premium .salon-premium-content { flex-wrap: wrap; }
    .salon-card-premium .salon-premium-left { flex: 0 0 100%; max-width: 100%; }
    .salon-card-premium .salon-premium-left .salon-image-horizontal { min-height: 280px; }
    .salon-card-premium .salon-premium-right { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

/* Карточки мастеров: затемнение в левом углу фото (референс) — без !important, доп. блок с !important ниже после .favorite-btn */
.master-photo-dark-gradient {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.15) 60%, transparent 75%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}
.master-card .master-card-badges { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
.master-card .card-badge-vip { background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important; color: #0f0f0f !important; border: none !important; }
.master-card .card-badge-verified { background: #a52a2a !important; color: #fff !important; border: none !important; }
.master-card .card-badge-video { background: linear-gradient(135deg, #d4af37 0%, #b8960e 100%) !important; color: #0f0f0f !important; border: none !important; }
.master-card .favorite-btn { top: 12px !important; right: 12px !important; bottom: auto !important; background: transparent !important; border: 2px solid #d4af37 !important; border-radius: 50% !important; }
.master-card .favorite-btn svg path { stroke: #d4af37 !important; fill: transparent !important; }
.master-card .master-contact-buttons .btn-show-phone { background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important; color: #0f0f0f !important; border: none !important; }
.master-card .btn-details { background: transparent !important; border: 2px solid #d4af37 !important; color: #fff !important; }
.master-card .master-price-header { color: #d4af37 !important; }
.master-card .master-name { color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important; background-clip: unset !important; }

/* Карточки мастеров на странице города */
.master-card {
    background: #1a1a1a !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.4s ease !important;
}

.master-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: #1f1f1f !important;
}

.master-card-inner {
    background: transparent !important;
}

.master-info {
    background: transparent !important;
    padding: 14px !important;
}

.master-info h3,
.master-name-horizontal {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.master-info p,
.master-description {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.master-price,
.master-price-value {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.master-location,
.master-phone {
    color: #b8b8b8 !important;
    font-size: 13px !important;
}

.master-params {
    color: #b8b8b8 !important;
    font-size: 13px !important;
}

.master-params strong {
    color: #d4af37 !important;
}

/* Секции на странице города — уплотнённые отступы */
.catalog-section {
    background: #0f0f0f !important;
    padding: 16px 0 !important;
    margin-bottom: 16px !important;
}

.section-title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.salons-list-horizontal,
.masters-grid {
    background: transparent !important;
}

.salons-list-horizontal {
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.masters-grid {
    gap: 12px !important;
    margin-bottom: 16px !important;
}

/* ============================================
   ПЕРЕЗАПИСЬ ВСЕХ INLINE СТИЛЕЙ ИЗ master.php
   ============================================ */

.master-page {
    background: #0f0f0f !important;
    padding: 40px 0 60px !important;
}

.master-page-title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.master-subtitle {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
}

.master-name-large {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
}

.master-params-list {
    background: #1a1a1a !important;
    padding: 25px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.param-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.param-row:last-child {
    border-bottom: none !important;
}

.param-label {
    color: #b8b8b8 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.param-value {
    color: #d4af37 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Телефон и сообщение на странице мастера */
.master-phone-section,
.phone-display-section {
    background: #1a1a1a !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.master-phone-section p,
.phone-display-section p {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

.master-phone-section a,
.phone-display-section a {
    color: #d4af37 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 12px 24px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.master-phone-section a:hover,
.phone-display-section a:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
    color: #c9a96e !important;
}

.phone-btn,
.show-phone-btn {
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.phone-btn:hover,
.show-phone-btn:hover {
    background: linear-gradient(135deg, #c9a96e 0%, #d4af37 100%) !important;
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6) !important;
}

/* Таблица цен на странице мастера */
.master-prices-table,
.prices-table {
    width: 100% !important;
    background: #1a1a1a !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.master-prices-table table,
.prices-table table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
}

.master-prices-table th,
.prices-table th {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 18px !important;
    text-align: left !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    font-family: 'Montserrat', sans-serif !important;
}

.master-prices-table td,
.prices-table td {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.master-prices-table tr:last-child td,
.prices-table tr:last-child td {
    border-bottom: none !important;
}

.master-prices-table tr:hover,
.prices-table tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

.master-prices-table .price-cell,
.prices-table .price-cell {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* Режим работы на странице мастера */
.work-schedule {
    background: #1a1a1a !important;
    padding: 25px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.work-schedule h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
}

.schedule-days {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
}

.schedule-day {
    padding: 10px 16px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    color: #d4af37 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.schedule-day.active {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
}

.schedule-time {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}

/* Плашки и значки на странице мастера */
.photo-badge {
    background: rgba(26, 26, 26, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
}

.photo-badge-vip {
    background: rgba(212, 175, 55, 0.9) !important;
    color: #0f0f0f !important;
    border-color: #d4af37 !important;
}

/* Метка «Проверено» — полупрозрачная печать */
.photo-badge-verified,
.photo-badge-verified.photo-badge-stamp {
    background: rgba(160, 45, 45, 0.78) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(120, 30, 30, 0.9);
    transform: rotate(-3deg);
    letter-spacing: 0.04em;
}

.photo-badge-video {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
}

.photo-badge-video svg {
    transform: rotate(90deg) !important;
}

.photo-count-overlay {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
}

.photo-zoom-overlay {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.photo-zoom-overlay:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
}

.photo-zoom-overlay svg {
    width: 18px !important;
    height: 18px !important;
}

.btn-add-favorite-photo {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.btn-add-favorite-photo:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #c9a96e !important;
}

/* Описание мастера */
.master-description-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.master-description-section h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

.master-description-section p {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Услуги мастера */
.master-services {
    background: #1a1a1a !important;
    padding: 25px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.master-services h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    margin-bottom: 15px !important;
}

.service-tag {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    color: #d4af37 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 5px !important;
}

/* Другие мастера */
.other-masters-section {
    background: #0f0f0f !important;
    padding: 40px 0 !important;
    margin-top: 50px !important;
}

.other-masters-section h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 25px !important;
}

/* Форма отзыва */
.review-form-section,
.review-form-wrapper {
    background: #1a1a1a !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.review-form-section h3,
.review-form-wrapper h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    margin-bottom: 15px !important;
}

.review-form-master {
    background: transparent !important;
    padding: 0 !important;
}

.review-form-master .form-group {
    margin-bottom: 15px !important;
}

.review-form-master .form-group label {
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.review-form-master .form-control {
    padding: 10px 14px !important;
    font-size: 14px !important;
}

.review-form-master textarea {
    min-height: 80px !important;
    resize: vertical !important;
}

.rating-input {
    display: none !important;
}

.form-buttons {
    display: flex !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.form-buttons button,
.form-buttons input[type="submit"] {
    padding: 8px 18px !important;
    font-size: 13px !important;
}

/* Кнопки звонка и мессенджеров на странице мастера */
.btn-call-large {
    display: inline-block !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    margin: 15px 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-call-large:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

.messenger-buttons-row {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin: 20px 0 !important;
}

.btn-messenger-large {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.btn-messenger-large:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transform: scale(1.02) !important;
    color: #c9a96e !important;
}

.btn-messenger-large svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

/* Блок с предзаполненным сообщением */
.pre-filled-message-box {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
}

.pre-filled-message-box p {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Секция режима работы и цен */
.master-schedule-prices-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.schedule-block,
.prices-block {
    margin-bottom: 30px !important;
}

.schedule-block:last-child,
.prices-block:last-child {
    margin-bottom: 0 !important;
}

.section-title-small {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

.working-days-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
}

.day-btn {
    padding: 6px 14px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    color: #b8b8b8 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    line-height: 1.3 !important;
    text-align: center !important;
    min-width: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.day-btn.active {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    color: #d4af37 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3) !important;
}

.working-time-text {
    color: #d4af37 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

/* Таблица цен на странице мастера */
.prices-table-modern {
    width: 100% !important;
    background: #0f0f0f !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.prices-table-modern thead {
    background: rgba(212, 175, 55, 0.15) !important;
}

.prices-table-modern th {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 18px !important;
    text-align: left !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    font-family: 'Montserrat', sans-serif !important;
}

.prices-table-modern td {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.prices-table-modern tr:last-child td {
    border-bottom: none !important;
}

.prices-table-modern tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

.prices-table-modern td:not(:first-child) {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* Локация мастера */
.master-location-compact {
    background: #1a1a1a !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.master-location-compact .location-icon {
    font-size: 20px !important;
    color: #d4af37 !important;
}

.master-location-compact .location-text {
    color: #e0e0e0 !important;
    font-size: 16px !important;
}

/* Ссылки на медиа */
.media-link {
    display: inline-block !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 10px 10px 10px 0 !important;
    transition: all 0.3s ease !important;
}

.media-link:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
    color: #c9a96e !important;
}

/* Секции фото и видео */
.master-photos-section,
.master-videos-section {
    background: #0f0f0f !important;
    padding: 40px 0 !important;
    margin: 40px 0 !important;
}

.master-photos-section h2,
.master-videos-section h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    margin-bottom: 30px !important;
}

.master-photos-grid,
.master-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 20px !important;
}

.master-photo-item,
.master-video-item {
    background: #1a1a1a !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.3s ease !important;
}

.master-photo-item:hover,
.master-video-item:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-5px) !important;
}

.master-photo-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.master-video-item video,
.master-video-item iframe {
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    display: block !important;
}

/* Секция услуг */
.master-services-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.master-services-section h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

.services-text {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

.services-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.service-item {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    color: #d4af37 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Секция "Обо мне" */
.master-about-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.master-about-section h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

.master-about-section p {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* ТОП салоны на странице мастера */
.top-salons-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 30px 0 !important;
}

.top-salons-section h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 25px !important;
}

.top-salons-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

.top-salon-card {
    background: #0f0f0f !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
}

.top-salon-card:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-5px) !important;
}

.top-salon-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 15px !important;
    text-align: center !important;
    background: #1a1a1a !important;
}

/* Другие мастера */
.other-masters-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 25px !important;
}

/* Иконки параметров мастера (Рост, Вес, Грудь, Возраст, фото) */
.master-params-icons {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin: 15px 0 !important;
}

.param-icon-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
}

.param-icon-item img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.param-icon-item span {
    color: #d4af37 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Рейтинг на карточках */
.master-rating {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.master-rating .stars {
    color: #d4af37 !important;
}

/* Все остальные элементы на странице мастера */
.master-info-right-section {
    background: transparent !important;
}

.master-info-main {
    background: transparent !important;
}

/* Иконки параметров на карточках мастеров */
.master-params-overlay {
    position: absolute !important;
    bottom: 60px !important;
    left: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 5 !important;
}

.master-param-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.master-param-item .param-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    flex-shrink: 0 !important;
}

.master-param-item .param-value {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Бейджи на карточках */
.master-card-badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 5 !important;
}

.card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 10px !important;
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    color: #d4af37 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.card-badge svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

.card-badge-vip {
    background: rgba(212, 175, 55, 0.9) !important;
    color: #0f0f0f !important;
    border-color: #d4af37 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* Метка «Проверено» — полупрозрачная печать */
.card-badge-verified,
.card-badge-verified.card-badge-stamp {
    background: rgba(160, 45, 45, 0.7) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(120, 30, 30, 0.6) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    transform: rotate(-3deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card-badge-video {
    background: rgba(15, 15, 15, 0.8) !important;
    color: #f0f0f0 !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Кнопка избранного на карточке */
.favorite-btn {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    z-index: 5 !important;
    padding: 0 !important;
}

.favorite-btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
}

.favorite-btn svg {
    width: 22px !important;
    height: 22px !important;
}

.favorite-btn svg path {
    stroke: #d4af37 !important;
    fill: rgba(212, 175, 55, 0.2) !important;
    stroke-width: 2 !important;
}

.favorite-btn:hover svg path {
    stroke: #c9a96e !important;
    fill: rgba(212, 175, 55, 0.3) !important;
}

/* Референс карточки мастера: принудительно поверх всех правил выше */
.master-card .master-photo-dark-gradient {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.15) 60%, transparent 75%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}
.master-card .master-card-badges {
    top: 10px !important;
    left: 10px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
}
.master-card .card-badge-vip {
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important;
    color: #0f0f0f !important;
    border: none !important;
}
.master-card .card-badge-verified {
    background: #a52a2a !important;
    color: #fff !important;
    border: none !important;
}
.master-card .card-badge-video {
    background: linear-gradient(135deg, #d4af37 0%, #b8960e 100%) !important;
    color: #0f0f0f !important;
    border: none !important;
}
.master-card .favorite-btn {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    background: transparent !important;
    border: 2px solid #d4af37 !important;
    border-radius: 50% !important;
    backdrop-filter: none !important;
}
.master-card .favorite-btn svg path {
    stroke: #d4af37 !important;
    fill: transparent !important;
}
.master-card .master-contact-buttons .btn-show-phone {
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important;
    color: #0f0f0f !important;
    border: none !important;
}
.master-card .btn-details {
    background: transparent !important;
    border: 2px solid #d4af37 !important;
    color: #fff !important;
}
.master-card .master-price-header {
    color: #d4af37 !important;
}
.master-card .master-name {
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Информация мастера в карточке */
.master-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 15px !important;
    gap: 15px !important;
}

.master-name {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    margin: 0 !important;
    flex: 1 !important;
}

.master-price-header {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    white-space: nowrap !important;
}

.master-location-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
    color: #b8b8b8 !important;
    font-size: 15px !important;
}

.master-location-row .location-icon {
    color: #d4af37 !important;
    font-size: 18px !important;
}

/* Адрес сразу под именем (частные массажистки) */
.master-address-line {
    color: #b8b8b8 !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.master-contact-buttons {
    margin-top: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

.btn-show-phone {
    width: 100% !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-show-phone:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

.btn-show-phone svg {
    width: 18px !important;
    height: 18px !important;
}

.btn-show-phone svg path {
    stroke: #ffffff !important;
}

/* Карточка города: кнопка «Показать телефон» — квадратная с золотой обводкой */
.master-contact-buttons .btn-show-phone.btn-show-phone-text,
.master-contact-buttons .btn-show-phone-single {
    width: auto !important;
    background: #2c2c2c !important;
    border: 1px solid #d4af37 !important;
    box-shadow: none !important;
    padding: 8px 16px !important;
    color: #d4af37 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-radius: 10px !important;
}

.master-contact-buttons .btn-show-phone.btn-show-phone-text:hover,
.master-contact-buttons .btn-show-phone-single:hover {
    background: #1a1a1a !important;
    border-color: #c9a96e !important;
    color: #d4af37 !important;
    transform: none !important;
}

.master-contact-buttons .btn-show-phone-text svg,
.master-contact-buttons .btn-show-phone.btn-show-phone-text svg,
.master-contact-buttons .btn-show-phone-single svg {
    display: none !important;
}

/* После раскрытия: номер в той же кнопке, стиль как у кнопки */
.master-contact-buttons .btn-show-phone-link {
    text-decoration: none !important;
    color: #d4af37 !important;
    cursor: pointer !important;
    background: #2c2c2c !important;
    border: 1px solid #d4af37 !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
}

.master-contact-buttons .btn-show-phone-link:hover {
    color: #d4af37 !important;
    background: #1a1a1a !important;
    border-color: #c9a96e !important;
}

.phone-btn-number {
    white-space: nowrap !important;
}

.phone-display {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    padding: 14px 24px !important;
    color: #d4af37 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-top: 10px !important;
}

.phone-display a {
    color: #d4af37 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.phone-display a:hover {
    color: #c9a96e !important;
}

/* Нет фото */
.no-image,
.no-photo-small {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
    color: #b0b0b0 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Все остальные элементы на странице города */
.city-catalog {
    background: #0f0f0f !important;
    padding: 12px 0 24px !important;
}

.city-page-header-compact {
    background: #111111 !important;
    padding: 8px 0 10px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.city-breadcrumb-line {
    color: #b0b0b0 !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.city-breadcrumb-line a {
    color: #d4af37 !important;
}

.city-breadcrumb-line span {
    color: #b0b0b0 !important;
}

/* Кнопка "Подробнее" на карточках */
.btn-details {
    display: inline-block !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-top: 15px !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-details:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

/* Кнопки мессенджеров на карточках */
.btn-messenger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50% !important;
    color: #d4af37 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.btn-messenger:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #c9a96e !important;
}

.btn-messenger svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

/* Отображение телефона на карточке */
.master-phone-display {
    margin-top: 10px !important;
    padding: 12px 20px !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    text-align: center !important;
}

.master-phone-number {
    color: #d4af37 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
}

.master-phone-number:hover {
    color: #c9a96e !important;
}

/* Описание мастера в карточке */
.master-description-preview {
    color: #e0e0e0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 15px 0 !important;
    max-height: 80px !important;
    overflow: hidden !important;
}

/* Футер секции мастеров */
.masters-footer {
    text-align: center !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.masters-footer p {
    color: #b0b0b0 !important;
    font-size: 16px !important;
}

/* Кнопка "Загрузить еще" */
.show-more-section {
    text-align: center !important;
    margin: 30px 0 !important;
}

.show-more-btn {
    display: inline-block !important;
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.show-more-btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Изображения мастеров в салонах */
.salon-master-item-horizontal img {
    border: 3px solid rgba(212, 175, 55, 0.3) !important;
}

.salon-master-item-horizontal:hover img {
    border-color: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
}

.master-name-horizontal {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.salon-master-more-horizontal {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 3px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
}

.salon-master-more-horizontal:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
    color: #c9a96e !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
}

/* Все остальные белые фоны - перезапись */
.salon-card-horizontal *,
.master-card *,
.master-layout-container * {
    background: transparent !important;
}

.salon-info-horizontal,
.master-info {
    background: transparent !important;
}

/* Улучшение читаемости всех текстов */
.salon-card-horizontal p,
.master-card p,
.master-description-preview,
.master-about-section p {
    color: #e0e0e0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Все заголовки */
.salon-card-horizontal h3,
.master-card h3,
.master-name,
.master-subtitle,
.master-page-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Перезапись всех белых фонов из inline стилей */
.salon-card-horizontal,
.master-card,
.master-card-inner,
.master-image-wrapper,
.salon-card-content,
.salon-info-horizontal,
.master-info,
.master-header,
.master-layout-container,
.master-info-right-section,
.master-info-main,
.master-schedule-prices-section,
.schedule-block,
.prices-block {
    background: transparent !important;
    background-color: transparent !important;
}

/* Исправление градиента для имени мастера */
.master-name {
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: #ffffff !important;
}

/* Иконки параметров - SVG иконки золотого цвета */
.master-param-item .param-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.master-param-item .param-icon svg {
    width: 100% !important;
    height: 100% !important;
}

.master-param-item .param-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.master-param-item .param-icon path {
    fill: #d4af37 !important;
}

.param-icon-img,
.param-row .param-label .param-icon-img {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.param-icon-img svg {
    width: 100% !important;
    height: 100% !important;
}

.param-icon-img path {
    fill: #d4af37 !important;
}

.param-icon-img img,
.param-row .param-label img.param-icon-img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

.param-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Перезапись всех inline стилей из master.php */
/* Доп. переопределение для страниц с inline-стилями — оставляем компактность */
.page-header {
    background: #111111 !important;
    padding: 10px 0 12px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.master-badge-vip {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.15) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.master-main-photo-wrapper {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.photo-count-overlay {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

.photo-count-overlay svg {
    color: #d4af37 !important;
}

.photo-zoom-overlay {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

.photo-zoom-overlay svg {
    color: #d4af37 !important;
}

.photo-zoom-overlay:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #d4af37 !important;
}

.btn-add-favorite-photo {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.btn-add-favorite-photo:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
}

/* Все остальные элементы на странице мастера */
.master-info-right-section *,
.master-schedule-prices-section *,
.master-photos-section *,
.master-videos-section *,
.master-services-section *,
.master-about-section * {
    background: transparent !important;
}

/* Улучшение читаемости всех текстов на странице мастера */
.master-info-right-section p,
.master-description-section p,
.master-about-section p,
.pre-filled-message-box p {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Все заголовки на странице мастера */
.master-info-right-section h2,
.master-info-right-section h3,
.master-photos-section h2,
.master-videos-section h2,
.master-services-section h3,
.master-about-section h3,
.section-title-small {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Все ссылки на странице мастера */
.master-info-right-section a,
.master-photos-section a,
.master-videos-section a {
    color: #d4af37 !important;
}

.master-info-right-section a:hover,
.master-photos-section a:hover,
.master-videos-section a:hover {
    color: #c9a96e !important;
}

/* Перезапись всех inline стилей из master.php - продолжение */
.master-name-large {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Плашки на фото на странице мастера - квадратные с желтой рамкой */
.photo-badge {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    color: #d4af37 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.photo-badge svg {
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
}

.photo-badge-vip {
    background: rgba(212, 175, 55, 0.9) !important;
    color: #0f0f0f !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
}

/* Метка «Проверено» — полупрозрачная печать */
.photo-badge-verified,
.photo-badge-verified.photo-badge-stamp {
    background: rgba(160, 45, 45, 0.78) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(120, 30, 30, 0.9);
    transform: rotate(-3deg);
    letter-spacing: 0.04em;
}

.photo-badge-video {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
}

.photo-badge-video svg {
    transform: rotate(90deg) !important;
}

/* Плашки на карточках мастеров - квадратные с желтой рамкой */
.card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 10px !important;
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    color: #d4af37 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.card-badge svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

.card-badge-vip {
    background: rgba(212, 175, 55, 0.9) !important;
    color: #0f0f0f !important;
    border-color: #d4af37 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* Метка «Проверено» — полупрозрачная печать (дубль для контекста) */
.card-badge-verified,
.card-badge-verified.card-badge-stamp {
    background: rgba(160, 45, 45, 0.78) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(120, 30, 30, 0.9) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    transform: rotate(-3deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card-badge-video {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #d4af37 !important;
    border-color: #d4af37 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.card-badge-video svg {
    transform: rotate(90deg) !important;
}

.master-params-list {
    background: #1a1a1a !important;
    padding: 25px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.param-row .param-label {
    color: #b8b8b8 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.param-row .param-value {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.btn-call-large {
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4) !important;
}

.btn-call-large:hover {
    background: linear-gradient(135deg, #c9a96e 0%, #d4af37 100%) !important;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6) !important;
}

.btn-messenger-large {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    border-radius: 50px !important;
}

.btn-whatsapp-large {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.btn-whatsapp-large:hover {
    background: rgba(37, 211, 102, 0.2) !important;
    border-color: #25D366 !important;
    color: #25D366 !important;
}

.btn-telegram-large {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.btn-telegram-large:hover {
    background: rgba(0, 136, 204, 0.2) !important;
    border-color: #0088cc !important;
    color: #0088cc !important;
}

.pre-filled-message-box {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 16px !important;
}

.pre-filled-message-box p {
    color: #e0e0e0 !important;
    font-size: 15px !important;
}

.schedule-block,
.prices-block {
    background: #1a1a1a !important;
    padding: 25px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.section-title-small {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
}

.working-days-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
}

.day-btn {
    padding: 6px 14px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50px !important;
    color: #b8b8b8 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    line-height: 1.3 !important;
    text-align: center !important;
    min-width: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.day-btn.active {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #d4af37 !important;
    color: #d4af37 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3) !important;
}

.working-time-text {
    color: #d4af37 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

.prices-table-modern {
    width: 100% !important;
    background: #0f0f0f !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.prices-table-modern thead {
    background: rgba(212, 175, 55, 0.15) !important;
}

.prices-table-modern th {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 18px !important;
    text-align: left !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    font-family: 'Montserrat', sans-serif !important;
}

.prices-table-modern td {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.prices-table-modern tr:last-child td {
    border-bottom: none !important;
}

.prices-table-modern tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

.prices-table-modern td:not(:first-child) {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* Все остальные элементы */
.master-location-compact {
    background: #1a1a1a !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin: 20px 0 !important;
}

.master-location-compact .location-icon {
    color: #d4af37 !important;
    font-size: 20px !important;
}

.master-location-compact .location-text {
    color: #e0e0e0 !important;
    font-size: 16px !important;
}

.master-media-section {
    margin: 30px 0 !important;
}

/* Форма отзыва */
.review-form-section {
    background: #1a1a1a !important;
    padding: 30px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.review-form-section h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

.review-form-section label {
    color: #e0e0e0 !important;
}

.review-form-section input,
.review-form-section select,
.review-form-section textarea {
    background: #0f0f0f !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #e0e0e0 !important;
}

.review-form-section input:focus,
.review-form-section select:focus,
.review-form-section textarea:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

/* Другие мастера */
.other-masters-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 25px !important;
}

.other-masters-grid .master-card {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

/* Все белые фоны - финальная перезапись */
* {
    background-color: transparent !important;
}

body,
main,
section,
div,
article,
aside {
    background: #0f0f0f !important;
    background-color: #0f0f0f !important;
}

.salon-card-horizontal,
.master-card,
.master-card-inner,
.master-image-wrapper,
.salon-card-content,
.salon-info-horizontal,
.master-info,
.master-header,
.master-layout-container,
.master-info-right-section,
.master-info-main,
.master-schedule-prices-section,
.schedule-block,
.prices-block,
.master-params-list,
.master-description-section,
.master-services-section,
.master-about-section,
.master-photos-section,
.master-videos-section,
.top-salons-section,
.other-masters-section,
.review-form-section,
.page-header,
.master-page {
    background: transparent !important;
    background-color: transparent !important;
}

/* Специальные фоны для карточек */
.salon-card-horizontal,
.master-card {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

.master-params-list,
.schedule-block,
.prices-block,
.master-description-section,
.master-services-section,
.master-about-section,
.review-form-section {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

/* Финальная перезапись всех белых фонов и тёмных текстов */
.salon-card-horizontal,
.master-card,
.master-card-inner,
.salon-card-content,
.salon-info-horizontal,
.master-info,
.master-header,
.master-layout-container,
.master-info-right-section,
.master-info-main,
.master-schedule-prices-section,
.schedule-block,
.prices-block,
.master-params-list,
.master-description-section,
.master-services-section,
.master-about-section,
.review-form-section,
.page-header,
.master-page,
.master-profile-main-wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

/* Перезапись всех цветов текста */
.salon-name-horizontal,
.master-name,
.master-name-large,
.master-subtitle,
.master-page-title,
.section-title,
.section-title-small,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
}

.city-title-compact {
    color: #d4af37 !important;
}

.salon-price-horizontal,
.master-price-header,
.master-price,
.price-value,
.master-prices-table td:not(:first-child),
.prices-table-modern td:not(:first-child) {
    color: #d4af37 !important;
    font-weight: 700 !important;
}

.salon-address-horizontal,
.salon-phone-horizontal,
.salon-rooms-horizontal,
.master-location-row,
.master-location-compact .location-text,
.param-label,
.param-row .param-label {
    color: #b8b8b8 !important;
}

.salon-description-horizontal,
.master-description-preview,
.master-description-section p,
.master-about-section p,
.pre-filled-message-box p {
    color: #e0e0e0 !important;
}

/* Все кнопки - квадратные с желтой рамкой и темным фоном 70% */
button,
input[type="submit"],
input[type="button"],
a.btn,
.btn,
.btn-primary,
.btn-secondary,
.btn-details,
.btn-details-horizontal,
.btn-show-phone,
.btn-call-large,
.btn-messenger-large,
.btn-add-favorite-photo,
.show-more-btn {
    background: rgba(15, 15, 15, 0.7) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #d4af37 !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a.btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-details:hover,
.btn-details-horizontal:hover,
.btn-show-phone:hover,
.btn-call-large:hover,
.show-more-btn:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
}

.btn-secondary:hover {
    background: rgba(15, 15, 15, 0.85) !important;
    border-color: #c9a96e !important;
    color: #c9a96e !important;
}

/* Все таблицы - финальная перезапись */
table,
.master-prices-table,
.prices-table-modern,
.prices-table {
    background: #0f0f0f !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

table th,
.master-prices-table th,
.prices-table-modern th,
.prices-table th {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
}

table td,
.master-prices-table td,
.prices-table-modern td,
.prices-table td {
    color: #e0e0e0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

table tr:hover,
.master-prices-table tr:hover,
.prices-table-modern tr:hover,
.prices-table tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

.city-stats-bar-compact {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.stat-item-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 12px !important;
    background: #1a1a1a !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.stat-item-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
    background: #1f1f1f;
}

.stat-item-link .stat-number {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Montserrat', sans-serif;
}

.stat-item-link .stat-label {
    color: #b8b8b8;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
}

/* Адаптивность фильтров */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }

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

    .filters-header {
        flex-direction: column;
        gap: 10px;
    }

    .scroll-to-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top::before {
        font-size: 20px;
    }

    .city-stats-bar-compact {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item-link {
        min-width: 0;
        padding: 5px 10px;
    }

    .stat-item-link .stat-number {
        font-size: 13px;
    }

    .stat-item-link .stat-label {
        font-size: 10px;
    }

    .city-title-compact {
        font-size: 22px;
    }

    .city-title-inline {
        font-size: 18px !important;
    }

    .city-breadcrumb-title-line {
        font-size: 13px;
    }

    .stat-pill {
        padding: 5px 12px;
        font-size: 12px;
    }

    .salon-card-horizontal .salon-image-horizontal {
        width: 100% !important;
        min-width: 0 !important;
        height: 220px !important;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Сокращение отступов между секциями на мобильных */
    .catalog-section,
    .master-photos-section,
    .master-videos-section,
    .master-description-section,
    .master-reviews-section,
    .other-masters-section,
    .salon-gallery-section,
    .salon-masters-section,
    .salon-description-section {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .section-title {
        margin-bottom: 10px !important;
        font-size: 22px !important;
    }

    /* Компактность page-header и контента на мобильных */
    .page-header {
        padding: 8px 0 10px !important;
        margin-bottom: 10px !important;
    }

    .page-header h1 {
        font-size: 20px !important;
    }

    .page-header p {
        font-size: 13px !important;
    }

    main {
        padding: 10px 0 24px !important;
    }

    .master-page-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    footer {
        padding: 20px 0 16px !important;
        margin-top: 24px !important;
    }

    .footer-content {
        gap: 16px !important;
        margin-bottom: 14px !important;
    }

    .footer-section h4 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
}

/* Иконки «Для кого» (Мужчинам, Женщинам, Парам) — inline с текстом */
.audience-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
}

.audience-item {
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
}

.audience-list-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.benefits-audience-list {
    margin: 10px 0 16px 0;
}

.checkbox-group-row .checkbox-label,
.checkbox-label {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.checkbox-label .audience-icon {
    margin-right: 6px;
}

/* Контейнер фото в карточке мастера — для позиционирования оверлея */
.master-card .master-image-wrapper {
    position: relative;
    overflow: hidden;
}

/* Оверлей на фото массажистки: рост, грудь, возраст (тёмная плашка внизу слева) */
.master-photo-overlay.overlay,
.overlay.master-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    z-index: 5;
}

.master-photo-overlay .overlay-line {
    white-space: nowrap;
    display: block;
}

.master-photo-overlay .master-params-overlay {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.salon-audience-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 6px;
}

.salon-audience-row .audience-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

/* Описание салона в карточке (до 150 символов с многоточием) */
.salon-description-snippet {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4em;
    line-height: 1.3;
    font-size: 13px;
    color: #555;
    margin-top: 6px;
}

/* ===== РЕКЛАМНЫЕ БЛОКИ ===== */
/* ═══ РЕКЛАМНЫЕ БАННЕРЫ ═══════════════════════════════════ */

/* Секции рекламы */
.ad-top-section {
    width: 100%;
    margin: 14px 0 18px;
}

.ad-footer-section {
    width: 100%;
    padding: 18px 0;
    background: #111;
    margin-top: 30px;
}

/* Обёртка вокруг баннера или слайдера */
.ad-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Один баннер */
.ad-banner {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    background: #222;
    line-height: 0;
}

.ad-banner-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.ad-banner-img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

/* Текст поверх баннера */
.ad-overlay {
    position: absolute;
    left: 0;
    right: 0;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.55);
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.ad-overlay-bottom { bottom: 0; }
.ad-overlay-top    { top: 0; }
.ad-overlay-center { top: 50%; transform: translateY(-50%); }

/* Слайдер */
.ad-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.ad-slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.ad-slide .ad-banner {
    border-radius: 0;
    box-shadow: none;
}

/* Точки навигации */
.ad-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.ad-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(150, 150, 150, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.ad-dot:hover {
    background: rgba(150, 150, 150, 0.7);
}

.ad-dot.active {
    background: #d4af37;
    transform: scale(1.25);
}

.ad-footer-section .ad-dot {
    background: rgba(255, 255, 255, 0.3);
}

.ad-footer-section .ad-dot.active {
    background: #d4af37;
}

@media (max-width: 768px) {
    .ad-banner-img { height: 110px; }
    .ad-overlay {
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .ad-banner-img { height: 90px; }
}

/* ═════════════ Рекламные баннеры ═════════════ */

.ad-wrap {
    width: 100%;
    max-width: 800px;
    margin: 5px auto;
}

.ad-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.18);
    background: #1a1a1a;
}

.ad-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.ad-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    aspect-ratio: 4 / 1;
}

.ad-slide.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.ad-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    line-height: 0;
}

.ad-img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.ad-overlay {
    position: absolute;
    left: 0;
    right: 0;
    padding: 9px 18px;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    pointer-events: none;
}

.ad-overlay-top    { top: 0; }
.ad-overlay-bottom { bottom: 0; }
.ad-overlay-center { top: 50%; transform: translateY(-50%); }

.ad-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.ad-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ad-dot.active {
    background: #d4af37;
    transform: scale(1.3);
}

.ad-dot:hover { background: rgba(255,255,255,0.75); }

.footer-ads-section {
    padding: 18px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cabinet-ads-section {
    margin: 16px 0;
}

@media (max-width: 640px) {
    .ad-wrap { max-width: 100%; }
    .ad-overlay {
        font-size: 13px;
        padding: 6px 12px;
    }
    .footer-ads-section { padding: 12px 0; }
}

/* Компактные секции страницы салона */
.salon-gallery-section,
.salon-description-section,
.salon-masters-section,
.salon-promotions-section,
.salon-programs-section,
.salon-address-section,
.salon-reviews-section {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding-top: 0 !important;
}

.salon-stats-header-new {
    padding: 12px 16px !important;
}

.section-title {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

/* Мета строка шапки салона */
.salon-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    margin: 6px 0 12px;
}
.meta-item {
    font-size: 14px;
    color: #e0e0e0;
}
.metro-item {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: #d4af37;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
}
.price-item {
    color: #d4af37;
    font-size: 15px;
}
.price-item strong {
    font-size: 18px;
}

/* Кнопка звонка */
.btn-call-salon {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #c9a96e 100%);
    color: #0f0f0f !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none !important;
    margin-bottom: 8px;
    -webkit-text-fill-color: #0f0f0f !important;
}
.btn-call-salon:hover {
    background: linear-gradient(135deg, #e0be50 0%, #d4af37 100%);
    color: #0f0f0f !important;
    -webkit-text-fill-color: #0f0f0f !important;
}

/* Подсказка под кнопкой звонка */
.salon-call-hint {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-bottom: 14px;
    padding-left: 4px;
    line-height: 1.5;
    max-width: 420px;
}

/* Кнопки мессенджеров */
.salon-messengers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.messenger-btn:hover { opacity: 0.85; }
.telegram-btn {
    background: #0088cc;
    color: #fff;
}
.max-btn {
    background: #6c47ff;
    color: #fff;
}

/* Кнопка избранного маленькая */
.btn-favorite-small-salon {
    background: transparent;
    border: 1px solid rgba(212,175,55,0.4);
    color: #d4af37;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    display: inline-block;
}
.btn-favorite-small-salon:hover {
    background: rgba(212,175,55,0.1);
    border-color: #d4af37;
}

/* Мобильные */
@media (max-width: 768px) {
    .salon-meta-row { gap: 6px 10px; }
    .btn-call-salon { width: 100%; text-align: center; box-sizing: border-box; }
    .salon-messengers { gap: 8px; }
    .messenger-btn { flex: 1; justify-content: center; min-width: 120px; }
}

/* Quick links */
.salon-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(212,175,55,0.15);
    margin-top: 14px;
}
.salon-quick-links .quick-link {
    padding: 6px 16px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    color: #d4af37;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.salon-quick-links .quick-link:hover {
    background: rgba(212,175,55,0.2);
    border-color: #d4af37;
}

/* Logo and Favorite under photo */
.salon-logo-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.btn-favorite-under-photo {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.35);
    color: #d4af37;
    padding: 5px 0;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-favorite-under-photo:hover {
    background: rgba(212,175,55,0.1);
    border-color: #d4af37;
}

/* Убрать старую большую кнопку если осталась */
.btn-favorite[style],
.salon-header-section .btn-favorite {
    display: none !important;
}

/* Параметры мастера — компактная строка */
.master-params-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.param-pill {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* Виды массажа — теги */
.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.service-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e0e0e0;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
}
.service-tag-who {
    background: rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.35);
    color: #d4af37;
}

/* Быстрые ссылки мастера */
.master-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid rgba(212,175,55,0.15);
    margin-top: 12px;
}
.master-quick-links .quick-link {
    padding: 6px 16px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    color: #d4af37;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.master-quick-links .quick-link:hover {
    background: rgba(212,175,55,0.2);
}

/* Max кнопка мастера */
.btn-max-large {
    background: #6c47ff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-max-large:hover { opacity: 0.85; }

/* Карточки других мастеров */
.other-masters-grid-improved {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.other-master-card-improved {
    display: block;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    text-decoration: none;
    transition: border-color 0.2s;
}
.other-master-card-improved:hover { border-color: rgba(212,175,55,0.4); }
.other-master-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.other-master-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.other-master-nophoto {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #d4af37;
}
.other-verified-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(212,175,55,0.9);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}
.other-master-info {
    padding: 8px 10px;
}
.other-master-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.other-master-meta {
    display: flex;
    gap: 6px;
    font-size: 12px;
    color: #888;
}
.other-master-price { color: #d4af37; }

/* Мобильная версия — только альбом для фото */
@media (max-width: 768px) {
    .master-photos-grid {
        display: none !important;
    }
    .master-photos-album-mobile {
        display: block !important;
        position: relative;
        cursor: pointer;
        border-radius: 10px;
        overflow: hidden;
    }
    .master-photos-album-mobile img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }
    .master-photos-album-mobile .album-count {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 13px;
    }
}

/* Десктоп — скрыть мобильный альбом */
@media (min-width: 769px) {
    .master-photos-album-mobile {
        display: none !important;
    }
    .master-photos-grid {
        display: grid !important;
    }
}

/* ===== КОМПАКТНЫЕ ОТСТУПЫ СТРАНИЦЫ МАСТЕРА ===== */

/* Убираем лишние отступы между основными секциями */
.master-page .master-params-block,
.master-page .master-schedule-prices-section,
.master-page .master-media-section,
.master-page .master-quick-links,
.master-page .master-photos-section,
.master-page .master-videos-section,
.master-page .master-services-section,
.master-page .master-about-section,
.master-page .master-reviews-section {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* Заголовки секций компактнее */
.master-page .section-title-small {
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    font-size: 14px !important;
}

/* Блок параметров */
.master-params-inline {
    margin: 6px 0 10px !important;
}

/* График работы */
.schedule-block {
    margin-bottom: 12px !important;
}
.working-days-buttons {
    gap: 5px !important;
    margin-bottom: 6px !important;
}

/* Цены */
.prices-block {
    margin-bottom: 12px !important;
}

/* Текст подсказки под звонком */
.pre-filled-message-box {
    margin: 6px 0 10px !important;
    padding: 8px 12px !important;
}
.pre-filled-message-box p {
    font-size: 12px !important;
    margin: 0 !important;
}

/* Мессенджеры */
.salon-messengers {
    margin-bottom: 10px !important;
}

/* Кто / виды массажа */
.services-who-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
}
.services-types-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}
.service-tag {
    padding: 4px 12px !important;
    font-size: 13px !important;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #e0e0e0;
}
.service-tag-who {
    background: rgba(212,175,55,0.1) !important;
    border-color: rgba(212,175,55,0.35) !important;
    color: #d4af37 !important;
}
.service-tag-type {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #cccccc !important;
}

/* Описание */
.master-about-section p {
    margin-top: 6px !important;
    line-height: 1.6 !important;
}

/* Фото секция */
.master-photos-section h2 {
    margin-bottom: 10px !important;
}
.master-photos-grid {
    gap: 6px !important;
}

/* Мобильные отступы */
@media (max-width: 768px) {
    .master-page .master-layout-container {
        gap: 12px !important;
    }
    .master-page .master-info-right-section {
        padding: 0 !important;
    }
    .master-page .master-schedule-prices-section {
        margin-top: 8px !important;
    }
}