.arredamento-list {
	margin-top: clamp(1rem, 2vw, 1.5rem) !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.arredamento-list__title {
	margin: 0 0 clamp(1.35rem, 3vw, 2rem);
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.05;
}

.arredamento-list__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.35rem);
}

.arredamento-list__card {
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 54%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 32%, transparent);
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.arredamento-list__card:hover,
.arredamento-list__card:focus-within {
	background: var(--wp--preset--color--base);
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 18%, var(--wp--preset--color--subtle));
	transform: translateY(-1px);
}

.arredamento-list__image-link,
.arredamento-list__image,
.arredamento-list__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
}

.arredamento-list__image-link {
	position: relative;
	overflow: hidden;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 70%, var(--wp--preset--color--base));
	color: inherit;
	text-decoration: none;
}

.arredamento-list__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arredamento-list__card:hover .arredamento-list__image,
.arredamento-list__card:focus-within .arredamento-list__image {
	transform: scale(1.04);
}

.arredamento-list__placeholder {
	position: relative;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 42%),
		color-mix(in srgb, var(--wp--preset--color--surface) 78%, var(--wp--preset--color--subtle));
}

.arredamento-list__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.68) 100%);
	pointer-events: none;
}

.arredamento-list__body {
	position: absolute;
	left: clamp(0.75rem, 1.5vw, 1.25rem);
	right: clamp(0.75rem, 1.5vw, 1.25rem);
	bottom: clamp(0.75rem, 1.5vw, 1.25rem);
	z-index: 2;
}

.arredamento-list__card-title {
	display: block;
	margin: 0;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.25;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.arredamento-list__excerpt,
.arredamento-list__empty {
	margin: 0.55rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.arredamento-list__empty {
	box-sizing: border-box;
	width: min(100%, 44rem);
	padding: 1rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 58%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 42%, transparent);
}

@media (max-width: 781px) {
	.arredamento-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.arredamento-list__grid {
		grid-template-columns: 1fr;
	}
}

.arredamento-categorie {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	--arredamento-categorie-gap: clamp(0.85rem, 2vw, 1.25rem);
}

.arredamento-categorie__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--arredamento-categorie-min-card-width)), 1fr));
	gap: var(--arredamento-categorie-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.arredamento-categorie--columns-1 {
	--arredamento-categorie-min-card-width: 100%;
}

.arredamento-categorie--columns-2 {
	--arredamento-categorie-min-card-width: max(11.5rem, calc((100% - var(--arredamento-categorie-gap)) / 2));
}

.arredamento-categorie--columns-3 {
	--arredamento-categorie-min-card-width: max(11.5rem, calc((100% - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap)) / 3));
}

.arredamento-categorie--columns-4 {
	--arredamento-categorie-min-card-width: max(11.5rem, calc((100% - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap)) / 4));
}

.arredamento-categorie--columns-5 {
	--arredamento-categorie-min-card-width: max(11.5rem, calc((100% - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap)) / 5));
}

.arredamento-categorie--columns-6 {
	--arredamento-categorie-min-card-width: max(11.5rem, calc((100% - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap) - var(--arredamento-categorie-gap)) / 6));
}

.arredamento-categorie__item {
	margin: 0;
}

.arredamento-categorie__link {
	position: relative;
	display: block;
	min-height: 0;
	aspect-ratio: 5 / 4;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 54%, transparent);
	border-radius: 8px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--base);
	text-decoration: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.arredamento-categorie__link:hover,
.arredamento-categorie__link:focus-visible {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 24%, var(--wp--preset--color--subtle));
	box-shadow: 0 20px 46px color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	transform: translateY(-3px);
}

.arredamento-categorie__image,
.arredamento-categorie__placeholder,
.arredamento-categorie__overlay {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.arredamento-categorie__image {
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arredamento-categorie__link:hover .arredamento-categorie__image,
.arredamento-categorie__link:focus-visible .arredamento-categorie__image {
	transform: scale(1.06);
}

.arredamento-categorie__placeholder {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 45%),
		color-mix(in srgb, var(--wp--preset--color--surface) 84%, var(--wp--preset--color--subtle));
}

.arredamento-categorie__overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.06) 68%);
}

.arredamento-categorie__content {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.arredamento-categorie__name {
	color: #fff;
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 650;
	line-height: 1.2;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.arredamento-categorie__arrow {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	background:
		linear-gradient(45deg, transparent 48%, currentColor 49% 52%, transparent 53%) 48% 50% / 0.62rem 0.62rem no-repeat;
	color: #fff;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.arredamento-categorie__link:hover .arredamento-categorie__arrow,
.arredamento-categorie__link:focus-visible .arredamento-categorie__arrow {
	border-color: #fff;
	background:
		linear-gradient(45deg, transparent 48%, #111 49% 52%, transparent 53%) 48% 50% / 0.62rem 0.62rem no-repeat,
		#fff;
	color: #111;
	transform: translateX(3px);
}

.arredamento-categorie__empty {
	box-sizing: border-box;
	width: min(100%, 44rem);
	margin: 0;
	padding: 1rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 58%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 42%, transparent);
	color: var(--wp--preset--color--muted);
}

.arredamento-categorie-editor-preview {
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.arredamento-categorie-editor-preview p {
	margin: 0.4rem 0 0;
}

/* Anteprima compatta nel block editor: il frontend mantiene le card grandi. */
.editor-styles-wrapper .arredamento-categorie {
	margin-top: 0.75rem !important;
	--arredamento-categorie-gap: 0.75rem;
}

.editor-styles-wrapper .arredamento-categorie__grid {
	grid-template-columns: repeat(auto-fill, minmax(140px, 180px));
	justify-content: start;
}

.editor-styles-wrapper .arredamento-categorie__link {
	min-height: 0;
	height: auto;
	aspect-ratio: 4 / 3;
}

.editor-styles-wrapper .arredamento-categorie__content {
	gap: 0.5rem;
	padding: 0.65rem;
}

.editor-styles-wrapper .arredamento-categorie__name {
	font-size: 0.9rem;
}

.editor-styles-wrapper .arredamento-categorie__arrow {
	width: 1.5rem;
	height: 1.5rem;
	background-size: 0.48rem 0.48rem;
}

.arredamento-home-list {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
}

.arredamento-home-list__title {
	margin: 0 0 clamp(1.25rem, 2.6vw, 1.85rem);
	font-size: clamp(1.8rem, 3.3vw, 2.8rem);
	line-height: 1.08;
}

.arredamento-home-list__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.35rem);
}

.arredamento-home-list__card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 48%, transparent);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 18px 46px color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.arredamento-home-list__card::after {
	content: "";
	position: absolute;
	inset: auto 1rem 0;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 56%, transparent);
	opacity: 0;
	transform: scaleX(0.62);
	transform-origin: left center;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 2;
}

.arredamento-home-list__card:hover,
.arredamento-home-list__card:focus-within {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 22%, var(--wp--preset--color--subtle));
	box-shadow: 0 24px 60px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
	transform: translateY(-4px);
}

.arredamento-home-list__card:hover::after,
.arredamento-home-list__card:focus-within::after {
	opacity: 1;
	transform: scaleX(1);
}

.arredamento-home-list__image-link {
	display: block;
	width: 100%;
	height: clamp(190px, 15vw, 235px);
	overflow: hidden;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 72%, var(--wp--preset--color--base));
}

.arredamento-home-list__image,
.arredamento-home-list__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.arredamento-home-list__image {
	object-fit: cover;
	filter: saturate(0.94) contrast(1.02);
	transform: scale(1.01);
	transition: filter 0.45s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arredamento-home-list__card:hover .arredamento-home-list__image,
.arredamento-home-list__card:focus-within .arredamento-home-list__image {
	filter: saturate(1.04) contrast(1.05);
	transform: scale(1.065);
}

.arredamento-home-list__placeholder {
	position: relative;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 44%),
		linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--surface) 88%, var(--wp--preset--color--base)), color-mix(in srgb, var(--wp--preset--color--accent) 13%, var(--wp--preset--color--surface)));
}

.arredamento-home-list__placeholder::before,
.arredamento-home-list__placeholder::after {
	content: "";
	position: absolute;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--muted) 28%, transparent);
}

.arredamento-home-list__placeholder::before {
	inset: 1rem;
}

.arredamento-home-list__placeholder::after {
	left: 50%;
	top: 50%;
	width: 3.5rem;
	height: 2.4rem;
	transform: translate(-50%, -50%);
	background: color-mix(in srgb, var(--wp--preset--color--base) 34%, transparent);
}

.arredamento-home-list__card-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: clamp(1rem, 1.2vw, 1.08rem);
	font-weight: 650;
	line-height: 1.22;
}

.arredamento-home-list__card-title a {
	min-height: 5.35rem;
	box-sizing: border-box;
	padding: 1.15rem 4rem 1.2rem 1.15rem;
	display: flex;
	align-items: center;
	position: relative;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color 0.25s ease, background-color 0.25s ease;
}

.arredamento-home-list__card-title a::before {
	content: "";
	position: absolute;
	left: 1.15rem;
	right: 4rem;
	top: 0;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--subtle) 54%, transparent);
}

.arredamento-home-list__card-title a::after {
	content: "";
	position: absolute;
	right: 1.15rem;
	top: 50%;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 58%, transparent);
	border-radius: 50%;
	background:
		linear-gradient(45deg, transparent 48%, currentColor 49% 52%, transparent 53%) 48% 50% / 0.62rem 0.62rem no-repeat,
		var(--wp--preset--color--base);
	opacity: 0.82;
	transform: translateY(-50%);
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.arredamento-home-list__card-title a:hover,
.arredamento-home-list__card-title a:focus-visible {
	color: var(--wp--preset--color--contrast);
	background: color-mix(in srgb, var(--wp--preset--color--surface) 34%, transparent);
}

.arredamento-home-list__card-title a:hover::after,
.arredamento-home-list__card-title a:focus-visible::after {
	border-color: var(--wp--preset--color--contrast);
	background:
		linear-gradient(45deg, transparent 48%, var(--wp--preset--color--base) 49% 52%, transparent 53%) 48% 50% / 0.62rem 0.62rem no-repeat,
		var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	transform: translate(3px, -50%);
}

.arredamento-home-list__excerpt,
.arredamento-home-list__empty {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.arredamento-home-list__excerpt {
	padding: 0 1.15rem 1.2rem;
}

.arredamento-home-list__empty {
	box-sizing: border-box;
	width: min(100%, 44rem);
	padding: 1rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--subtle) 58%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 42%, transparent);
}

.arredamento-list-editor-preview,
.arredamento-home-list-editor-preview {
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.arredamento-list-editor-preview p,
.arredamento-home-list-editor-preview p {
	margin: 0.4rem 0 0;
}

@media (max-width: 781px) {
	.arredamento-home-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.arredamento-home-list__grid {
		grid-template-columns: 1fr;
	}

	.arredamento-home-list__image-link {
		height: clamp(180px, 54vw, 230px);
	}

	.arredamento-home-list__card-title a {
		min-height: 4.75rem;
		padding: 1rem 3.65rem 1rem 1rem;
	}

	.arredamento-home-list__card-title a::before {
		left: 1rem;
		right: 3.65rem;
	}

	.arredamento-home-list__card-title a::after {
		right: 1rem;
		width: 2rem;
		height: 2rem;
	}

	.arredamento-home-list__excerpt {
		padding: 0 1rem 1rem;
	}
}

/* Foto di dettaglio della composizione. */
.furniture-detail-photos {
	box-sizing: border-box;
}

.furniture-detail-photos__grid {
	display: grid;
	grid-template-columns: repeat(var(--furniture-detail-columns, 6), minmax(0, 1fr));
	gap: clamp(0.5rem, 1.2vw, 0.9rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.furniture-detail-photos--columns-1 { --furniture-detail-columns: 1; }
.furniture-detail-photos--columns-2 { --furniture-detail-columns: 2; }
.furniture-detail-photos--columns-3 { --furniture-detail-columns: 3; }
.furniture-detail-photos--columns-4 { --furniture-detail-columns: 4; }
.furniture-detail-photos--columns-5 { --furniture-detail-columns: 5; }
.furniture-detail-photos--columns-6 { --furniture-detail-columns: 6; }

.furniture-detail-photos__item {
	position: relative;
	min-width: 0;
	margin: 0;
}

.furniture-detail-photos__link,
.furniture-detail-photos__image {
	display: block;
	width: 100%;
}

.furniture-detail-photos__link {
	overflow: hidden;
	border-radius: 4px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 75%, var(--wp--preset--color--base));
}

.furniture-detail-photos__image {
	height: auto;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.furniture-detail-photos__link:hover .furniture-detail-photos__image,
.furniture-detail-photos__link:focus-visible .furniture-detail-photos__image {
	filter: brightness(0.92);
	transform: scale(1.045);
}

.single-furniture_comp .furniture-comp__featured-image-lightbox-trigger {
	cursor: zoom-in;
}

.single-furniture_comp .furniture-comp__featured-image-lightbox-trigger:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent, #8a6f4e);
	outline-offset: -3px;
}

.furniture-detail-photos--editor {
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.editor-styles-wrapper .furniture-detail-photos--editor .furniture-detail-photos__grid {
	grid-template-columns: repeat(var(--furniture-detail-columns, 6), minmax(0, 1fr));
}

.furniture-detail-photos__item--editor {
	display: flex;
	flex-direction: column;
	aspect-ratio: auto;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	overflow: visible;
	background: #f0f0f0;
}

.furniture-detail-photos__item--editor .furniture-detail-photos__image {
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 3px 3px 0 0;
	object-fit: cover;
}

.furniture-detail-photos__controls {
	position: static;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.35rem;
	padding: 0.45rem;
	border-top: 1px solid #dcdcde;
	background: #fff;
}

.furniture-detail-photos__controls .components-button {
	display: inline-flex;
	min-width: 36px;
	height: 32px;
	padding: 0 8px;
	color: #1e1e1e;
}

.furniture-detail-photos__controls .furniture-detail-photos__move {
	justify-content: center;
	width: 34px;
	min-width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #8c8f94;
	border-radius: 50%;
	background: #fff;
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.furniture-detail-photos__controls .furniture-detail-photos__move:not(:disabled):hover,
.furniture-detail-photos__controls .furniture-detail-photos__move:not(:disabled):focus-visible {
	border-color: #1e1e1e;
	background: #1e1e1e;
	color: #fff;
}

.furniture-detail-photos__controls .furniture-detail-photos__move--back:not(:disabled):hover {
	transform: translateX(-2px);
}

.furniture-detail-photos__controls .furniture-detail-photos__move--forward:not(:disabled):hover {
	transform: translateX(2px);
}

.furniture-detail-photos__controls .furniture-detail-photos__move:disabled {
	border-color: #dcdcde;
	background: #f6f7f7;
	color: #a7aaad;
	opacity: 1;
}

.furniture-detail-photos__controls .components-button.is-destructive {
	color: #b32d2e;
}

.furniture-detail-photos__select {
	margin-top: 1rem;
}

@media (max-width: 1100px) {
	.furniture-detail-photos--columns-5 .furniture-detail-photos__grid,
	.furniture-detail-photos--columns-6 .furniture-detail-photos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.furniture-detail-photos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.furniture-detail-photos--columns-1 .furniture-detail-photos__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Lightbox frontend per le foto di dettaglio. */
body.furniture-detail-lightbox-open {
	overflow: hidden;
}

.furniture-detail-lightbox[hidden] {
	display: none;
}

.furniture-detail-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: clamp(1rem, 3vw, 2rem);
	background: rgba(0, 0, 0, 0.9);
}

.furniture-detail-lightbox__content {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	width: min(100%, 96rem);
	height: min(100%, 62rem);
}

.furniture-detail-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
	margin: 0;
}

.furniture-detail-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 7rem);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.furniture-detail-lightbox__caption {
	max-width: 52rem;
	margin-top: 0.7rem;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
	text-align: center;
}

.furniture-detail-lightbox__close,
.furniture-detail-lightbox__arrow {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.furniture-detail-lightbox__close:hover,
.furniture-detail-lightbox__close:focus-visible,
.furniture-detail-lightbox__arrow:hover,
.furniture-detail-lightbox__arrow:focus-visible {
	background: #fff;
	color: #111;
}

.furniture-detail-lightbox__close:focus-visible,
.furniture-detail-lightbox__arrow:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.furniture-detail-lightbox__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	font-size: 2rem;
	line-height: 1;
}

.furniture-detail-lightbox__arrow {
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 clamp(0.35rem, 1.5vw, 1rem);
	border-color: rgba(255, 255, 255, 0.78);
	background: rgba(20, 20, 20, 0.62);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(6px);
}

.furniture-detail-lightbox__arrow[hidden] {
	display: none;
}

.furniture-detail-lightbox__arrow span {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.furniture-detail-lightbox__arrow--prev span {
	margin-left: 0.25rem;
	transform: rotate(-135deg);
}

.furniture-detail-lightbox__arrow--next span {
	margin-right: 0.25rem;
	transform: rotate(45deg);
}

.furniture-detail-lightbox__arrow--prev:hover,
.furniture-detail-lightbox__arrow--prev:focus-visible {
	transform: translateX(-2px);
}

.furniture-detail-lightbox__arrow--next:hover,
.furniture-detail-lightbox__arrow--next:focus-visible {
	transform: translateX(2px);
}

@media (max-width: 600px) {
	.furniture-detail-lightbox {
		padding: 0.75rem;
	}

	.furniture-detail-lightbox__content {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: minmax(0, 1fr) auto;
		gap: 0.75rem;
	}

	.furniture-detail-lightbox__figure {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.furniture-detail-lightbox__image {
		max-height: calc(100vh - 8rem);
	}

	.furniture-detail-lightbox__arrow {
		grid-row: 2;
		width: 100%;
		height: 2.75rem;
		margin: 0;
		border-radius: 4px;
	}

	.furniture-detail-lightbox__close {
		top: 0.5rem;
		right: 0.5rem;
	}

}
