* {
	padding: 0px;
	margin: 0px;
	border: 0px;
}

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

:focus,
:active {
	outline: none;
}

a:focus,
a:active {
	outline: none;
}

aside,
nav,
footer,
header,
section {
	display: block;
}

html,
body {
	height: 100%;
}

body {
	line-height: 1;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

input::-ms-clear {
	display: none;
}

button {
	cursor: pointer;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

a,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}

/* end null */

/* all */
@font-face {
	font-family: 'Enthalpy';
	src: url('../fonts/Enthalpy298Regular.woff2') format('woff2'),
		url('../fonts/Enthalpy298Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--beige: #FFFBF8;
	--blue: #597697;
	--purple: #8C5ABD;
	--black: #605954;
	--brown: #C3A790;
	--lightbrown: #E5DED7;
	--lightbrown2: #F5F1ED;
	--gradient: #f9d176;
	--fontfamily: 'Montserrat', sans-serif;
	--fontfamily2: 'Enthalpy', sans-serif;
	scrollbar-gutter: stable;
}

body {
	color: var(--black);
	font-size: 16px;
	font-weight: 500;
	line-height: calc(23 / 16);
	font-family: var(--fontfamily);
	background-color: var(--beige);
}

a {
	transition: all 0.3s;
}

p {
	padding-bottom: 35px;
}

p:last-child {
	padding-bottom: 0;
}

.fr-name {display: none}

.text ul {
	padding-bottom: 70px;
}

.text ul li {
	margin-bottom: 7px;
	list-style: disc;
	margin-left: 20px;
}

.text ul li::marker {
	color: var(--brown);
	font-size: 20px;
}

.text li:last-child {
	margin-bottom: 0;
}

table {
	width: 100% !important;
}

.text th:first-child {
	text-align: left;
}

col {
	width: 100% !important;
}

.text th {
	font-size: 18px;
}

.text tr {
	border-radius: 10px;
	background: #F5F1ED;
	padding: 25px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 22px;
}

.text td, 
.text th
{
	min-width: 95px;
	/* text-align: left; */
}

.text td:last-child {
	font-weight: 700;
}

.text tr:nth-child(even) {
	background-color: var(--beige);
}

a:hover {
	color: var(--purple);
}

.btn {
	font-size: 25px;
	font-family: var(--fontfamily2);
	letter-spacing: 1.25px;
	color: var(--black);
	background: var(--gradient);
	padding: 10px 20px;
	border-radius: 7px;
	transition: all 0.3s;
	cursor: pointer;
}

.btn:hover {
	color: var(--gradient);
	background-color: var(--purple);

}

.header .btn:hover {
	color: var(--gradient);
	background-color: var(--purple);

}

.wrap {
	display: flex;
    flex-direction: column;
    min-height: calc(100% - 105px);
    width: 100%;
}
.content__wrapper {
    flex: 1 0 auto;
}
.base__template .wrap {
    position: relative;
    top: 105px;
}
.container {
	max-width: 1230px;
	margin: 0 auto;
	width: 100%;
	padding: 0px 15px;
}

.divider {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	color: var(--lightbrown);
	padding: 25px;
	position: relative;
	font-size: 25px;
}

/* head */
body.show {
	overflow: hidden;
}

.header {
	top: 0;
	left: 0;
	z-index: 10;
	position: fixed;
	width: 100%;
	transition: all 0.3s;
}

.header.fixed {
	background: var(--beige);
	box-shadow: 7px -1px 15px rgba(0, 0, 0, 0.12);
}

.top-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0px;
	gap: 20px;
	transition: all 0.3s;
}

.fixed .top-menu {
	padding: 5px 0px;
}

.fixed a {
	color: var(--black);
}

.fixed a:hover {
	color: var(--purple);
}


.top-menu__logo img {
	max-width: 277px;
	position: relative;
	transition: all 0.3s;
}

.fixed .top-menu__logo img {
	max-width: 200px;
	top: 0;
}
.base__template .white,
.color {
	display: none;
}
.base__template .color {
	display: block;
}
.fixed .color {
	display: block;
}

.fixed .white {
	display: none;
}

.top-menu__menu {
	display: flex;
	gap: 10px;
	justify-content: space-evenly;
	flex-grow: 1;
}

.top-menu__item {
	color: #fff;
	font-size: 16px;
}
.base__template .top-menu__item,
.base__template .top-menu__tel {
    color: #605954;
}
.header.fixed .top-menu__item.active,
.base__template .top-menu__item.active,
.top-menu__item:hover,
.top-menu__tel:hover {
    color: #8C5ABD;
}

.top-menu__contact {
	display: flex;
	gap: 33px;
	align-items: center;
}

.fixed .top-menu__btn {
	padding: 7px 20px;
	font-size: 20px;
}

.top-menu__tel {
	font-size: 17px;
	color: #fff;
}

.burger {
	width: 60px;
	height: 60px;
	display: none;
}

.ham1 {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 400ms;
	user-select: none;
}

.ham1 path {
	fill: none;
	transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
	stroke: var(--gradient);
	stroke-width: 5.5;
	stroke-linecap: round;
}

.ham1.active {
	transform: rotate(45deg);
}

.ham1 .top {
	stroke-dasharray: 40 139;
}

.ham1 .bottom {
	stroke-dasharray: 40 180;
}

.ham1.active .top {
	stroke-dashoffset: -98px;
}

.ham1.active .bottom {
	stroke-dashoffset: -138px;
}

.fixed .ham1 path {
	stroke: var(--purple);
}

.fixed .top-menu__tel:after {
	color: var(--purple);
}

@media (max-width:810px) {
	.burger {
		display: flex;
	}
}
ol.breadcrumb {
    list-style: none;
    margin-top: 15px;
    margin-bottom: 40px;
}
li.breadcrumb-item {
    display: inline-block;
    color: #C3A790;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
li.breadcrumb-item a {
    position: relative;
    padding-right: 20px;
    display: inline-block;
    color: #C3A790;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: underline;
}
li.breadcrumb-item a:after {
    content: ">";
    position: absolute;
    top: 0;
    right: 5px;
    color: #8C5ABD;
}
/* ofer */
.ofer-body {
	margin-bottom: 80px;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ofer {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	animation-name: zoom-in;
	animation-duration: 30s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-fill-mode: forwards;
}

@keyframes zoom-in {
	0% {
		background-position: left;
		transform: scale(1);
	}

	50% {
		background-position: center;
		transform: scale(1.2);
	}

	100% {
		background-position: right;
		transform: scale(1);
	}
}

.ofer::after {
	content: '';
	width: 100%;
	height: 100%;
	background-color: #00000086;
	position: absolute;
	top: 0;
	left: 0;
}

.ofer__info {
	color: #ffffffba;
	text-align: center;
	font-family: Enthalpy;
	font-size: 75px;
	line-height: 106%;
	max-width: 727px;
	z-index: 1;
	padding: 0px 15px;
	position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-wrap: balance;
}
.ofer__subinfo {
    font-size: 23px;
    font-family: var(--fontfamily);
    line-height: 1.4;
    text-wrap: balance;
}
.ofer__btn {
    line-height: 1;
}
#questions {
	padding-top: 75px;
	margin-top: -75px;
	-webkit-background-clip: content-box;
	background-clip: content-box;
}

@media (max-width:1075px) {
	.top-menu__tel {
		position: relative;
		font-size: 0;

	}

	.ofer__info {
		font-size: 35px;
	}

	.top-menu__tel:after {
		width: 40px;
		height: 40px;
		content: '✆';
		font-size: 40px;
		position: absolute;
		top: 0;
		left: 0;
		transform: translateY(-50%) rotate(233deg) scale(1, -1);
		display: flex;
		justify-content: center;
		align-items: center;
		color: var(--gradient);
	}

	.top-menu__contact {
		display: flex;
		flex-direction: row-reverse;
		gap: 48px;


	}

	.top-menu__logo img,
	.fixed .top-menu__logo img {
		max-width: 177px;
	}

	.top-menu__contact .btn {
		font-size: 16px;
		padding: 10px;
	}
}

@media (max-width:810px) {
	.top-menu {
		padding: 5px 0px;
	}

	.top-menu__menu {
		display: flex;
		flex-grow: 1;
		background: var(--lightbrown);
		position: absolute;
		width: 100%;
		height: calc(100vh - 70px);
		top: 70px;
		left: -100%;
		align-items: center;
		flex-direction: column;
		z-index: -1;
		transition: all 0.3s;
	}

	.top-menu__menu.show {
		left: 0;
	}

	.top-menu__item {
		font-size: 20px;
		color: var(--black);
	}

	.top-menu__btn {
		
	}

	.text tr {
		/* padding: 25px 5px; - предыдущий вариент */
		padding: 15px 5px;
	}

}
@media (max-width:450px) {
    .top-menu__logo {
        overflow: hidden;
        width: 48px;
        min-width: 48px;
    }
    .modal {
        padding: 30px 14px 30px 14px !important;
    }
}

/* about */

.about {
	padding: 82px 0px 180px 0;
}

.about__wrap {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 22px;
}

.about__info {}

.about__title {
	padding-bottom: 75px;

}

.title {
	color: var(--brown);
	font-family: var(--fontfamily2);
	font-size: 65px;
	font-weight: 400;
	line-height: 60px;
}
.title_extra {
	color: var(--brown);
	font-family: var(--fontfamily2);
	font-size: 35px;
	font-weight: 400;
	line-height: 60px;
}

.about__text {}

.about__images {
	display: grid;
	grid-template-columns: 3fr 4fr;
	align-items: end;
	gap: 22px;
}

.about__images img {
	width: 100%;
	object-fit: cover;
}

.about__images img:nth-child(1) {
	aspect-ratio: 1;
	border-radius: 100px 20px 20px 20px;
}

.about__images img:nth-child(2) {
	aspect-ratio: 386/421;
	border-radius: 30px;
}

.about__images img:nth-child(3) {
	grid-column: 1/3;
	aspect-ratio: 692/245;
	border-radius: 20px 20px 20px 100px;
	align-self: self-start;
}

@media (max-width:768px) {
	.breadcrumbs-wrapper {
		display: none;
	}
	.about__wrap {
		grid-template-columns: 1fr;
		gap: 62px;
	}

	.title {
		font-size: 45px;
		line-height: 50px;
	}
	.title_extra {
		font-size: 25px;
		line-height: 50px;
	}

	.about {
		padding: 21px 0px 140px 0;
	}

	.about__title {
		padding-bottom: 35px;
	}

	ul {
		padding-bottom: 25px;
	}

	p {
		padding-bottom: 25px;
	}

/* Отключаем hover-эффекты для мобильных устройств */
	.top-menu__menu .menu-item-has-children:hover > .dropdown-wrapper {
        display: none !important;
    }

    /* Если у вас есть вложенные списки без dropdown-wrapper */
    .top-menu__menu .menu-item-has-children:hover > .dropdown-menu {
        display: none !important;
    }
}

/* sevices */
.services, 
.services_special {
	padding-bottom: 200px;
}


.services__title, 
.services_special__title {
	padding-bottom: 90px;
}

.services__list {}

.list-servive {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 35px;
	row-gap: 66px;
	grid-auto-flow: dense;
	counter-reset: count;
}
.services__dogs,
.services__cats
{
	grid-template-columns: 1fr 1fr;
}
.services__header .services__dogs > .list-servive__item:last-child:last-child,
.services__header .services__cats > .list-servive__item:last-child:last-child,
.services__dogs > .list-servive__item:nth-last-child(2),
.services__cats > .list-servive__item:nth-last-child(2)
{
	grid-column:unset !important;
}
.services__header .list-servive__item:last-of-type::before,
.services_special__header .list-servive__item:last-of-type::before,
.services__list .list-servive__item:last-of-type::before,
.services_special__list .list-servive__item:last-of-type::before,
.list-servive__item:before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	position: absolute;
	right: 0;
	top: auto;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 35px;
	font-weight: 400;
}

.list-servive__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	gap: 60px 35px;
	position: relative;
}

/*новый код*/
/* sevices_header */
.services__header, 
.services_special__header {
	/*padding-bottom: 200px;*/
}

.services__wrap, 
.services_special__wrap {
	display: grid;
	grid-template-columns: repeat(4, 2fr);
	gap: 60px 35px;
	counter-reset: count;
}
.grooming__wrap {
	display: grid;
	grid-template-columns: repeat(3, 2fr);
	gap: 60px 35px;
	counter-reset: count;
}
.services_special__wrap.services__dogs,
.services_special__wrap.services__cats
{
	display: block;
	/* grid-template-columns: 1fr;
	gap: 60px 100px; */
	counter-reset: count;
}
/* Для element — обычные отступы снизу */
.services_special__wrap.services__dogs .list-servive__item,
.services_special__wrap.services__cats .list-servive__item
{
    margin-bottom: 60px; /* или ваш gap */
}
/* У последнего — margin 0 */
.services_special__wrap.services__dogs .list-servive__item:last-child,
.services_special__wrap.services__cats .list-servive__item:last-child
{
    margin-bottom: 0;
}

.services__item, 
.services_special__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.services__item::before, 
.services_special__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.services__name, 
.services_special__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}


.services__title_2 {
	color: var(--brown);
    font-family: var(--fontfamily2);
    font-size: 45px;
    line-height: 1;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.dogs-title,
.cats-title {
	/* margin-top: 90px; */
}

/*новый код - конец*/


/*faq */
.faq {
	padding-bottom: 200px;
}

.faq__title {
	padding-bottom: 70px;
}

.faq__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	counter-reset: count;
}

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

.faq__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.faq__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}
/*faq*/

/*our-works */
.our-works {
	padding-bottom: 200px;
}

.our-works__title {
	padding-bottom: 70px;
}

.our-works__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	counter-reset: count;
}

.our-works__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.our-works__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.our-works__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}
/*our-works*/


/*seo block */
.seo {
	padding-bottom: 200px;
}

.seo__title {
	padding-bottom: 70px;
}

.seo__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	counter-reset: count;
}

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

.seo__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.seo__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}
/*seo*/


/*price block */
.price {
	padding-bottom: 200px;
}

.price__title,
.grooming__title 
{
	padding-bottom: 70px;
}

.price__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	counter-reset: count;
}

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

.price__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.price__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}

.price .title__table {
	color: var(--purple);
    font-family: var(--fontfamily2);
    font-size: 35px;
    line-height: 1;
    margin-bottom: 5px;
    transition: color 0.3s;
}

/* Прайс таблица */
.price-table {
    width: 70.55%;
    border-collapse: collapse;
}

.price-table__row {
    border-bottom: 1px solid #eee;
}

.price-table__service,
.price-table__price {
    padding: 8px 4px;
    vertical-align: middle;
}
.price-table__additional .price-table__row:first-child > .price-table__price::before,
.price-table__spa_comb .price-table__row:first-child > .price-table__price::before
{
    content: "от ";
}

.price-table__service {
    width: 80%;
}

.price-table__price {
    width: 20%;
    text-align: right;
    white-space: nowrap;
}
/*price*/


.list-servive__item:hover .list-servive__title {
	color: var(--gradient);
}


.services__header .list-servive__item:nth-child(even),
.services_special__header .list-servive__item:nth-child(even) {
	flex-direction: column;
}
.list-servive__item:nth-child(even) {
	flex-direction: column-reverse;
}


.services__header .list-servive__item:last-child {
	grid-column: span 2;
	align-self: center;
	margin-top: 0;
	justify-self: stretch;
}
.grooming__wrap .list-servive__item:last-child {
	grid-column: unset;
}
.list-servive__item:last-child {
	grid-column: span 2;
	align-self: center;
	/* margin-top: 70px; */
	justify-self: end;
}

.services__dogs > .list-servive__item:last-child {
	grid-column: unset;
}
.services__cats > .list-servive__item:last-child {
	grid-column: unset;
	align-self: unset;
	margin-top: 0;
}

.list-servive__item:last-child::before {
	content: none;
}

.list-servive__item:last-child p {
	max-width: 386px;
}

.list-servive__item:nth-last-child(2) {
	grid-column: 1/3;
}
.grooming__wrap .list-servive__item:nth-last-child(2) {
	grid-column: unset;
}
.services__header .list-servive__item img,
.services_special__header .list-servive__item img
{
	width: 100%;
	aspect-ratio: 284/421;
	object-fit: cover;
	border-radius: 20px 150px 20px 20px;
	transition: border-radius 0.3s;
}

.list-servive__item img {
	max-width: 100%;
	aspect-ratio: 284/421;
	object-fit: cover;
	border-radius: 20px;
	transition: border-radius 0.3s;
}


.list-servive__item:nth-child(4n+1) img {
	border-radius: 20px 20px 20px 150px;
}

.list-servive__item:nth-child(4n+3) img {
	border-radius: 20px 150px 20px 20px;
}

/*старый код*/
/*.list-servive__item:nth-last-child(2) img {*/
/*	aspect-ratio: 590/193;*/
/*	border-radius: 20px;*/
/*}*/
/*новый код*/
.services__header .list-servive__item:nth-last-child(2) img,
.services_special__header .list-servive__item:nth-last-child(2) img
{
	aspect-ratio: 284/421;
	border-radius: 20px 20px 20px 150px;
	width: 100%;          /* или фиксированная ширина */
	height: auto;       
	object-fit: cover;    /* заполняет контейнер, обрезая лишнее */
	object-position: 50% 30%; /* сдвиг: по горизонтали 50%, по вертикали 30% (от верхнего края) */
}

.list-servive__item:nth-last-child(2) img {
	aspect-ratio: 590/193;
	border-radius: 20px;
	width: 100%;          /* или фиксированная ширина */
	height: 200px;        /* задайте высоту контейнера */
	object-fit: cover;    /* заполняет контейнер, обрезая лишнее */
}
.services__list.services-dogs > .list-servive__item:nth-last-child(2) img {
	object-position: 50% 30% !important;
}
.services__list.services__cats > .list-servive__item:nth-last-child(2) img {
	object-position: 50% 50% !important;
}

.services__cats > .list-servive__item:first-child img {
	object-position: 30% 30%;
}

.services__cats > .list-servive__item:nth-last-child(2) img {
	object-position: 50% 45%;
}

.list-servive__info {}

.list-servive__title
{
	color: var(--purple);
	font-family: var(--fontfamily2);
	font-size: 35px;
	line-height: 1;
	margin-bottom: 5px;
	transition: color 0.3s;
}

@media (max-width:950px) {
	.list-servive,
	.services__wrap, 
	.services_special__wrap 
	{
		grid-template-columns: repeat(2, 1fr);
	}
	.grooming__wrap {
		grid-template-columns: repeat(2, 2fr);
	}
	.services__dogs,
	.services__cats
	{
		grid-template-columns: 1fr;
	}
	.services__dogs > .list-servive__item:nth-last-child(2),
	.services__cats > .list-servive__item:nth-last-child(2)
	{
		grid-column:unset !important;
	}

}

/* От 480px до 950px — grid с 2 колонками */
@media (min-width: 768px) and (max-width: 950px) {
    .services_special__wrap.services__dogs,
	.services_special__wrap.services__cats
	{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 35px;
    }
    /* убираем margin у элементов */
    .services_special__wrap.services__dogs .list-servive__item,
	.services_special__wrap.services__cats .list-servive__item,
	 {
        margin-bottom: 0;
    }
}

/* От 950px и выше — grid с 3 колонками */
@media (min-width: 950px) {
    .services_special__wrap.services__dogs,
	.services_special__wrap.services__cats
	{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 35px;
    }
    .services_special__wrap.services__dogs .list-servive__item,
	.services_special__wrap.services__cats .list-servive__item 
	{
        margin-bottom: 0;
    }
}



@media (max-width:480px) {
	.list-servive {
		display: flex;
		flex-direction: column;
	}

	.list-servive__item:nth-child(even) {
		flex-direction: column;
	}

	.list-servive__item img {
		aspect-ratio: 1 !important;
		border-radius: 20px !important;
	}

	.list-servive__item {
		margin-top: 0 !important;
	}

	.services__title, 
	.services_special__title {
		padding-bottom: 35px;
	}
}

/* hero */
.hero {
	padding-bottom: 200px;
}

/* aboutus */
.aboutus {
	padding-bottom: 200px;
}

.aboutus__wrap {
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: 80px;
}

.aboutus__title {}

.title {}

.aboutus__info {
	padding-top: 67px;
}

.aboutus__more {}

.more {
	color: var(--brown);
	font-family: Enthalpy;
	font-size: 30px;
	line-height: 60px;
	position: relative;
	padding-left: 60px;
	display: inline-block;
}

.more::before {
	content: '↗';
	position: absolute;
	left: 0;
	top: auto;
	transform: rotate(45deg);
}

.aboutus__images {
	display: grid;
	grid-template-columns: 2fr 4fr;
	align-items: end;
	gap: 22px;
}

.aboutus__images img {
	width: 100%;
}

.aboutus__images img:nth-child(1) {
	border-radius: 100px 20px 20px 20px;
	aspect-ratio: 193 / 203;
	object-fit: cover;
}

.aboutus__images img:nth-child(2) {
	border-radius: 30px;
	margin-bottom: 60px;
	aspect-ratio: 386 / 421;
	object-fit: cover;
}

@media (max-width:950px) {
	.aboutus__wrap {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.aboutus__images {
		display: grid;
		grid-template-columns: 1fr;
		align-items: end;
		gap: 22px;
	}

	.aboutus__images img:nth-child(1) {
		display: none;
	}

	.more {
		font-size: 20px;
		line-height: 60px;
	}

	.aboutus {
		padding-bottom: 170px;
	}	
}

/* masters */
.masters {
	padding-bottom: 200px;
}

.masters__title {
	padding-bottom: 43px;
}

.masters__wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	row-gap: 70px;
}

.masters__wrap p {
	grid-column: 3/5;
	padding-bottom: 0px;
}

.masters__master-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.masters__master-body:nth-child(odd) {
	flex-direction: column-reverse;
}

.masters__master-body img {
	width: 100%;
	border-radius: 0 50% 50%;
}

.masters__master-body:nth-child(odd) img {
	border-radius: 50% 50% 50% 0;
}

.masters__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
	line-height: 70%;
}

.masters__more {
	margin-top: 90px;
}

@media (max-width:768px) {
	.masters__wrap {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
		row-gap: 70px;
	}

	.masters__wrap p {
		grid-column: span 2;
		padding-bottom: 0px;
	}
}

@media (max-width:480px) {
	.masters__wrap {
		grid-template-columns: repeat(1, 1fr);
		gap: 22px;
		row-gap: 70px;
	}

	.masters__wrap p {
		grid-column: auto;
		padding-bottom: 0px;
	}

	.masters__master-body {
		flex-direction: column !important;
	}

	.masters__master-body img {
		border-radius: 0 50% 50% !important;
	}
}

/* advantages */
.advantages {
	padding-bottom: 200px;
}

.advantages__title {
	padding-bottom: 70px;
}

.advantages__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	counter-reset: count;
}

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

.advantages__item::before {
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 65px;
	line-height: 1;
}

.advantages__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}

@media (max-width:768px) {
	.advantages__wrap {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 60px 100px;
		counter-reset: count;
	}
}

/* footer */
.footer {
    flex: 0 0 auto;
	padding: 20px 0px 40px 0px;
}

.footer__top {
	margin-bottom: 35px;
	display: flex;
	align-items: center;
	column-gap: 100px;
}


.footer__top img {
	max-width: 317px;
	width: 100%;
}

.footer__menu {
	display: flex;
	justify-content: space-between;
	flex: 1;
}

.footer__menu-item a {
	color: var(--black);
}

.footer__menu-item a:hover {
	color: var(--purple);
}

.footer__bottom {
	margin-bottom: 35px;
	display: flex;
	gap: 57px;
}

.footer__contact {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	gap: 5px;
}

.footer__contact span {
	color: var(--purple);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.footer__contact a {
	color: var(--black);
}

.footer__contact a:hover {
	color: var(--purple);
}

.footer__soc {
	display: flex;
	gap: 10px;
	justify-content: end;
	flex: 1;
}

.footer__soc a:hover {
	background-color: var(--purple);
}

.footer__soc a {
	width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: var(--brown);
    color: var(--beige);
    border-radius: 50%;
}

.footer__soc img {
	max-width: 100%;
}

.footer__copyright {
	font-size: 12px;
}

@media (max-width:1050px) {
	.footer__wrap {
		display: flex;
		justify-content: space-around;
		gap: 20px;
	}

	.footer__top {
		flex-direction: column;
		gap: 20px;
		align-items: stretch;
	}

	.footer__menu {
		flex-direction: column;
		padding-bottom: 0;
		gap: 10px;
	}

	.footer__contact {
		flex-direction: column;
		flex: 1;
		justify-content: space-between;
	}

	.footer__bottom {
		margin-bottom: 35px;
		display: flex;
		gap: 57px;
	}

	.footer__bottom {
		gap: 15px;
		flex-direction: column;
	}

	.footer__soc {
		justify-content: stretch;
	}

	.footer__copyright {
		text-align: center;
	}

}

@media (max-width:480px) {
	.footer {
		display: flex;
		justify-content: center;
	}

	.container {
		width: auto;
	}

	.footer__wrap {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.footer__top {
		margin-bottom: 0;
	}

	.footer__soc {
		justify-content: center;
	}

}

/* contacts */
.contacts {
	padding-bottom: 85px;
}

.contacts__title
{
	padding-bottom: 50px;
}

.contacts__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.contacts__address {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 20px;
	align-items: flex-start;
	margin-bottom: 50px;
}


.contacts__address a {
	color: var(--black);
	display: inline-block;
}

.contacts__address a:hover {
	color: var(--purple);
}

.contacts__phone {
	color: var(--purple) !important;
	font-family: Enthalpy;
	font-size: 25px;
	margin-bottom: 10px;
}

.contacts__email {
	margin-bottom: 10px;
}

.contacts__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 50px;
}

.requisites {
	margin-bottom: 50px;
}

.business-name,
.directions-name,
.requisites__title
{
	font-size: 35px;
	font-family: Enthalpy;
    color: var(--purple) !important;
    margin-bottom: 15px; 
}

#map {
	width: 100%;
	height: 448px;
	/* margin-top: 70px; */
}

[class*="ymaps-2"][class*="-ground-pane"] {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-filter: grayscale(100%);
}

@media (max-width:768px) {
	.contacts__wrap {
		grid-template-columns: repeat(1, 1fr);
	}

	.contacts__info {
		gap: 25px;
	}
}

/* questions */
.questions {
	padding-bottom: 120px;
}

.questions__header {
	display: grid;
	grid-template-columns: 8fr 5fr;
	align-items: center;
	margin-bottom: 50px;
}

.questions__title {}

.questions__form-wrap {
	display: flex;
	gap: 22px;
	margin-bottom: 30px;
}

.questions__input {
	flex: 1 1 480px;
	border-radius: 7px;
	border: 1px solid var(--brown);
	padding-left: 14px;
}

.questions__input::placeholder {
	font-size: 14px;
	color: #97908b;
}

.questions__btn {
	margin-left: 15px;
}

.questions__description {
	font-size: 14px;
	font-weight: 400;
}

.questions__description a {
	color: var(--black);
	text-decoration: underline;
}

@media (max-width:768px) {
	.questions__header {
		display: grid;
		grid-template-columns: 1fr;
		align-items: center;
		margin-bottom: 50px;
	}

	.questions__form-wrap {
		flex-direction: column;
	}

	.questions__input {
		flex: 1 1 48px;
	}

	.questions__btn {
		margin-left: 0;
	}

}

/* promo */
.promo {
	padding-bottom: 200px;
}

.promo__title {
	padding-bottom: 67px;

}

.promo__name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
	line-height: 0.8;

}

.promo__wrap {
	display: grid;
	grid-template-columns: repeat(4, minmax(252px, 282px));
	justify-content: space-evenly;
	gap: 60px 22px;
}

.promo__item-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.promo__item-body:nth-child(even) {
	flex-direction: column-reverse;
}

.promo__shape {
	background-color: var(--gradient);
	aspect-ratio: 1;
	border-radius: 0 50% 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding: 35px 20px;
	transition: all 0.5s;
	cursor: grab;
}

.promo__shape:hover {
	box-shadow: 0 8px 5px rgb(14 21 47 / 14%);
	transform: translateY(-10px)
}



.promo__item-body:nth-child(even) .promo__shape {
	flex-direction: column-reverse;
	border-radius: 50% 50% 50% 0;
}

.promo__item-body:nth-child(3n+2) .promo__shape {
	background-color: #C4C4C4;
}

.promo__item-body:nth-child(3n+3) .promo__shape {
	background-color: var(--brown);
}

.promo__item-body:nth-child(3n+4) .promo__shape {
	background-color: var(--purple);
}

.promo__text {
	color: #FFFBF8;

}

.promo__digit {
	color: #FFFBF8;
	font-family: Enthalpy;
	font-size: 125px;
	line-height: 0.9;
	align-self: center;
}

@media (max-width:1100px) {
	.promo__wrap {
		grid-template-columns: repeat(2, minmax(252px, 282px));
	}
}

@media (max-width:615px) {
	.promo__title {
		padding-bottom: 50px;
	}

	.promo__item-body:nth-child(even) {
		flex-direction: column;
	}

	.promo__wrap {
		grid-template-columns: repeat(1, minmax(252px, 282px));
	}

	.promo__item-body:nth-child(even) .promo__shape {
		flex-direction: column;
		border-radius: 0 50% 50% 50%;
	}
}

/* services */
.services-in, 
.services_special-in {
	padding-bottom: 80px;
}

.services-in__title {}

.services-in__wrap, 
.services_special-in__wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.services-in__col, 
.services_special-in__col {
	display: flex;
	flex-direction: column;
	gap: 70px;
}

.services-in__col img, 
.services_special-in__col img {
	max-width: 100%;
}

.services-in__col:nth-child(1) img,
.services_special-in__col:nth-child(1) img {
	aspect-ratio: 59/24;
	object-fit: cover;
	border-radius: 20px 100px 20px 20px;
}

.services-in__col:nth-child(2) img,
.services_special-in__col:nth-child(2) img {
	aspect-ratio: 59/42;
	object-fit: cover;
	border-radius: 30px;
}

.services-in__col p,
.services_special-in__col p  {
	padding-bottom: 0;
	max-width: 488px;
}

@media (max-width:768px) {
	.services-in__wrap, 
	.services_special-in__wrap {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 22px;
	}
	.services-in__wrap img {
		max-width: 100%;
	}
}

/* service-grid  */
.service-grid {
	padding-bottom: 150px;
}

.service-grid__wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	counter-reset: count;
	padding-bottom: 100px;
}

.service-grid__item {
	border-radius: 20px;
	border: 1px solid var(--lightbrown);
	padding: 30px 22px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.service-grid__item:before {
	position: absolute;
	content: counter(count, decimal-leading-zero);
	counter-increment: count;
	color: var(--lightbrown);
	font-family: Enthalpy;
	font-size: 35px;
	line-height: 1;
	top: auto;
	right: 22px;
}

.service-grid__title {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
}

.service-grid__subtitle {}

.service-grid__price {
	color: var(--black);
	font-family: Montserrat;
	font-size: 18px;
	font-weight: 700;
	margin-top: 5px;
}

.service-grid__price::after {
	display: block;
	content: '';
	width: 81px;
	height: 2px;
	background-color: var(--lightbrown);
	margin: 25px 0px 25px 0px;
}

.service-grid__text {}

.service-grid__text p {
	padding-bottom: 20px;
}

.service-grid__btn {
	margin-top: auto;
	align-self: flex-start;
}

@media (max-width:950px) {
	.service-grid__wrap {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
}

@media (max-width:620px) {
	.service-grid__wrap {
		grid-template-columns: repeat(1, 1fr);
		gap: 22px;
	}
}

/* work---accordion */
.osnova,
.work {
	padding-bottom: 150px;
}

.work__header {
	padding-bottom: 70px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}


.accordion {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.accordion-item {
	padding: 25px 50px;
	border-radius: 20px;
	border: 1px solid var(--lightbrown);
}

.accordion-link {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tab-name {
	color: var(--purple);
	font-family: Enthalpy;
	font-size: 35px;
	line-height: 1;
}

.accordion-link i {
	color: var(--black);
}

.accordion-link {
	display: flex;
	cursor: pointer;
}

.icon-plus {
	min-width: 43px;
	height: 43px;
	display: flex;
	background-color: var(--brown);
	border-radius: 50%;
	color: #fff;
	font-size: 55px;
	justify-content: center;
	align-items: center;
	font-family: var(--fontfamily);
	font-weight: 100;
	transition: all 150ms;
}

.answer {
	max-height: 0;
	height: 0;
	overflow: hidden;
	position: relative;
	transition: all 650ms;
}

.accordion-item input[type="checkbox"]:checked~.answer {
	height: auto;
	max-height: 2000px;
	margin-top: 30px;
}

.accordion-item input[type="checkbox"]:checked~.accordion-link .icon-plus {
	transform: rotate(45deg);
	background-color: var(--black);
}

.answer.text p,
.answer.text ul {
	padding-bottom: 30px
}

.accordion-item input {
	display: none;
}

@media (max-width:620px) {
	.work__header {
		grid-template-columns: repeat(1, 1fr);
	}

	.tab-name {
		font-size: 25px;
	}

	.accordion-item {
		padding: 25px;
	}
}

/* slider all */
.slider {
	min-width: 0;
}

.slider img {
	width: 100%;
	aspect-ratio: 69/42;
	object-fit: cover;
	border-radius: 20px 20px 100px 20px;
	transition: all 0.3s;
}

.slider .slider__item:nth-child(odd) img {
	border-radius: 100px 20px 20px 20px;
	transition: all 0.3s;
}

.slider__item {
	width: 692px;
}

/* Ограничивающая оболочка */
.slick-list {
	overflow: hidden;
}

/* Лента слайдов */
.slick-track {
	display: flex;
	gap: 22px;
}

/* Стрелка */
.slick-arrow {
	color: var(--brown);
	transition: all 0.3s;
}

.slick-arrow:hover {
	color: var(--black);
}

/* Стрелка влево */
.slick-arrow.slick-prev {
	font-size: 0;
	position: relative;
}

/* Стрелка вправо */
.slick-arrow.slick-next {
	font-size: 0;
	position: relative;
}

.slick-arrow.slick-prev:after {
	content: '↗';
	position: absolute;
	left: 0;
	top: 0;
	transform: rotate(-135deg);
	font-size: 35px;
}

.slick-arrow.slick-next:after {
	content: '↗';
	position: absolute;
	left: 67px;
	top: 0;
	transform: rotate(45deg);
	font-size: 35px;
}


/* carousel */
.carousel {
	padding-bottom: 200px;
}

.carousel__title {
	padding-bottom: 63px;
}

.carousel__wrap {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 1200px) 1fr;
	gap: 15px;
}

.carousel__body {
	grid-column: 2/4;
	display: grid;
	gap: 22px;
	grid-template-columns: 386px 1fr;
}

.carousel__info {
	padding-top: 40px;
}

.carousel__control {
	margin-top: 70px;
}

@media (max-width:1200px) {
	.slider__item {
		width: 392px;
	}

	.carousel__body {
		grid-column: 2/4;
		display: grid;
		gap: 22px;
		grid-template-columns: 286px 1fr;
	}

	.carousel__control {
		margin-top: 30px;
	}
}

@media (max-width:768px) {
	.slider__item {
		width: 292px;
	}

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

	.carousel__title {
		padding-bottom: 0px;
	}

	.slider__item img {
		border-radius: 20px !important;
	}
}

/* modal */
.modal {
	display: none;
	border-radius: 20px;
	background: #FFFBF8;
	margin: 0 auto;
	padding: 35px 50px 50px 50px;
	border: 1px solid #888;
	max-width: 590px;
	position: relative;
	text-align: center;
}

.modal-content img {
	max-width: 330px;
	width: 100%;
	margin-bottom: 45px;
}

.proff-title {
	color: var(--brown);
	font-family: Enthalpy;
	font-size: 35px;
	font-style: normal;
	margin-bottom: 15px;
}

.close {
	color: #aaa;
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.proff>.questions__form-wrap {
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.proff>.questions__form-wrap input {
	flex: 1 1 48px;
}

.proff p {
	padding: 20px 0px;
}

.proff .questions__btn {
	margin: 0;
}

.questions__input,
.questions__input::placeholder {
	font-size: 20px;
}

.questions__input {
	color: var(--purple);
}
.base__template .about {
    padding: 0px 0px 180px 0;
}
.masters__link {
    padding-bottom: 175px;
    text-align: center;
}
.masters__link__title {
    font-family: Enthalpy;
    color: #C3A790;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    max-width: 750px;
    margin: 0 auto 40px;
    padding: 0px 15px;
}
.masters__link .btn {
    padding: 14px 20px;
}
.zaglushka .top-menu__tel {
    color: #8C5ABD;
}
.zaglushka .about {
    padding: 60px 0px 120px 0;
}
.zaglushka .promo {
    padding-bottom: 120px;
}
.zaglushka .contacts {
    padding-bottom: 30px;
}
.zaglushka .footer__copyright {
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.footer__bot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-right: 30px;
}

.ofer-body iframe {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

img.goodplace {
    position: absolute;
    left: 10px;
    bottom: 72px;
    width: 60px;
}

@media only screen and (max-width: 768px) {
    img.goodplace {
    position: absolute;
    left: 10px;
    bottom: 72px;
    width: 45px;
}
}



.reviews {
	padding-bottom: 100px;
}

.reviews__wrap {
	display: grid;
	grid-template-columns: 200px 5fr;
	gap: 22px;
}

.reviews__info,
.reviews__info_about {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	background-color: var(--lightbrown);
	border-radius: 20px;
	padding: 20px;

	& img {
		width: 60px;
	}
}

.reviews__btn {
	font-size: 12px;
	color: var(--black);
	text-decoration: underline;
}

.reviews__slider {
	min-width: 0;

	& .slick-track {
		gap: 20px;
	}
}

.reviews__review {}

.review {
	background-color: #fff;
	border-radius: 20px;
	border: 1px solid var(--lightbrown);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.review__head {
	display: flex;
	gap: 22px;
	align-items: center;
}

.review__image {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background-color: #aaa;
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;

	& img {
		border-radius: 50%;
		object-fit: cover;
		aspect-ratio: 1;
		max-width: 62px;
	}
}

.review__info {}

.review__name {
	font-weight: 700;
}

.review__stars {
	color: #f5cd37;
}

.review__date {
	font-size: 12px;
}

.review__content p{
    padding-bottom: 5px;
}

.read-more {
    color: var(--brown);
}

.reviews__slider-control {
	width: 102px;
	height: 50px;
}

@media (max-width:700px) {
	.reviews__wrap {
		grid-template-columns: 1fr;
	}

	.reviews__info {
		display: none;
	}
}


/* cookie_banner */

#cookie_banner {
	max-width: 700px;
	padding: 0;
	background-color: #FFFBF8;
	border-radius: 20px;

	& .fancybox-close-small {
		background-color: var(--gradient);
	}
}

.cookie_banner-wrap {
	& img {
		object-fit: cover;
		width: 100%;
		aspect-ratio: 21/9;
	}

}

.cookie_banner-wrap__info {
	padding: 20px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;

	& li {
		list-style-type: disc;
	}
}

.cookie_banner-wrap__info h3 {
	color: var(--brown);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

@media (max-width:600px) {
	.cookie_banner-wrap img {
		object-fit: cover;
		width: 100%;
		aspect-ratio: 48/30;
	}
}

.cookie_banner-soc {
    justify-content: center;
    margin-bottom: 30px;
}







/* Горизонтальное меню */
.top-menu__menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.top-menu__menu .menu-item {
    position: relative;
    list-style: none;
}
.top-menu__menu .menu-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

/* === ПЕРВЫЙ УРОВЕНЬ ПОДМЕНЮ (раскрывается вниз) === */
.top-menu__menu > .menu-item-has-children > .dropdown-wrapper {
    display: none;
    position: absolute;
    top: 100%; /* под родителем */
    left: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    z-index: 1000;
}

/* Показываем первый уровень при наведении */
.top-menu__menu > .menu-item-has-children:hover > .dropdown-wrapper {
    display: block;
}

/* === ВТОРОЙ И ТРЕТИЙ УРОВНИ (раскрываются вправо) === */
.top-menu__menu .dropdown-wrapper .menu-item-has-children {
    position: relative;
}

.top-menu__menu .dropdown-wrapper .menu-item-has-children > .dropdown-wrapper {
    display: none;
    position: absolute;
    top: 0; /* выравниваем по верхнему краю родителя */
    left: 100%; /* сдвигаем вправо */
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    z-index: 1000;
}

/* Показываем второй и третий уровни при наведении */
.top-menu__menu .dropdown-wrapper .menu-item-has-children:hover > .dropdown-wrapper {
    display: block;
}

/* === ВНУТРЕННИЕ СПИСКИ (без теней) === */
.top-menu__menu .dropdown-wrapper .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* === СТИЛИ ДЛЯ ССЫЛОК === */
.top-menu__item {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

/* Вложенные пункты — с отступами */
.dropdown-wrapper .top-menu__item {
    padding: 8px 15px 8px 25px;
    font-size: 14px;
}

/* Третий уровень — ещё больше отступ */
.dropdown-wrapper .dropdown-menu .top-menu__item {
    padding-left: 40px;
	color: #605954;
    transition: color 0.3s ease;
}
.dropdown-wrapper .dropdown-menu .top-menu__item:hover {
    color: #8C5ABD;
}

.dropdown-wrapper:empty {
    display: none !important;
}


/* Для всех ссылок меню, чтобы они не переносились */
.top-menu__item {
    white-space: nowrap; /* Запрещаем перенос текста */
}


/* Для контейнера ссылки, чтобы стрелка всегда была рядом */
.top-menu__item .arrow {
    display: inline-block;
    margin-left: 5px;
	margin-top: 2px;
    font-size: 10px;
    transition: transform 0.3s ease;
	transform-origin: center center;
    flex-shrink: 0; /* Запрещаем сжатие стрелки */
}

/* Если ссылка во flex-контейнере */
.top-menu__item {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Вращение стрелки при наведении на родительский пункт */

.no-arrow:hover .top-menu__item .arrow {
    transform: none !important;
}


/* Вращение у всех пунктов, кроме тех, у кого есть класс no-arrow */
.menu-item-has-children:not(.no-arrow):hover > .top-menu__item .arrow {
    transform: rotate(-90deg) !important;
}

@media (max-width: 768px) {
    /* Скрываем стрелки на мобильных устройствах */
    .top-menu__item .arrow {
        display: none !important;
    }
}