/*
Theme Name: Ветклиника Мартин
Theme URI: https://example.com/
Description: Тема для ветклиники Мартин
Author: Ваше имя
Version: 1.0.0
*/


		/* Переменные темы */
:root {
    --bg-light: #faf7ff;
    --primary-light: #f3e8ff;
    --primary-soft: #d8b4fe;
    --primary-deep: #9333ea;
    --text-dark: #2d1b3c;
    --text-soft: #4a2c5e;
    --accent-orange: #f97316;
    --accent-green: #22c55e;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --border-radius-card: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, .swiper{
	cursor: URL(cat.cur), pointer;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ЗАСТАВКА --- */
.martin {
    //min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #e9d5ff 0%, #f6eeff 100%);
    margin-bottom: 40px;
    overflow: hidden;
}

.martin::after {
    content: "🐾";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 120px;
    opacity: 0.1;
    transform: rotate(15deg);
    pointer-events: none;
}

.martin-content {
    padding: 120px 0 80px;
	//padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.martin-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.martin h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #3b0764;
    text-shadow: 0 4px 8px rgba(147, 51, 234, 0.2);
    margin: 0;
}

.martin-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
	margin: 0 auto;
    height: 100%;
    max-height: 400px;
    backdrop-filter: blur(4px);
    border-radius: 30px;
    padding: 12px;
    color: var(--primary-deep);
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
}
.martin-text-block {
	flex: 1;
}

.martin-text-block p {
	margin-top: 10px; /* Прижимает текст к h1 */
	margin-bottom: 0;
}
.martin-logo-placeholder img {
    max-width: 100%;
    height: auto;
}

.martin p {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: #581c87;
    max-width: 600px;
    //margin-bottom: 32px;
}

.story_url{
    color: #fe8900;
	font-weight: bold;
	text-decoration: none;
}

.btn {
    display: inline-block;
    background: var(--primary-deep);
    color: white;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: URL(cat.cur), pointer;
	cursor: URL(cat.cur), pointer;
    font-size: 1.1rem;
    box-shadow: 0 10px 15px -3px rgb(147 51 234 / 0.3);
    border: 1px solid rgba(255,255,255,0.2);
	margin-left: 20px;
	margin-right: 20px;
}

.btn:hover {
    background: #7e22ce;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(147 51 234 / 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-deep);
    box-shadow: none;
    border: 2px solid var(--primary-deep);
    padding: 12px 30px;
    margin-left: 16px;
}
.btn-outline:hover {
    background: var(--primary-deep);
    color: white;
}

/* --- ШАПКА И ЛОГО --- */
.header {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(216, 180, 254, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.nav-menu a:hover {
    color: var(--primary-deep);
    border-bottom-color: var(--primary-deep);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(147, 51, 234, 0.1);
}


.about {
    background: var(--white);
    border-radius: 32px;
    padding: 0px 24px 24px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(216, 180, 254, 0.5);
    position: relative;
    overflow: hidden;
	margin-top: 10px;
}

#price, #price, #services, #gallery, #stories, #about, #contacts {
	padding-top: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a044e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 6px;
}

.price-list  {
	//margin-top: 20px;
}
#price-list-container{
	margin-top: 8px;
}
.price-list details {
	background: var(--white);
	margin-bottom: 16px;
	border-radius: 20px;
	padding: 6px 24px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--primary-light);
	transition: all 0.3s;
	overflow: hidden;
}

.price-list details[open] {
    background: #fdf8ff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.price-content {
	overflow: hidden;
	transition: height 0.2s cubic-bezier(0.25, 0.45, 0.46, 0.94);
	height: 0;
}

.price-content > div {
	overflow: hidden;
}

.price-list details[open] .price-content {
    height: auto;
}

@keyframes smoothOpen {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-list summary {
    padding: 20px 0;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: URL(cat.cur), pointer;
	cursor: URL(cat.cur), pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-deep);
}

.price-list summary::-webkit-details-marker {
    display: none;
}

.price-list summary::after {
    content: "▼";
    font-size: 1rem;
    color: var(--accent-orange);
    transition: transform 0.3s;
}

.price-list details[open] summary::after {
    transform: rotate(180deg);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--primary-soft);
    flex-wrap: wrap;
    gap: 15px;
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-size: 1.1rem;
}


/* 4. Стили для изображения в прайс-листе */
.price-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.price-thumb {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.price-thumb:hover {
    transform: scale(1.1);
}

.price-item.with-image .price-name {
    flex: 1;
}

/* --- СЛАЙДЕР --- */
.gallery-swiper {
    margin: 20px 0;
}

.gallery-swiper .swiper-slide {
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, #e9d5ff 0%, #f6eeff 100%);
    box-shadow: var(--shadow-md);
}

.gallery-swiper .swiper-slide img {
	width: 100%;
	height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.08);
}

/* Адаптив */
@media (max-width: 1024px) {
    .gallery-swiper .swiper-slide {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-swiper .swiper-slide {
        height: 220px;
    }
}

/* Красивые кнопки навигации для галереи */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    color: white;
    background: rgba(118, 75, 162, 0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    background: var(--primary-deep);
}

.gallery-swiper .swiper-button-prev:after,
.gallery-swiper .swiper-button-next:after {
    font-size: 18px;
}

.gallery-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-deep) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-deep) !important;
}

/* Стили для слайдера историй (карточки) */
.stories-slider-container {
    //margin-bottom: 40px;
	margin-top: 5px;
    position: relative;
}
.story-swiper .swiper-slide {
    height: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 24px;
    padding: 4px;
}
.story-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border: 1px solid var(--primary-light);
}
.story-card:hover {
    transform: scale(1.02);
}
.story-text {
    font-style: italic;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 15px;
    color: var(--text-soft);
    font-size: 1.05rem;
    flex-grow: 1;
}
.story-author {
    font-weight: 700;
    margin-left: 20px;
    color: var(--primary-deep);
}
.story-pet {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

.stories-nav .swiper-button-next,
.stories-nav .swiper-button-prev {
    color: var(--primary-deep);
    background: rgba(255,255,255,0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.stories-nav .swiper-button-next:after,
.stories-nav .swiper-button-prev:after {
    font-size: 20px;
}

/* --- О НАС --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 10px 0;
}

.map-container {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 4px solid white;
    height: 300px;
    background: #eee;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.social-links {
    margin-top: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--primary-deep);
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.social-link:hover {
    background: var(--primary-deep);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-actions {
    margin-top: 28px;
}

/* --- АКЦИИ  --- */
.promo-banner {
    background: linear-gradient(145deg, #ffffff, #f3e8ff);
    border-radius: 32px;
    padding: 32px;
    margin-top: 40px;
    //margin-bottom: 20px;
    border: 2px dashed var(--primary-soft);
    text-align: center;
	
	    /* Используем Grid для точного контроля */
    display: grid;
    grid-template-columns: auto 1fr; /* Картинка | Текст */
    gap: 30px;
    align-items: center; /* Центрируем по вертикали */
}

/* --- ФУТЕР --- */
.footer {
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid var(--primary-light);
    color: var(--text-soft);
}

/* 2. Секция SERVICES (стикеры) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 32px;
    padding: 30px 4px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(216, 180, 254, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
	padding-left: 15px;
	padding-right: 15px;
}

/*.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-soft), var(--primary-deep));
    opacity: 0;
    transition: opacity 0.3s;
}*/

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    width: 100%;
    height: 180px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 24px;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-soft);
    line-height: 1.6;
}

/* 3. Секция WORK (три колонки) */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.work-card {
    background: rgba(243, 232, 255, 0.4);
    border-radius: 40px;
    padding: 32px 28px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.work-card:hover {
    background: rgba(243, 232, 255, 0.8);
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-lg);
}

.work-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--white);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.work-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3b0764;
    margin-bottom: 15px;
    display: inline-block;
}

.work-card ul {
    list-style: none;
}

.work-card li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.work-card li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
	min-width: 24px;
    height: 24px;
    background: var(--primary-deep);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

#about p{
	font-size: 1.2rem; 
	margin-bottom: 20px; 
	margin-top: 20px; 
}


 /* Сетка врачей */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 50px 0 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(216, 180, 254, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.doctor-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-soft);
    transition: transform 0.3s;
}
.doctor-card:hover .doctor-photo {
    transform: scale(1.02);
}

.doctor-info {
    padding: 28px 24px 32px;
    flex: 1;
}

.doctor-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 8px;
    line-height: 1.2;
}

.doctor-spec {
    display: inline-block;
    background: var(--primary-light);
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    color: #6b21a5;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.doctor-detail {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-soft);
    flex-wrap: wrap;
}
.doctor-detail strong {
    color: var(--primary-deep);
    min-width: 80px;
    font-weight: 700;
}
.doctor-bio {
    margin-top: 18px;
    line-height: 1.6;
    color: #3b2a47;
    border-top: 1px dashed var(--primary-soft);
    padding-top: 18px;
    font-size: 0.9rem;
}

.martin-inner {
    background: linear-gradient(135deg, #e9d5ff 0%, #f6eeff 100%);
    margin-bottom: 60px;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.martin-inner::after {
    content: "🐾";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 100px;
    opacity: 0.1;
    pointer-events: none;
}
.martin-inner h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #3b0764;
    margin-bottom: 20px;
}
.martin-inner p {
    font-size: 1.2rem;
    color: #581c87;
    max-width: 700px;
}

.price-tabs {
    display: flex;
    gap: 12px;
    //margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.price-tab {
    padding: 10px 24px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: URL(cat.cur), pointer;
    border-radius: 40px;
    transition: all 0.2s;
}

.price-tab:hover {
    background: var(--primary-light);
    color: var(--primary-deep);
}

.price-tab.active {
    background: var(--primary-deep);
    color: white;
    box-shadow: var(--shadow-sm);
}

.price-content {
    display: none;
}

.price-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Стили для мерча в прайс-листе */
.price-thumb {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    object-fit: cover;
    cursor: URL(cat.cur), pointer;
    transition: transform 0.2s;
}

.price-thumb:hover {
    transform: scale(1.1);
}

/* Fancybox стили для увеличения фото */
.fancybox__container {
    --fancybox-bg: rgba(0,0,0,0.9);
}

/* Стили для слайдера историй */
.story-swiper .swiper-slide {
    height: auto;
}

.story-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border: 1px solid var(--primary-light);
}

.story-card:hover {
    transform: scale(1.02);
}

.story-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-soft);
    font-size: 1.05rem;
    flex-grow: 1;
}

.story-author {
    font-weight: 700;
    margin-top: auto;
    color: var(--primary-deep);
    border-top: 1px dashed var(--primary-soft);
    padding-top: 15px;
}

/* Стили для админки историй */
.acf-field .description {
    font-size: 12px;
    color: #666;
}

/* Стили для слайдера сервисов */
.services-slider-container {
    position: relative;
    padding-top: 10px;
}

.services-swiper {
    overflow: hidden;
    padding: 10px 0;
}

.services-swiper .swiper-slide {
    //height: auto;
}

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    color: var(--primary-deep);
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.services-swiper .swiper-button-prev:after,
.services-swiper .swiper-button-next:after {
    font-size: 18px;
}

.services-swiper .swiper-pagination-bullet-active {
    background: var(--primary-deep);
}

.promo{
	margin-top: 40px; 
	margin-bottom: 30px; 
	display: flex; 
	gap: 12px; 
	flex-wrap: wrap;
	margin-left: 20px;
}

.promo span{
	background: rgba(255,255,255,0.6); 
	backdrop-filter: blur(4px); 
	padding: 10px 20px; 
	border-radius: 40px; 
	font-weight: 500;
	color: #ed8d00;
    text-align: center;
}


/* ================================================================
   ПРАЙС-ЛИСТ
   ================================================================ */

/* Обертка секции */
.price-section {
    position: relative;
    padding: 20px 0 40px;
}

/* Вкладки */
.price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
	margin-top: 10px;
}

.price-tab {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary-soft);
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: URL(cat.cur), pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.price-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-orange);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 60px;
}

.price-tab:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
}

.price-tab:hover::before {
    width: 100%;
}
#price-search-list{
	margin-top: 20px;
}

.price-tab.active {
    background: var(--accent-orange);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}

/* Контейнер прайс-листа */
.price-list {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(216, 180, 254, 0.3);
}

/* Элемент прайс-листа */
.price-item {
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.03), rgba(249, 115, 22, 0.03));
    transform: translateX(8px);
}

/* Контент позиции */
.price-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 24px;
    gap: 15px;
    flex-wrap: nowrap;
}

.price-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
    position: relative;
    padding-left: 24px;
}

.price-name::before {
    content: '🐾';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Стили для позиций с изображением на десктопе */
.price-item.with-image .price-item-content {
    flex-wrap: nowrap;
}

.price-item:hover .price-name::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.price-value {
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
	color: #581c87;
}

.price-item:hover .price-value {
    background: linear-gradient(135deg, var(--primary-deep), var(--accent-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    //transform: scale(1.05);
}

/* Стили для позиций с изображением */
.price-item.with-image .price-item-content {
    padding: 16px 24px;
}

.price-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.price-image-link:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
}

.price-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.price-thumb:hover {
    transform: scale(1.05);
}

/* Сообщение о пустой категории */
.price-empty {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #faf7ff, #f3e8ff);
    color: var(--text-soft);
    font-size: 1.1rem;
    animation: fadeIn 0.4s ease;
}

.price-empty::before {
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

/* Загрузчик */
.loading {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 32px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary-deep);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Примечание о не-оферте */
.price-note {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    padding: 16px;
    background: #f9f9f9;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Задержки анимации для каждого элемента */
.price-item:nth-child(1) { animation-delay: 0.05s; }
.price-item:nth-child(2) { animation-delay: 0.1s; }
.price-item:nth-child(3) { animation-delay: 0.15s; }
.price-item:nth-child(4) { animation-delay: 0.2s; }
.price-item:nth-child(5) { animation-delay: 0.25s; }
.price-item:nth-child(6) { animation-delay: 0.3s; }
.price-item:nth-child(7) { animation-delay: 0.35s; }
.price-item:nth-child(8) { animation-delay: 0.4s; }
.price-item:nth-child(9) { animation-delay: 0.45s; }
.price-item:nth-child(10) { animation-delay: 0.5s; }

/* Адаптив */
@media (max-width: 768px) {
    .price-tabs {
        gap: 8px;
    }
    
    .price-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .price-item-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    
    .price-name {
        padding-left: 0;
    }
    
    .price-name::before {
        display: none;
    }
    
    .price-value {
        align-self: flex-start;
    }
    
    .price-item.with-image .price-item-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .price-item.with-image .price-name {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .price-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .price-item-content {
        padding: 12px 16px;
    }
}

/* ================================================================
   ПОИСК В ПРАЙС-ЛИСТЕ
   ================================================================ */

.price-search-wrapper {
    position: relative;
    margin: 20px 24px;
    background: white;
    border-radius: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-search-input {
    width: 100%;
    padding: 14px 50px 14px 24px;
    font-size: 1rem;
    border: 2px solid var(--primary-light);
    border-radius: 60px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.price-search-input:focus {
    outline: none;
    border-color: var(--primary-deep);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.price-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e0e0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
}

.price-search-clear:hover {
    background: #d0d0d0;
    transform: translateY(-50%) scale(1.05);
}

/* Анимация при поиске */
.price-item {
    transition: all 0.2s ease;
}

.price-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-soft);
    font-size: 1.1rem;
}

/* Адаптив для поиска */
@media (max-width: 768px) {
    .price-search-wrapper {
        margin: 15px;
    }
    
    .price-search-input {
        padding: 12px 45px 12px 18px;
        font-size: 0.9rem;
    }
    
    .price-search-clear {
        width: 24px;
        height: 24px;
        font-size: 12px;
        right: 10px;
    }
}

.education-list {
    margin: 8px 0 0 20px;
    padding: 0;
    list-style: none;
}

.education-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.education-list li::before {
    content: '🎓';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    opacity: 0.7;
}

.contacts-list li {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-soft);
    padding: 10px 24px 10px 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 60px;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(216, 180, 254, 0.3);
    list-style: none;
}

.contacts-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-deep), var(--accent-orange));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contacts-list li::after {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.2s ease;
    pointer-events: none;
}

.contacts-list li:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.contacts-list li:hover::after {
    transform: translateY(-50%) scale(1.1);
}

/* Мобильная нижняя панель навигации */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0;
    z-index: 1000;
    padding: 10px 20px;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-soft);
    transition: all 0.3s ease;
    padding: 8px 11px;
    border-radius: 40px;
}

.mobile-nav-item .nav-icon {
    font-size: 24px;
}

.mobile-nav-item .nav-label {
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* ---------				СТРАНИЦЫ (Политика конф.)			---------- */
/* Основной контент */
.privacy-content h1{
    color: #4a044e;
    font-weight: 700;
    font-size: 40px;
	margin-top: 0px;
    margin-bottom: 0px;
}

.privacy-content {
    padding: 20px 0 60px;
}

.privacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    padding: 48px 56px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(216, 180, 254, 0.3);
}

/* Стилизация текста */
.privacy-wrapper h2,
.privacy-wrapper h3 {
    color: #4a044e;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.privacy-wrapper h2 {
    font-size: 1.8rem;
    border-left: 4px solid #f97316;
    padding-left: 20px;
}

.privacy-wrapper h3 {
    font-size: 1.4rem;
    color: #764ba2;
}

.privacy-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2d1b3c;
    margin-bottom: 1.2em;
}

.privacy-wrapper strong {
    color: #9333ea;
    font-weight: 600;
}

/* Списки */
.privacy-wrapper ul,
.privacy-wrapper ol {
    margin: 1em 0 1.5em 0.1em;
    padding: 0;
}

.privacy-wrapper li {
    margin-bottom: 0.5em;
    line-height: 1.6;
    color: #2d1b3c;
}

.privacy-wrapper ul li {
    list-style-type: none;
    position: relative;
    padding-left: 24px;
}

.privacy-wrapper ul li::before {
    content: "•";
    color: #f97316;
    font-size: 1.2rem;
    position: absolute;
    left: 6px;
    top: -2px;
}

.privacy-wrapper ol {
    padding-left: 20px;
}

.privacy-wrapper ol li {
    list-style-type: decimal;
}

/* Ссылки */
.privacy-wrapper a {
    color: #9333ea;
    text-decoration: none;
    border-bottom: 1px solid #d8b4fe;
    transition: all 0.2s;
}

.privacy-wrapper a:hover {
    color: #f97316;
    border-bottom-color: #f97316;
}

/* Таблицы (если есть) */
.privacy-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: #faf7ff;
    border-radius: 16px;
    overflow: hidden;
}

.privacy-wrapper th,
.privacy-wrapper td {
    padding: 12px 16px;
    border: 1px solid #e9d5ff;
    text-align: left;
}

.privacy-wrapper th {
    background: #f3e8ff;
    color: #4a044e;
    font-weight: 600;
}

/* Цитаты */
.privacy-wrapper blockquote {
    margin: 1.5em 0;
    padding: 16px 24px;
    background: #faf7ff;
    border-left: 4px solid #9333ea;
    border-radius: 16px;
    font-style: italic;
    color: #4a2c5e;
}

/* Открытие окна Pop-up */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, z-index 0.6s ease-in-out;
    z-index: -1;
    backdrop-filter: blur(3px);     /* вот оно — размытие! */
    -webkit-backdrop-filter: blur(3px); /* для Safari */
}
.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1000;
}
.popup-window {
    background: white;
    padding: 2em;
    margin: 0 10px;
    max-width: 500px;
    border-radius: 1em;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.popup-window .popup-close-btn{
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: #000000;
    color: rgb(255 255 255);
    user-select: none;
    padding: 1px 7px;
    border-radius: 195px;
}
.popup-overlay.active .popup-window {
    transform: scale(1);
}
.pop-upNoscroll{
    overflow: hidden;
    height: 100vh;
}
#UpForm .content p, #UpForm .content span{
	color: #949ba3;
}
#UpForm .content .line{
	display: flex;
  	justify-content: center;
	position: relative;
}
#UpForm .content .line:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #e7e7e7;
	top: 50%;
	z-index: -1;
	transform: translateY(-50%);
}
#UpForm .content span{
	width: fit-content;
	background: #fff;
}
#UpForm .content .num{
	border-radius: .2rem;
	display: block;
	width: fit-content;
	color: #9333ea;
	text-decoration: none;
	font-size: 2.4rem;
	font-weight: 900;
	-webkit-text-stroke: 2.1px #9333ea;
}
#UpForm .content .contented, #UpForm .content{
	display: flex;
	flex-direction: column;
	gap: .4rem;
}
#UpForm .content .input-form p{
	display: flex;
	flex-direction: column;
	gap: .4rem;
}
#UpForm .content .input-form p br{
	display: none;
}
#UpForm .content .input-form input, #UpForm .content .input-form textarea{
	background: #f9fafc;
	border: 1px solid #e4e5e7;
	padding: 1rem;
	width: 100%;
	border-radius: .4rem;
	color: #000;
	font-weight: 700;
	font-size: 1rem;
	transition: .3s ease-in-out;
}
#UpForm .content .input-form input:focus, #UpForm .content .input-form textarea:focus{
	border: 1px solid #716ea3;
}
#UpForm .content .input-form input.send-form{
	background: #9333ea;
	color: #fff; 
	cursor: pointer;
}
#UpForm .content .input-form input.send-form:hover{
	transform: translatey(-5px);
}
#UpForm .content .input-form input.send-form:disabled{
	opacity: .8;
	user-select: none;
	pointer-events: none;
}
#UpForm .content .input-form span{
	width: 100%;
}
#UpForm .content .input-form .wpcf7-acceptance .wpcf7-list-item{
	margin: 0;
}
#UpForm .content .input-form .wpcf7-acceptance label{
	display: flex;
	flex-direction: row;
	gap: .2rem;
  	align-items: start;
}
#UpForm .content .input-form .wpcf7-acceptance label input{
	width: 1.1rem;
	height: 1.1rem;
	aspect-ratio: 1;
	margin-top: 3px;
}


/* Адаптив */
@media (max-width: 768px) {
    .privacy-wrapper {
        padding: 28px 20px;
    }
    
    .privacy-wrapper h1 {
        font-size: 24px;
    }
    .privacy-wrapper h2 {
        font-size: 1.5rem;
        padding-left: 16px;
    }
    
    .privacy-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .privacy-wrapper p,
    .privacy-wrapper li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .privacy-wrapper {
        padding: 20px 16px;
    }
    
    .privacy-hero {
        padding: 40px 0 30px;
    }
}
/* ---------				конец 			---------- */

/* ---------				МОБИЛЬНАЯ АДАПТАЦИЯ 			---------- */
@media (max-width: 1024px) {
    .services-grid, .work-grid {
        gap: 20px;
    }
	.doctors-grid {
        gap: 30px;
    }
    .doctor-photo {
        height: 280px;
    }
	.promo{
		margin-left: 0px;
	}
	.martin-title-wrapper {
		flex-direction: column;
		text-align: center;
		margin-top: 20px;
	}
	
	.martin h1 {
		text-align: center;
	}
	
	.martin p {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	
	.martin .btn {
		display: block;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	}
	
	.martin > div > div:last-child {
		justify-content: center;
	}
}

@media (min-width: 1025px) {
	.martin-title-wrapper {
		flex-direction: row;
		justify-content: space-between;
		margin-left: 20px;
		margin-right: 20px;
	}
	
	.martin-logo-placeholder {
		margin-left: auto;
		margin-right: 0;
	}
}

@media (max-width: 768px) {
	
	.service-card {
		padding: 30px 40px;
	}
	.martin::after {
		font-size: 80px;
	}
	#price, #price, #services, #gallery, #stories, #about {
		padding-top: 50px;
	}

    .martin-title-wrapper {
        flex-direction: column;
    }
	.martin-logo-placeholder {
		order: 2;
		//margin-top: 20px;
	}
    
    .container {
        padding: 0 20px;
    }
    
    .header {
        display: none;
    }
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-menu {
        justify-content: center;
        gap: 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .martin {
        min-height: 70vh;
    }
    .martin h1 {
        font-size: 2.8rem;
		order: 1;
    }

    .price-list summary {
        font-size: 1.2rem;
    }
    .swiper-slide {
        height: 280px;
    }
    .martin-title-wrapper {
        justify-content: center;
        text-align: center;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .services-grid, .work-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-item-content {
        flex-wrap: wrap;
        padding: 16px 20px;
        gap: 12px;
    }
    
    /* Первая строка: название и цена */
    .price-item-content {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    
    .price-name {
        font-size: 1rem;
        padding-left: 0;
        grid-column: 1;
        grid-row: 1;
    }
    
    .price-value {
        font-size: 1.1rem;
        grid-column: 2;
        grid-row: 1;
        white-space: nowrap;
    }
    
    /* Если есть фото - оно занимает отдельную строку */
    .price-item.with-image .price-item-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        align-items: center;
    }
    
    .price-item.with-image .price-image-link {
        grid-column: 1;
        grid-row: 1;
        width: 50px;
        height: 50px;
    }
    
    .price-item.with-image .price-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.95rem;
    }
    
    .price-item.with-image .price-value {
        grid-column: 3;
        grid-row: 1;
        font-size: 19px;
        white-space: nowrap;
    }
	
	.doctors-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
	
	
}
@media (max-width: 568px){
	#UpForm .content .num{
		font-size: 1.8rem;
	}
	#UpForm .content .input-form .wpcf7-acceptance span, #UpForm .content .input-form .wpcf7-acceptance span a{
		font-size: .8rem;
	}
	#UpForm .content .input-form .wpcf7-acceptance label input{
		width: .7rem;
		height: .7rem;
		transform: scale(.6);
	}
	#UpForm .content .num{
		-webkit-text-stroke: .1px #9333ea;
	}
}
@media (max-width: 480px) {
    .martin h1 {
        font-size: 2.2rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
	.doctor-photo {
        height: 260px;
    }
    .doctor-info {
        padding: 20px;
    }
	    .price-item-content {
        padding: 12px 16px;
        gap: 10px;
    }
    
    .price-name {
        font-size: 0.9rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
    
    /* Для позиций с фото на очень маленьких экранах */
    .price-item.with-image .price-item-content {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
    }
    
    .price-item.with-image .price-image-link {
        width: 45px;
        height: 45px;
    }
    
    .price-item.with-image .price-name {
        font-size: 0.85rem;
    }
    
    .price-item.with-image .price-value {
        font-size: 0.9rem;
    }
}
@media (max-width: 380px) {
    .price-value {
        font-size: 0.85rem;
    }
    
    .price-item.with-image .price-value {
        font-size: 0.8rem;
    }
    
    .price-name {
        font-size: 0.8rem;
    }
}

/* кот для акций*/
.promo_cat {
    width: 120px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

/* ===== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .promo-banner {
        grid-template-columns: 1fr; /* Одна колонка */
        justify-items: center; /* Центрируем всё по горизонтали */
        text-align: center;
        gap: 20px;
    }
    
    .promo_cat {
        width: 100px; /* Можно чуть уменьшить на мобильных */
        order: -1; /* Картинка будет первой */
    }
    
    .promo-content {
        text-align: center;
    }
}