.malan-faq-list {
	display: grid;
	gap: 10px;
}

.malan-faq-item {
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
	background: #ffffff;
}

.malan-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.malan-faq-item summary::-webkit-details-marker {
	display: none;
}

.malan-faq-item summary span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--malan-black, #050505);
	color: #ffffff;
}

.malan-faq-item[open] summary span {
	transform: rotate(45deg);
}

.malan-faq-item div {
	padding: 0 18px 16px;
	color: var(--malan-muted, #666666);
}

.malan-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.malan-review-card {
	display: grid;
	gap: 10px;
	padding: 18px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
	background: #ffffff;
}

.malan-review-card img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.malan-review-card__rating {
	color: var(--malan-black, #050505);
	letter-spacing: 0;
}

.malan-review-card h3 {
	margin: 0;
	font-size: 18px;
	letter-spacing: 0;
}

.malan-review-card__text p,
.malan-review-card__author {
	margin: 0;
	color: var(--malan-muted, #666666);
}

.malan-gallery {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 14px;
	align-items: stretch;
}

.malan-gallery__item {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	appearance: none;
	width: 100%;
	min-height: 220px;
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(5, 5, 5, 0.08);
	border-radius: 8px;
	background: var(--malan-tint, #f7f5ef);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
	cursor: zoom-in;
	isolation: isolate;
	transform: translateY(0);
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.malan-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.58) 100%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
	opacity: 0.72;
	transition: opacity 220ms ease;
}

.malan-gallery__item:nth-child(6n + 1) {
	grid-column: span 5;
	grid-row: span 2;
	aspect-ratio: 1.06;
}

.malan-gallery__item:nth-child(6n + 2),
.malan-gallery__item:nth-child(6n + 3) {
	grid-column: span 3;
}

.malan-gallery__item:nth-child(6n + 4) {
	grid-column: span 4;
}

.malan-gallery__item:nth-child(6n + 5) {
	grid-column: span 4;
	aspect-ratio: 1.38;
}

.malan-gallery__item:nth-child(6n) {
	grid-column: span 3;
}

.malan-gallery__item img,
.malan-gallery__item > span:not(.malan-gallery__caption):not(.malan-gallery__hint) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms cubic-bezier(.2, .8, .2, 1), filter 220ms ease;
}

.malan-gallery__item:hover,
.malan-gallery__item:focus-visible {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--malan-accent, #b9945c) 54%, rgba(5, 5, 5, 0.08));
	box-shadow: 0 24px 58px rgba(0, 0, 0, 0.14);
}

.malan-gallery__item:hover::after,
.malan-gallery__item:focus-visible::after {
	opacity: 0.92;
}

.malan-gallery__item:hover img,
.malan-gallery__item:focus-visible img {
	transform: scale(1.055);
	filter: saturate(1.04) contrast(1.03);
}

.malan-gallery__caption,
.malan-gallery__hint {
	position: relative;
	z-index: 2;
	color: #ffffff;
	text-align: left;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.34);
}

.malan-gallery__caption {
	max-width: min(86%, 420px);
	margin: 0 0 18px 18px;
	font-size: clamp(16px, 1.5vw, 22px);
	font-weight: 800;
	line-height: 1.08;
}

.malan-gallery__hint {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.44);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 12px;
	font-weight: 800;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.malan-gallery__item:hover .malan-gallery__hint,
.malan-gallery__item:focus-visible .malan-gallery__hint {
	opacity: 1;
	transform: translateY(0);
}

body.malan-gallery-open {
	overflow: hidden;
}

.malan-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 28px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
}

.malan-gallery-lightbox.is-active {
	opacity: 1;
	pointer-events: auto;
}

.malan-gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0.82);
	backdrop-filter: blur(10px);
}

.malan-gallery-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 52px;
	align-items: center;
	width: min(1180px, 100%);
	max-height: calc(100vh - 56px);
	gap: 14px;
}

.malan-gallery-lightbox figure {
	position: relative;
	display: grid;
	gap: 12px;
	min-width: 0;
	margin: 0;
}

.malan-gallery-lightbox img {
	display: block;
	width: 100%;
	max-height: calc(100vh - 150px);
	object-fit: contain;
	border-radius: 8px;
	background: #111111;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
	transition: opacity 160ms ease, transform 160ms ease;
}

.malan-gallery-lightbox.is-loading img {
	opacity: 0.42;
	transform: scale(0.995);
}

.malan-gallery-lightbox figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #ffffff;
	font-weight: 800;
}

.malan-gallery-lightbox figcaption small {
	color: rgba(255, 255, 255, 0.68);
	font-weight: 700;
}

.malan-gallery-lightbox__close,
.malan-gallery-lightbox__arrow {
	appearance: none;
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.malan-gallery-lightbox__close:hover,
.malan-gallery-lightbox__close:focus-visible,
.malan-gallery-lightbox__arrow:hover,
.malan-gallery-lightbox__arrow:focus-visible {
	background: #ffffff;
	color: #050505;
	border-color: #ffffff;
	transform: translateY(-1px);
}

.malan-gallery-lightbox__close {
	position: absolute;
	right: 0;
	top: -64px;
}

.malan-gallery-lightbox__arrow--prev {
	grid-column: 1;
}

.malan-gallery-lightbox__arrow--next {
	grid-column: 3;
}

@media (max-width: 900px) {
	.malan-reviews {
		grid-template-columns: 1fr;
	}

	.malan-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.malan-gallery__item:nth-child(n) {
		grid-column: auto;
		grid-row: auto;
		min-height: 0;
		aspect-ratio: 1;
	}

	.malan-gallery__caption {
		margin: 0 0 12px 12px;
		font-size: 14px;
	}

	.malan-gallery__hint {
		display: none;
	}

	.malan-gallery-lightbox {
		padding: 16px;
	}

	.malan-gallery-lightbox__dialog {
		grid-template-columns: 1fr 1fr;
		max-height: calc(100vh - 32px);
		gap: 10px;
	}

	.malan-gallery-lightbox figure {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.malan-gallery-lightbox img {
		max-height: calc(100vh - 132px);
	}

	.malan-gallery-lightbox__close {
		right: 0;
		top: 0;
		z-index: 2;
		width: 42px;
		height: 42px;
		background: rgba(5, 5, 5, 0.62);
	}

	.malan-gallery-lightbox__arrow {
		width: 100%;
		height: 44px;
		border-radius: 8px;
	}

	.malan-gallery-lightbox__arrow--prev {
		grid-column: 1;
		grid-row: 2;
	}

	.malan-gallery-lightbox__arrow--next {
		grid-column: 2;
		grid-row: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.malan-gallery__item,
	.malan-gallery__item img,
	.malan-gallery__hint,
	.malan-gallery-lightbox,
	.malan-gallery-lightbox img,
	.malan-gallery-lightbox__close,
	.malan-gallery-lightbox__arrow {
		transition: none;
	}

	.malan-gallery__item:hover,
	.malan-gallery__item:focus-visible,
	.malan-gallery__item:hover img,
	.malan-gallery__item:focus-visible img {
		transform: none;
	}
}
