.arredamento-list {
	margin-top: clamp(2.5rem, 5vw, 4rem) !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));
}

.arredamento-list__image {
	position: absolute;
	inset: 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__body {
	padding: 1rem;
}

.arredamento-list__card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
}

.arredamento-list__card-title a {
	color: inherit;
	text-decoration: none;
}

.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: clamp(240px, 24vw, 340px);
	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;
}

@media (max-width: 600px) {
	.arredamento-categorie__link {
		min-height: min(74vw, 320px);
	}
}

.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;
	}
}
