.torevio-model-grid,
.torevio-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

.torevio-model-card,
.torevio-category-card {
	min-width: 0;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.torevio-model-card {
	display: flex;
	flex-direction: column;
}

.torevio-model-card__media,
.torevio-category-card__media {
	display: block;
	overflow: hidden;
	position: relative;
	aspect-ratio: 4 / 5;
	background: #f2f0ec;
	color: inherit;
	text-decoration: none;
}

.torevio-model-card__media img,
.torevio-category-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.torevio-model-card__body,
.torevio-category-card__body {
	padding: 1rem;
}

.torevio-model-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.torevio-model-card__category,
.torevio-model-card__code,
.torevio-model-detail__categories {
	margin: 0 0 .45rem;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.torevio-model-card__title,
.torevio-category-card h3 {
	margin: 0 0 .5rem;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.torevio-model-card__title a,
.torevio-category-card h3 a,
.torevio-model-card__link,
.torevio-category-card__body > a {
	color: inherit;
	text-decoration: none;
}

.torevio-model-card__facts {
	display: grid;
	gap: .35rem;
	margin: .75rem 0 0;
	padding-top: .75rem;
	border-top: 1px solid color-mix(in srgb, currentColor 11%, transparent);
}

.torevio-model-card__facts > div {
	display: grid;
	grid-template-columns: 3.25rem minmax(0, 1fr);
	gap: .45rem;
	align-items: baseline;
}

.torevio-model-card__facts dt,
.torevio-model-card__facts dd {
	margin: 0;
}

.torevio-model-card__facts dt {
	font-size: .66rem;
	font-weight: 750;
	letter-spacing: .07em;
	opacity: .62;
	text-transform: uppercase;
}

.torevio-model-card__facts dd {
	min-width: 0;
	font-size: .78rem;
	line-height: 1.45;
}

.torevio-model-card__link,
.torevio-category-card__body > a {
	display: inline-block;
	margin-top: .6rem;
	font-weight: 650;
}

.torevio-category-card__status {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	margin-top: .6rem;
	color: var(--wp--preset--color--muted, #6d6a64);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.torevio-category-card--empty .torevio-category-card__media {
	cursor: default;
}

.torevio-model-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .65rem;
	margin-top: auto;
	padding-top: .8rem;
}

.torevio-model-card__actions .torevio-model-card__link {
	margin-top: 0;
}

.torevio-model-card__whatsapp {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .55rem .7rem;
	background: #075e54;
	border: 1px solid #075e54;
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase;
}

.torevio-model-card__whatsapp:hover {
	background: #128c7e;
	border-color: #128c7e;
	color: #fff;
}

.torevio-model-filters {
	margin: 0 0 clamp(1.5rem, 4vw, 2.75rem);
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid color-mix(in srgb, currentColor 13%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 78%, transparent);
}

.torevio-model-search {
	display: flex;
	align-items: stretch;
	gap: .6rem;
}

.torevio-model-search input[type="search"] {
	flex: 1 1 22rem;
	min-width: 0;
	min-height: 3rem;
	padding: .7rem .85rem;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
}

.torevio-model-search button,
.torevio-model-search__reset {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	padding: .65rem 1rem;
	border: 1px solid #222;
	border-radius: 0;
	font: inherit;
	font-size: .78rem;
	font-weight: 750;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase;
}

.torevio-model-search button {
	background: #222;
	color: #fff;
	cursor: pointer;
}

.torevio-model-search__reset {
	background: transparent;
	color: inherit;
}

.torevio-model-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin-top: .9rem;
}

.torevio-model-filter-chips a {
	display: inline-flex;
	min-height: 2.35rem;
	align-items: center;
	padding: .45rem .75rem;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	color: inherit;
	font-size: .78rem;
	font-weight: 650;
	text-decoration: none;
}

.torevio-model-filter-chips a:hover,
.torevio-model-filter-chips a.is-active {
	background: #222;
	border-color: #222;
	color: #fff;
}

.torevio-model-results {
	margin: .85rem 0 0;
	font-size: .75rem;
	opacity: .68;
}

.torevio-new-buyer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.25rem, 4vw, 3rem);
	margin-top: clamp(3rem, 7vw, 5.5rem);
	padding: clamp(1.5rem, 5vw, 3rem);
	background: #222;
	color: #f3efe7;
}

.torevio-new-buyer-cta > div {
	max-width: 46rem;
}

.torevio-new-buyer-cta__eyebrow {
	margin: 0 0 .55rem;
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .1em;
	opacity: .72;
	text-transform: uppercase;
}

.torevio-new-buyer-cta h2 {
	margin: 0 0 .65rem;
	color: inherit;
	font-size: clamp(1.35rem, 3vw, 2rem);
}

.torevio-new-buyer-cta p:last-child {
	margin-bottom: 0;
}

.torevio-new-buyer-cta .torevio-button--primary {
	flex: 0 0 auto;
	background: #f3efe7;
	border-color: #f3efe7;
	color: #222;
}

.torevio-model-stage-label {
	display: inline-flex;
	margin: 0 0 .85rem;
	padding: .45rem .6rem;
	background: rgba(165, 101, 67, .12);
	color: #7d462d;
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .08em;
	line-height: 1.35;
	text-transform: uppercase;
}

.torevio-model-stage-notice {
	margin: 0 0 1.5rem;
	padding: 1rem 1.1rem;
	border-left: 3px solid #a56543;
	background: rgba(165, 101, 67, .08);
	color: #4f4139;
	font-size: .9rem;
	line-height: 1.6;
}

.torevio-placeholder-media {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: .75rem;
	padding: 1rem;
	background: linear-gradient(145deg, #f6f4f0, #ebe7e0);
	color: #6b6258;
	text-align: center;
}

.torevio-placeholder-media > span {
	font-weight: 750;
	letter-spacing: .16em;
}

.torevio-placeholder-logo {
	display: block;
	width: min(8rem, 55%) !important;
	height: auto !important;
	max-height: 5rem;
	object-fit: contain !important;
}

.torevio-placeholder-mark {
	display: grid;
	width: 3.25rem;
	height: 3.25rem;
	place-items: center;
	border: 1px solid currentColor;
	font-family: serif;
	font-size: 1.8rem;
}

.torevio-model-empty > p {
	margin-bottom: 1.5rem;
}

.torevio-model-empty--filtered {
	padding: clamp(1.25rem, 4vw, 2rem);
	border: 1px solid color-mix(in srgb, currentColor 13%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 72%, transparent);
}

.torevio-model-empty--filtered .torevio-button {
	width: auto;
}

.torevio-model-card--skeleton {
	pointer-events: none;
}

.torevio-skeleton-line {
	display: block;
	width: 80%;
	height: .7rem;
	margin: .45rem 0;
	background: #e9e5df;
}

.torevio-skeleton-line--short {
	width: 52%;
}

.torevio-model-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
	gap: clamp(1.5rem, 5vw, 5rem);
	align-items: start;
}

.torevio-model-detail__main-image {
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #f2f0ec;
}

.torevio-model-detail__main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: opacity .18s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}

.torevio-model-detail__main-image img.is-changing {
	opacity: .35;
}

.torevio-model-detail .torevio-model-detail__thumbs {
	display: flex;
	align-items: center;
	grid-template-columns: none;
	gap: .4rem;
	margin-top: .55rem;
	padding: .1rem .1rem .25rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.torevio-model-detail .torevio-model-detail__thumbs img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.torevio-model-detail .torevio-model-detail__thumbs > br {
	display: none;
}

.torevio-model-detail__thumb {
	display: block;
	flex: 0 0 clamp(4.5rem, 14vw, 5.75rem);
	min-width: 0;
	padding: 0;
	overflow: hidden;
	color: inherit;
	background: #f2f0ec;
	border: 2px solid transparent;
	border-radius: .35rem;
	cursor: pointer;
	line-height: 0;
	opacity: .72;
	touch-action: manipulation;
	scroll-snap-align: start;
	transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.torevio-model-detail__thumb[hidden] {
	display: none;
}

.torevio-model-detail__thumb:hover,
.torevio-model-detail__thumb:focus-visible,
.torevio-model-detail__thumb.is-active {
	opacity: 1;
	border-color: currentColor;
}

.torevio-model-detail__thumb:hover {
	transform: translateY(-2px);
}

.torevio-model-detail__thumb:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.torevio-model-detail__main-image {
		cursor: zoom-in;
	}

	.torevio-model-detail__main-image:hover img {
		transform: scale(1.055);
	}
}

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

@media (prefers-reduced-motion: reduce) {
	.torevio-model-detail__main-image img,
	.torevio-model-detail__thumb {
		transition: none;
	}

	.torevio-model-detail__main-image:hover img {
		transform: none;
	}
}

.torevio-model-detail__content > h1 {
	margin-top: 0;
}

.torevio-model-detail__code {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: .85rem 0;
	border-block: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}

.torevio-model-detail__code > p {
	display: flex;
	align-items: baseline;
	gap: .75rem;
	margin: 0;
}

.torevio-model-detail__code span {
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.torevio-model-detail__utilities {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: .4rem;
}

.torevio-model-detail__utilities button {
	min-height: 2.15rem;
	padding: .35rem .55rem;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.torevio-model-detail__utilities button:hover,
.torevio-model-detail__utilities button:focus-visible {
	border-color: currentColor;
}

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

.torevio-model-detail__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.torevio-model-detail .torevio-model-fact {
	align-items: start;
}

.torevio-model-detail .torevio-model-fact > p:empty {
	display: none;
}

.torevio-model-fact h2,
.torevio-model-description h2,
.torevio-model-cta h2 {
	font-size: 1rem;
}

.torevio-model-pills {
	display: flex;
	align-items: flex-start;
	align-self: start;
	flex-wrap: wrap;
	gap: .45rem;
}

.torevio-model-pills span,
.torevio-model-color {
	padding: .35rem .65rem;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .85rem;
	line-height: 1.35;
}

.torevio-model-color {
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.torevio-model-color:hover,
.torevio-model-color:focus-visible {
	border-color: currentColor;
}

.torevio-model-color:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.torevio-model-color.is-active,
.torevio-model-color[aria-pressed="true"] {
	background: #222;
	border-color: #222;
	color: #fff;
}

.torevio-model-description {
	margin: 1.5rem 0;
}

.torevio-model-cta {
	margin-top: 2rem;
	padding: clamp(1.1rem, 3vw, 2rem);
	background: #f2f0ec;
}

.torevio-contact-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}

.torevio-button {
	display: inline-flex;
	min-height: 2.8rem;
	align-items: center;
	justify-content: center;
	padding: .7rem 1.1rem;
	border: 1px solid currentColor;
	color: inherit;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.torevio-button--primary {
	background: #222;
	border-color: #222;
	color: #fff;
}

.torevio-button--disabled {
	cursor: not-allowed;
	opacity: .58;
}

.torevio-contact-details {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
}

.torevio-contact-detail {
	margin: 0;
}

.torevio-contact-detail > span {
	margin-right: .35rem;
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .7;
}

@media (max-width: 960px) {
	.torevio-model-grid,
	.torevio-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.torevio-model-detail {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.torevio-model-grid,
	.torevio-category-grid {
		grid-template-columns: 1fr;
	}

	.torevio-model-detail__facts {
		grid-template-columns: 1fr;
	}

	.torevio-contact-buttons,
	.torevio-button {
		width: 100%;
	}

	.torevio-model-search {
		flex-wrap: wrap;
	}

	.torevio-model-search input[type="search"] {
		flex-basis: 100%;
	}

	.torevio-model-search button,
	.torevio-model-search__reset {
		flex: 1 1 auto;
	}

	.torevio-new-buyer-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.torevio-model-detail__code {
		align-items: stretch;
		flex-direction: column;
	}

	.torevio-model-detail__utilities {
		justify-content: flex-start;
	}
}
