/* Minimal text-first layout — no animations */

:root {
	--dosug-shell-width: 700px;
	--dosug-bg-outer: #2b2b2b;
	--dosug-bg-inner: #fff;
	--dosug-accent: #dd2222;
	--dosug-accent-hover: #b81a1a;
	--dosug-accent-light: #faeaea;
	--dosug-accent-border: #e8a0a0;
	--dosug-section-bg: #f4f4f4;
}

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

body {
	margin: 0;
	font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: #111;
	background: var(--dosug-bg-outer);
}

a {
	color: var(--dosug-accent);
	text-decoration: underline;
}

a:hover {
	color: var(--dosug-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-shell {
	max-width: var(--dosug-shell-width);
	margin: 0 auto;
	background: var(--dosug-bg-inner);
	min-height: 100vh;
}

.site-header {
	border-bottom: 2px solid var(--dosug-accent);
}

.site-header__inner,
.site-footer__inner,
.site-main {
	padding: 10px 12px;
}



.site-header__menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	width: 100%;
	margin-top: 8px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-search {
	position: relative;
	display: inline-block;
	margin: 0;
}

.site-search__input {
	box-sizing: border-box;
	width: 150px;
	padding: 4px 26px 4px 8px;
	border: 1px solid var(--dosug-accent);
	border-radius: 5px;
	font-size: 12px;
	line-height: 1.3;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dd2222' fill-opacity='0.45' d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 14px 14px;
}

.site-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.site-nav a {
	text-decoration: none;
	color: var(--dosug-accent);
}

.site-logo {
	display: inline-block;
	text-decoration: none;
	color: inherit;
}

.site-logo__brand {
	display: inline-flex;
	align-items: center;
}

.site-logo__image {
	display: block;
	max-height: 80px;
	width: auto;
}

.site-nav a:hover {
	text-decoration: underline;
}

.site-nav__register {
	font-weight: 600;
}

.auth-page__choices {
	margin: 16px 0;
	padding-left: 20px;
}

.auth-page__choices li {
	margin-bottom: 8px;
}

.auth-page__links {
	margin-top: 16px;
	line-height: 1.8;
}

.site-footer {
	border-top: 2px solid var(--dosug-accent);
	margin-top: 16px;
	color: #444;
}

/* Catalog layout — sidebar + cards */
.catalog-layout {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.catalog-layout__sidebar,
.catalog-sidebar {
	flex: 0 0 200px;
	width: 200px;
}

.catalog-layout__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.catalog-layout__content {
	background: var(--dosug-section-bg);
	padding: 14px 12px;
}

.banner-slot {
	background: var(--dosug-section-bg);
	padding: 14px 12px;
}

.banner-slot__item {
	display: block;
}

.banner-slot__item:last-child {
	margin-bottom: 0;
}

.banner-slot__item img {
	display: block;
	width: 100%;
	height: auto;
}

.catalog-sidebar {
	background: var(--dosug-section-bg);
	padding: 14px 12px;
}

.catalog-sidebar__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: default;
	font: inherit;
	color: inherit;
}

.catalog-sidebar__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.catalog-sidebar__arrow {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--dosug-accent);
	border-bottom: 2px solid var(--dosug-accent);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.catalog-sidebar.is-expanded .catalog-sidebar__arrow {
	transform: rotate(-135deg);
}

.catalog-sidebar__body {
	margin-top: 10px;
}

.catalog-filter {
	margin: 0;
}

.catalog-filter__section {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.catalog-filter__heading {
	margin: 0 0 8px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.catalog-filter__group {
	margin-bottom: 8px;
}

.catalog-filter__group:last-child {
	margin-bottom: 0;
}

.catalog-filter__label {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: #222;
}

.catalog-filter__range {
	display: flex;
	gap: 6px;
}

.catalog-filter__bound {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 11px;
	color: #555;
}

.catalog-filter__bound input {
	width: 100%;
	box-sizing: border-box;
	padding: 5px 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
}

.catalog-filter__checks {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.catalog-filter__check {
	font-size: 12px;
	line-height: 1.3;
}

.catalog-filter__check input {
	flex: 0 0 auto;
}

.catalog-filter__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.catalog-filter__submit {
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 5px;
	background: var(--dosug-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.catalog-filter__submit:hover,
.catalog-filter__submit:focus-visible {
	filter: brightness(1.08);
}

.catalog-filter__reset {
	font-size: 12px;
	text-align: center;
	color: #555;
	text-decoration: underline;
}

.catalog-filter__reset:hover {
	color: var(--dosug-accent);
}

.catalog-filter__extra-wrap {
	margin: 0 0 12px;
}

.catalog-filter__extra-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--dosug-accent-border);
	border-radius: 5px;
	background: var(--dosug-bg-inner);
	color: var(--dosug-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.catalog-filter__extra-toggle:hover,
.catalog-filter__extra-toggle:focus-visible {
	border-color: var(--dosug-accent);
}

.catalog-filter__extra-arrow {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--dosug-accent);
	border-bottom: 2px solid var(--dosug-accent);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.catalog-filter__extra-toggle.is-open .catalog-filter__extra-arrow {
	transform: rotate(-135deg);
}

.catalog-filter__extra {
	margin-top: 8px;
}

.catalog-filter__extra-hint {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #222;
}

.catalog-filter__service-group {
	margin: 0 0 6px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: var(--dosug-bg-inner);
}

.catalog-filter__service-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 8px;
	list-style: none;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.catalog-filter__service-summary::-webkit-details-marker {
	display: none;
}

.catalog-filter__service-arrow {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--dosug-accent);
	border-bottom: 2px solid var(--dosug-accent);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.catalog-filter__service-group[open] .catalog-filter__service-arrow {
	transform: rotate(-135deg);
}

.catalog-filter__service-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 0 8px 8px;
}

.catalog-filter__service-check {
	font-size: 11px;
	line-height: 1.3;
}

.catalog-filter__service-check input {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	accent-color: var(--dosug-accent);
}

.catalog-filter__heading,
.catalog-filter__section > .catalog-filter__heading {
	display: block;
	width: 100%;
	float: none;
}

.catalog-search-results {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.catalog-search-results__query {
	color: var(--dosug-accent);
}

/* Catalog — vertical list, one card per row (intimcity-like) */
.catalog-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.profile-card {
	position: relative;
	border: 1px solid var(--dosug-accent);
	border-radius: 5px;
	padding: 0;
	overflow: hidden;
}

.profile-card__link {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 8px;
	color: inherit;
	text-decoration: none;
	background: var(--dosug-bg-inner);
}

.profile-card__link:hover .profile-card__title {
	text-decoration: underline;
	color: var(--dosug-accent);
}

.profile-card__image {
	flex: 0 0 130px;
	width: 130px;
	border-radius: 5px;
	overflow: hidden;
}

.profile-card__image img {
	width: 130px;
	height: 182px;
	object-fit: cover;
	border-radius: 5px;
}

.profile-card__body {
	flex: 1;
	min-width: 0;
	padding: 0;
}

.profile-card__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
}

.profile-card .profile-photo-stamp {
	z-index: 2;
	width: 96px;
	height: 96px;
}

.profile-card .profile-photo-stamp__text {
	font-size: 10px;
	line-height: 1.3;
}

.profile-photo-stamp {
	position: absolute;
	z-index: 0;
	top: auto;
	left: auto;
	bottom: 12px;
	right: 12px;
	width: 132px;
	height: 132px;
	border: 2px dashed #5b7a9a;
	border-radius: 50%;
	background: #fff;
	opacity: 0.3;
	filter: blur(0.6px);
	transform: rotate(-30deg);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.profile-photo-stamp__text {
	text-align: center;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0.04em;
	color: #4b6c8c;
	text-transform: uppercase;
}

.profile-card__metro,
.profile-card__district,
.profile-card__params,
.profile-card__prices,
.profile-card__languages,
.profile-card__excerpt {
	margin: 4px 0;
	font-size: 13px;
}

.profile-card__params {
	padding-left: 16px;
}

.profile-card__value {
	font-weight: 700;
	color: var(--dosug-accent);
}

.profile-card__excerpt {
	color: #333;
}

.banner-slot__item + .banner-slot__item {
	margin-top: 12px;
}

.catalog-pagination {
	margin-top: 20px;
}

.catalog-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.catalog-pagination a {
	color: var(--dosug-accent);
}

/* Single profile */
.profile-single__sections {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.profile-section {
	background: var(--dosug-section-bg);
	padding: 14px 12px;
}

.profile-section > h2 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.profile-single__header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.profile-single__title {
	margin: 0;
	font-size: 20px;
}

.profile-stamp {
	border: 2px solid #080;
	color: #080;
	padding: 4px 10px;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
}

.profile-single__hero {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.profile-single__main-photo {
	margin: 0;
	text-align: center;
}

.profile-main-photo__trigger {
	position: relative;
	display: inline-block;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	vertical-align: top;
}

.profile-main-photo__trigger .profile-photo-stamp {
	top: 12px;
	right: 12px;
	bottom: auto;
	left: auto;
	z-index: 2;
	width: 96px;
	height: 96px;
	background: transparent;
	opacity: 0.92;
	filter: none;
}

.profile-main-photo__trigger .profile-photo-stamp__text {
	font-size: 11px;
	line-height: 1.3;
}

.profile-single__main-photo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 500px;
	height: auto;
	object-fit: contain;
}

.profile-single__description {
	width: 100%;
}

.profile-single__gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.profile-single__photo,
.profile-gallery__trigger {
	margin: 0 0 8px;
	max-width: 100%;
}

.profile-gallery__trigger {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.profile-single__gallery .profile-single__photo img,
.profile-single__gallery .profile-gallery__trigger img {
	width: auto;
	max-width: 100%;
	max-height: 500px;
	object-fit: contain;
}

.profile-gallery-lightbox,
.profile-main-photo-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
}

.profile-gallery-lightbox.is-open,
.profile-main-photo-lightbox.is-open {
	display: block;
}

.profile-gallery-lightbox__backdrop,
.profile-main-photo-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
}

.profile-gallery-lightbox__dialog,
.profile-main-photo-lightbox__dialog {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 52px 56px;
}

.profile-gallery-lightbox__stage,
.profile-main-photo-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}

.profile-gallery-lightbox__image,
.profile-main-photo-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: calc(100vw - 112px);
	max-height: calc(100vh - 104px);
	object-fit: contain;
}

.profile-gallery-lightbox__close,
.profile-gallery-lightbox__nav,
.profile-main-photo-lightbox__close {
	position: absolute;
	z-index: 2;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

.profile-gallery-lightbox__close,
.profile-main-photo-lightbox__close {
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border-radius: 5px;
	font-size: 28px;
}

.profile-gallery-lightbox__nav {
	top: 50%;
	width: 44px;
	height: 56px;
	margin-top: -28px;
	border-radius: 5px;
	font-size: 32px;
}

.profile-gallery-lightbox__nav--prev {
	left: 12px;
}

.profile-gallery-lightbox__nav--next {
	right: 12px;
}

.profile-gallery-lightbox__close:hover,
.profile-gallery-lightbox__nav:hover,
.profile-main-photo-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.profile-gallery-lightbox--single .profile-gallery-lightbox__nav {
	display: none;
}

body.profile-lightbox-open {
	overflow: hidden;
}

.profile-single__tables {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 12px;
}

.profile-info-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	border: 1px solid var(--dosug-accent-border);
	border-radius: 5px;
	overflow: hidden;
}

.profile-info-table th,
.profile-info-table td {
	border-right: 1px solid var(--dosug-accent-border);
	border-bottom: 1px solid var(--dosug-accent-border);
	padding: 6px 8px;
	text-align: left;
	vertical-align: middle;
}

.profile-info-table th:last-child,
.profile-info-table td:last-child {
	border-right: none;
}

.profile-info-table tr:last-child th,
.profile-info-table tr:last-child td {
	border-bottom: none;
}

.profile-info-table th {
	width: 48%;
	color: #333;
	font-weight: 700;
	background: var(--dosug-accent-light);
}

.profile-info-table td {
	font-weight: 400;
}

.profile-info-table--prices td {
	color: var(--dosug-accent);
}

.profile-single__tables .profile-info-table:only-child {
	grid-column: 1 / -1;
}

/* Services */
.account-services {
	margin: 16px 0;
}

.account-services legend {
	color: var(--dosug-accent);
	font-weight: 600;
}

.services-list {
	column-count: 2;
	column-gap: 36px;
}

.services-group {
	break-inside: avoid;
	margin: 0 0 14px;
}

.services-group__title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.services-item {
	margin: 0 0 5px;
	max-width: 100%;
}

.services-item__row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.services-list--editor .services-item__row {
	cursor: pointer;
}

.services-item__check {
	flex-shrink: 0;
	margin: 0;
	cursor: pointer;
}

.services-list--editor .services-item__check {
	accent-color: var(--dosug-accent);
}

.services-item__name {
	font-size: 13px;
	line-height: 1.35;
}

.services-item__meta--included {
	font-size: 12px;
}

.services-item__meta--price {
	font-size: 11px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.services-item__included-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 3px 0 0 20px;
	font-size: 12px;
	line-height: 1.35;
}

.services-item__included-row input {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
}

.services-item__price-input {
	display: block;
	box-sizing: border-box;
	width: calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 3px 0 0 20px;
	padding: 4px 6px;
	border: 1px solid var(--dosug-accent-border);
	font: inherit;
	font-size: 13px;
}

.services-item__price-input::placeholder {
	color: #999;
}

.services-list--profile .services-item__name {
	color: #999;
}

.services-list--profile .services-item--active .services-item__name {
	color: #111;
}

.services-item__check-visual {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	border: 1px solid #bbb;
	border-radius: 2px;
	background: #eee;
	box-sizing: border-box;
}

.services-item__check-visual.is-checked {
	position: relative;
	border-color: var(--dosug-accent);
	background: var(--dosug-accent);
}

.services-item__check-visual.is-checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.services-item__note {
	margin: 2px 0 0 20px;
	color: var(--dosug-accent);
	font-size: 13px;
	line-height: 1.35;
}

.services-item__note-input {
	display: block;
	box-sizing: border-box;
	width: calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 3px 0 0 20px;
	padding: 4px 6px;
	border: 1px solid var(--dosug-accent-border);
	font: inherit;
	font-size: 13px;
}

.services-item__note-input::placeholder {
	color: #999;
}

.profile-metro,
.profile-district,
.profile-languages {
	margin: 0 0 8px;
	font-size: 13px;
}

.profile-contacts {
	margin-top: 12px;
}

.profile-contacts__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--dosug-accent);
}

.profile-contacts__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.profile-contacts__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 10px;
	border: 0;
	border-radius: 8px;
	background: var(--contact-color, #666);
	color: #fff;
	text-decoration: none;
}

.profile-contacts__link:hover,
.profile-contacts__link:focus-visible {
	filter: brightness(1.08);
	color: #fff;
}

.profile-contacts__icon {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	filter: brightness(0) invert(1);
}

.profile-contacts__label {
	display: none;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.profile-contacts__link--fallback .profile-contacts__icon {
	display: none;
}

.profile-contacts__link--fallback .profile-contacts__label {
	display: inline;
}

.profile-map__canvas,
.account-map {
	height: 240px;
	border: 1px solid #ccc;
	margin-top: 8px;
}

.profile-map__address {
	margin: 0 0 8px;
}

.profile-map__unavailable {
	margin: 0;
	color: #666;
	font-size: 13px;
}

/* Comments */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-item {
	border-top: 1px solid #eee;
	padding: 10px 0;
}

.comment-meta {
	font-size: 12px;
	color: #555;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.comment-delete {
	border: 0;
	background: none;
	color: #c00;
	cursor: pointer;
	text-decoration: underline;
	font-size: 12px;
	padding: 0;
}

.comment-reply-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.comment-form .required-field-message {
	display: none;
}

.comment-form {
	margin-top: 12px;
}

.comment-form .comment-form-comment {
	margin: 0 0 12px;
}

.comment-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 100px;
	padding: 10px 12px;
	border: 1px solid #aaa;
	border-radius: 5px;
	font: inherit;
	line-height: 1.45;
	resize: vertical;
}

.comment-form textarea:focus {
	outline: none;
	border-color: var(--dosug-accent);
}

.comment-form .form-submit {
	margin: 0;
	text-align: center;
}

.comment-form__submit {
	display: inline-block;
	padding: 8px 28px;
	border: 1px solid var(--dosug-accent);
	border-radius: 5px;
	background: var(--dosug-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.comment-form__submit:hover,
.comment-form__submit:focus-visible {
	background: #fff;
	color: var(--dosug-accent);
}

.comments-login-hint {
	margin: 12px 0 0;
}

/* Forms */
.auth-form label,
.account-form label {
	display: block;
	margin-bottom: 12px;
}

.account-taxonomies {
	border: 1px solid #aaa;
	padding: 10px 12px;
	margin-bottom: 12px;
}

.account-taxonomies legend {
	font-weight: 600;
	padding: 0 4px;
}

.account-taxonomies__group {
	margin-bottom: 10px;
}

.account-taxonomies__group:last-child {
	margin-bottom: 0;
}

.account-taxonomies__title {
	margin: 0 0 6px;
	font-weight: 600;
}

.account-taxonomies__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.account-form .account-taxonomies__option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 0;
	width: auto;
}

.account-editor {
	margin-bottom: 12px;
}

.account-editor__label {
	display: block;
	margin-bottom: 8px;
}

.account-editor .wp-editor-wrap {
	width: 100%;
}

.account-editor .wp-editor-container {
	border: 1px solid #aaa;
	box-sizing: border-box;
}

.account-editor__preview {
	padding: 10px 12px;
	border: 1px solid #aaa;
	background: #fafafa;
	font-size: 14px;
	line-height: 1.5;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="button"]),
.auth-form select,
.account-form input:not([type="checkbox"]):not([type="radio"]):not([type="button"]),
.account-form textarea {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #aaa;
	font: inherit;
}

.account-editor .quicktags-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 6px 4px;
}

.account-editor .quicktags-toolbar input.button {
	width: auto;
	min-width: 0;
	padding: 2px 8px;
	margin: 0;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
}

.account-editor .wp-switch-editor {
	width: auto;
	padding: 4px 10px;
}

.account-editor textarea.wp-editor-area {
	border: 0;
	border-radius: 0;
	resize: vertical;
}

.account-form .services-item__row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 0;
	cursor: pointer;
}

.account-form .services-item__check {
	width: auto;
	padding: 0;
	border: 0;
	flex-shrink: 0;
}

.account-form .services-item__name {
	flex: 1;
	min-width: 0;
}

.account-form input.services-item__note-input,
.account-form input.services-item__price-input {
	width: calc(100% - 20px);
	max-width: calc(100% - 20px);
	box-sizing: border-box;
}

.account-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.auth-form button,
.account-form > button,
.account-form .account-upload__file button {
	padding: 8px 16px;
	cursor: pointer;
	border: 1px solid var(--dosug-accent);
	background: #fff;
	color: var(--dosug-accent);
	font: inherit;
}

.auth-form button:hover,
.account-form > button:hover {
	background: var(--dosug-accent-light);
	color: var(--dosug-accent-hover);
}

.form-error {
	color: #a00;
}

.form-notice {
	color: #060;
}

.form-notice__contact {
	display: inline;
	margin-left: 0.35em;
	font-weight: 700;
}

.field-hint {
	font-size: 12px;
	color: #555;
}

.checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
}

.checkbox input {
	width: auto;
}

.account-upload {
	margin: 16px 0;
	padding: 0;
	border: 0;
}

.account-upload legend {
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--dosug-accent);
}

.account-upload__preview {
	margin-bottom: 10px;
}

.account-upload__preview img {
	width: 130px;
	height: auto;
}

.account-upload__file {
	display: block;
	margin-top: 8px;
}

.account-upload__file input[type="file"] {
	width: 100%;
	margin-top: 4px;
}

.account-upload__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

.account-upload__gallery-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
}

.account-upload__gallery-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

@media (max-width: 700px) {
	body {
		overflow-x: hidden;
	}

	.site-shell,
	.site-header__inner {
		max-width: 100%;
		overflow-x: clip;
	}

	.site-logo__image {
		max-height: 36px;
	}

	.site-header__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.site-search {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.site-search__input {
		width: 100%;
		max-width: 100%;
	}

	.site-nav {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 10px;
	}

	.site-nav a {
		flex: 0 0 auto;
		font-size: 13px;
		white-space: nowrap;
	}

	.catalog-layout {
		flex-direction: column;
	}

	.catalog-sidebar {
		flex: none;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: auto;
	}

	.catalog-layout__main {
		flex: none;
		width: 100%;
		max-width: 100%;
	}

	.catalog-sidebar__toggle {
		cursor: pointer;
	}

	.catalog-sidebar__body {
		display: none;
		margin: 0;
	}

	.catalog-sidebar.is-expanded .catalog-sidebar__body {
		display: block;
		margin-top: 10px;
	}

	.catalog-sidebar.is-expanded .catalog-sidebar__body:empty {
		display: none;
		margin: 0;
	}

	.profile-card__link {
		flex-direction: column;
		align-items: stretch;
	}

	.profile-card__image {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 320px;
		background: var(--dosug-section-bg);
	}

	.profile-card__image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.profile-single__tables {
		grid-template-columns: 1fr;
	}

	.services-list {
		column-count: 1;
	}

	.account-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 701px) {
	.catalog-sidebar {
		display: block;
	}

	.catalog-sidebar__toggle {
		pointer-events: none;
	}

	.catalog-sidebar__arrow {
		display: none;
	}

	.catalog-sidebar__body {
		display: block !important;
		margin-top: 10px;
	}

	.profile-map__canvas,
	.account-map {
		height: 360px;
	}
}

.site-footer__inner {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	align-items: center;
}