/**
 * Casas Choice — single-imovel.php styles.
 *
 * Scoped to `.single-imovel` (enqueued only on is_singular('imovel')).
 * Reuses the theme's own palette tokens (--theme-palette-color-1..9,
 * defined in style.css) — confirmed to match the Penpot hex values exactly.
 * Two extra warm tones used only by the consultant/related panels
 * (--imv-warm-*) are local to this file since they aren't part of the
 * sitewide 9-swatch palette.
 */

.single-imovel {
	--imv-container: 1800px;
	--imv-gutter: min(4vw, 60px);
	--imv-font-heading: 'Montserrat', sans-serif;
	--imv-font-body: 'Source Sans Pro', sans-serif;
	--imv-ink: var(--theme-palette-color-5);      /* #333538 */
	--imv-ink-soft: var(--theme-palette-color-6);  /* #54565A */
	--imv-border: var(--theme-palette-color-7);    /* #C4C7CA */
	--imv-bg: var(--theme-palette-color-9);        /* #FFFFFF */
	--imv-bg-alt: var(--theme-palette-color-8);    /* #F2F3F4 */
	--imv-dark: var(--theme-palette-color-4);      /* #181510 */
	--imv-accent: var(--theme-palette-color-1);    /* #00A6CE */
	--imv-error: var(--theme-palette-color-3);     /* #FF5100 */
	--imv-warm-ink: #211E16;
	--imv-warm-light: #F6F3EA;
	--imv-warm-muted: #CFCDC3;
	--imv-warm-soft: #6E6857;

	background: var(--imv-bg);
	color: var(--imv-ink);
	font-family: var(--imv-font-body);
}

.single-imovel * {
	box-sizing: border-box;
}

.imv-container {
	width: 100%;
	max-width: var(--imv-container);
	margin-inline: auto;
	padding-inline: var(--imv-gutter);
	padding-block: 24px;
}

.imv-section {
	padding-block: 80px;
}

.imv-section--tight {
	padding-block: 0;
}

.imv-section--alt {
	background: var(--imv-bg-alt);
}

.imv-eyebrow {
	font-family: var(--imv-font-heading);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	color: var(--imv-accent);
}

.imv-h1 {
	font-family: var(--imv-font-heading);
	font-weight: 300;
	font-size: 44px;
	line-height: 1.1;
	color: var(--imv-ink);
	margin: 0;
}

.imv-h2 {
	font-family: var(--imv-font-heading);
	font-weight: 300;
	font-size: 34px;
	line-height: 1.2;
	color: var(--imv-ink);
	margin: 0;
}

.imv-h2--lg {
	font-size: 36px;
}

.imv-h3 {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.2;
	color: var(--imv-ink);
	margin: 0;
}

.imv-p {
	font-family: var(--imv-font-heading);
	font-size: 16px;
	line-height: 2;
	color: var(--imv-ink);
	margin: 0;
}

.imv-lede {
	font-family: var(--imv-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--imv-ink-soft);
	margin: 0;
}

/* Buttons — the only style used across the whole ficha: solid dark pill,
   white text, 6px radius. (Confirmed in Penpot: every CTA on this page,
   incl. the "secondary" ones, shares this exact fill.) */
.imv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding-inline: 24px;
	border-radius: 6px;
	background: var(--imv-ink);
	color: var(--imv-bg);
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s ease, opacity .2s ease;
}

.imv-btn:hover {
	opacity: .85;
	color: var(--imv-bg);
}

.imv-btn--block {
	width: 100%;
}

.imv-btn svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.imv-link {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	color: var(--imv-ink);
	text-decoration: none;
}

.imv-link:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.imv-hero {
	position: relative;
	height: 860px;
	max-height: 62vw;
	min-height: 420px;
	overflow: hidden;
}

.imv-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.imv-hero__gradient {
	position: absolute;
	inset: 0;
	height: 178px;
	background: linear-gradient(to bottom, rgba(24, 21, 16, .55), rgba(24, 21, 16, 0));
	pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* Breadcrumb + title + specs bar                                         */
/* ---------------------------------------------------------------------- */

.imv-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
}

.imv-breadcrumb a,
.imv-breadcrumb span {
	color: var(--imv-ink);
	text-decoration: none;
	opacity: .6;
}

.imv-breadcrumb li:last-child span {
	opacity: 1;
}

.imv-breadcrumb li::after {
	content: '›';
	margin-left: 8px;
	opacity: .4;
}

.imv-breadcrumb li:last-child::after {
	content: '';
	margin: 0;
}

.imv-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.imv-title-row__heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
}

.imv-subtitle {
	font-family: var(--imv-font-heading);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.667;
	color: var(--imv-ink);
	margin: 0;
}

.imv-title-row__actions {
	display: flex;
	gap: 12px;
	flex: none;
}

/* Lives at the top of the description column (.imv-desc), width of that
   column only — not a full-width bar under the title row, despite the
   name/its origin in title-bar.php's old markup. */
.imv-specs-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
	padding-block: 16px 22px;
	border-bottom: 1px solid rgba(51, 53, 56, .15);
}

.imv-spec {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.imv-spec__label {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	line-height: .8;
	text-transform: uppercase;
	color: var(--imv-ink);
	opacity: .6;
}

.imv-spec__value {
	font-family: var(--imv-font-heading);
	font-weight: 400;
	font-size: 26px;
	line-height: 1;
	color: var(--imv-ink);
}

/* ---------------------------------------------------------------------- */
/* Description + destaques + consultant card                              */
/* ---------------------------------------------------------------------- */

.imv-desc-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 100px;
	align-items: start;
}

.imv-desc {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.imv-desc__content p {
	margin: 0 0 22px;
}

.imv-desc__content p:last-child {
	margin-bottom: 0;
}

.imv-highlights {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-top: 8px;
}

.imv-highlights__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 44px;
}

.imv-highlights__item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-family: var(--imv-font-body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--imv-ink);
}

.imv-highlights__item::before {
	content: '';
	width: 6px;
	height: 6px;
	flex: none;
	background: var(--imv-accent);
	margin-top: 8px;
}

.imv-consultant-card {
	border: 1px solid var(--imv-border);
	border-radius: 10px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.imv-consultant-card__eyebrow {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	color: var(--imv-ink);
}

.imv-consultant-card__body {
	display: flex;
	align-items: center;
	gap: 12px;
}

.imv-consultant-card__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	background: var(--imv-bg-alt);
}

.imv-consultant-card__name {
	font-family: var(--imv-font-heading);
	font-weight: 600;
	font-size: 17px;
	color: var(--imv-ink);
}

.imv-consultant-card__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--imv-font-heading);
	font-size: 15px;
	color: var(--imv-ink);
	opacity: .6;
	text-decoration: none;
}

.imv-consultant-card__phone svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.imv-consultant-card__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.imv-consultant-card__actions .imv-btn {
	flex: 1;
}

/* ---------------------------------------------------------------------- */
/* Gallery                                                                 */
/* ---------------------------------------------------------------------- */

.imv-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.imv-gallery__item {
	aspect-ratio: 437 / 470;
	overflow: hidden;
	border-radius: 4px;
}

.imv-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.imv-gallery__item:hover img {
	transform: scale(1.04);
}

/* ---------------------------------------------------------------------- */
/* "Essencial" — caracteristicas lists + plantas carousel + specs table    */
/* ---------------------------------------------------------------------- */

.imv-essencial-grid {
	display: grid;
	grid-template-columns: 1.2fr 1.5fr;
	gap: 96px;
	align-items: start;
}

.imv-essencial-grid > div {
	/* Grid items default to min-width:auto, which won't shrink below
	 * content's intrinsic size — the Plantas Swiper's un-initialized
	 * slides can briefly report a huge intrinsic width before Swiper's JS
	 * constrains them, and the grid track locks that in permanently
	 * without this override (same fix as .cc-listing-card in comprar.css). */
	min-width: 0;
}

.imv-char-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 44px;
	margin-top: 32px;
}

.imv-char-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.imv-char-col__label {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	line-height: .8;
	color: var(--imv-ink);
	opacity: .5;
}

.imv-char-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--imv-font-heading);
	font-size: 14px;
	line-height: 2;
	color: var(--imv-ink);
}

.imv-essencial-actions {
	display: flex;
	gap: 14px;
	margin-top: 20px;
}

.imv-essencial-actions .imv-btn {
	flex: 1;
}

.imv-plantas {
	position: relative;
	border: 1px solid var(--imv-border);
	border-radius: 8px;
	overflow: hidden;
}

.imv-plantas__swiper {
	width: 100%;
}

.imv-plantas__slide {
	aspect-ratio: 4 / 3;
	background: var(--imv-bg-alt);
}

.imv-plantas__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.imv-plantas__nav {
	position: absolute;
	top: 50%;
	/* Swiper's own CSS puts `.swiper { z-index: 1 }`, which — being a
	 * positioned element with an explicit z-index — paints above a
	 * z-index:auto sibling regardless of DOM order. These buttons overlap
	 * the slide area (unlike the lightbox's, which sit outside it), so
	 * they need their own explicit stacking level to land on top. */
	z-index: 2;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--imv-bg);
	border: 1px solid var(--imv-border);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.imv-plantas__nav--prev {
	left: 16px;
}

.imv-plantas__nav--next {
	right: 16px;
}

.imv-plantas__counter {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	background: rgba(255, 255, 255, .9);
	border-radius: 4px;
	padding: 4px 10px;
	font-family: var(--imv-font-body);
	font-size: 14px;
}

.imv-attr-table {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 40px;
	margin-top: 26px;
	padding: 24px;
	border: 1px solid rgba(33, 30, 22, .2);
}

.imv-attr {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Row dividers — the box's own top edge already draws row 1's, so this
 * only touches rows 2+. Segmented per grid cell (a true edge-to-edge line
 * would need to bridge the column-gap, not worth the extra markup here). */
.imv-attr-table .imv-attr:nth-child(n+4) {
	padding-top: 16px;
	border-top: 1px solid rgba(33, 30, 22, .2);
	margin-top: -16px;
}

.imv-attr__label {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 14px;
	color: var(--imv-ink);
	opacity: .5;
}

.imv-attr__value {
	font-family: var(--imv-font-heading);
	font-size: 18px;
	color: var(--imv-ink);
}

.imv-attr__value--accent {
	color: var(--imv-accent);
}

/* ---------------------------------------------------------------------- */
/* Consultant / form panel                                                 */
/* ---------------------------------------------------------------------- */

.imv-cform {
	display: grid;
	grid-template-columns: .9fr 1.4fr;
	background: var(--imv-warm-light);
	border-radius: 12px;
	overflow: hidden;
}

.imv-cform__photo {
	position: relative;
	min-height: 520px;
	background-size: cover;
	background-position: center;
}

.imv-cform__photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(24, 21, 16, .75), rgba(24, 21, 16, 0) 55%);
}

.imv-cform__photo-caption {
	position: absolute;
	left: 32px;
	bottom: 32px;
	right: 32px;
	z-index: 1;
}

.imv-cform__eyebrow {
	font-family: var(--imv-font-heading);
	font-size: 16px;
	color: var(--imv-warm-muted);
}

.imv-cform__name {
	font-family: var(--imv-font-heading);
	font-weight: 400;
	font-size: 24px;
	color: var(--imv-warm-light);
	margin: 4px 0 8px;
}

.imv-cform__phone {
	font-family: var(--imv-font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--imv-warm-ink);
	background: var(--imv-bg);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none;
}

.imv-cform__body {
	padding: 56px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.imv-cform__intro {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

/* ---------------------------------------------------------------------- */
/* Related properties                                                     */
/* ---------------------------------------------------------------------- */

.imv-related__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.imv-related__intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 640px;
}

.imv-related__intro .imv-h2 {
	color: var(--imv-warm-ink);
}

.imv-related__intro p {
	font-family: var(--imv-font-body);
	font-size: 16px;
	color: var(--imv-warm-soft);
	margin: 0;
}

.imv-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.imv-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-decoration: none;
	color: inherit;
}

.imv-card__img {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: var(--imv-bg-alt);
}

.imv-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.imv-card__title {
	font-family: var(--imv-font-heading);
	font-weight: 400;
	font-size: 20px;
	color: var(--imv-ink);
}

.imv-card__stats {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--imv-font-heading);
	font-size: 14px;
	color: var(--imv-ink);
	opacity: .6;
	letter-spacing: .25px;
}

.imv-card__stats span:not(:last-child)::after {
	content: '•';
	margin-left: 8px;
	opacity: .7;
}

.imv-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.imv-card__price {
	font-family: var(--imv-font-heading);
	font-weight: 400;
	font-size: 24px;
	color: var(--imv-ink);
}

.imv-card__cta {
	font-family: var(--imv-font-heading);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--imv-accent);
}

/* ---------------------------------------------------------------------- */
/* Off-market                                                              */
/* ---------------------------------------------------------------------- */

.imv-offmarket {
	background: var(--imv-ink);
	border-radius: 12px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	overflow: hidden;
}

.imv-offmarket__intro {
	padding: 48px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}

.imv-offmarket__intro .imv-h2 {
	color: var(--imv-bg);
}

.imv-offmarket__intro p {
	font-family: var(--imv-font-heading);
	font-size: 16px;
	line-height: 1.7;
	color: var(--imv-bg);
	margin: 0;
}

.imv-offmarket__note {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 16px;
	color: var(--imv-bg);
}

.imv-offmarket__code {
	background: var(--imv-bg);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}

.imv-offmarket__code h3 {
	font-family: var(--imv-font-heading);
	font-weight: 500;
	font-size: 18px;
	color: var(--imv-ink-soft);
	margin: 0;
}

.imv-offmarket__code-row {
	display: flex;
	gap: 8px;
}

.imv-offmarket__code-row input {
	flex: 1;
	height: 44px;
	border-radius: 6px;
	border: 1px solid var(--imv-border);
	padding-inline: 16px;
	font-family: var(--imv-font-heading);
	font-size: 14px;
}

.imv-offmarket__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #979696;
	font-family: var(--imv-font-heading);
	font-size: 14px;
	letter-spacing: 2px;
}

.imv-offmarket__divider::before,
.imv-offmarket__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--imv-border);
}

.imv-offmarket__ask p {
	font-family: var(--imv-font-heading);
	font-size: 16px;
	color: var(--imv-ink-soft);
	margin: 0 0 8px;
}

/* ---------------------------------------------------------------------- */
/* Sticky bar                                                              */
/* ---------------------------------------------------------------------- */

.imv-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	background: var(--imv-bg-alt);
	box-shadow: 0 -4px 8px rgba(0, 0, 0, .12);
	transform: translateY(100%);
	transition: transform .25s ease;
}

.imv-sticky-bar.is-visible {
	transform: translateY(0);
}

.imv-sticky-bar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 12px;
}

.imv-sticky-bar__id {
	display: flex;
	align-items: baseline;
	gap: 24px;
	min-width: 0;
}

.imv-sticky-bar__name {
	font-family: var(--imv-font-heading);
	font-weight: 300;
	font-size: 32px;
	color: var(--imv-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.imv-sticky-bar__price {
	font-family: var(--imv-font-heading);
	font-size: 16px;
	color: var(--imv-ink);
	white-space: nowrap;
}

.imv-sticky-bar__links {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: none;
}

.imv-sticky-bar__links a:not(.imv-btn) {
	font-family: var(--imv-font-heading);
	font-size: 14px;
	color: var(--imv-ink);
	text-decoration: none;
}

.imv-sticky-bar__links a:not(.imv-btn):hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------- */
/* Lightbox                                                                */
/* ---------------------------------------------------------------------- */

.imv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(24, 21, 16, .92);
	display: none;
	align-items: center;
	justify-content: center;
}

.imv-lightbox.is-open {
	display: flex;
}

.imv-lightbox__swiper {
	width: 90vw;
	height: 80vh;
}

.imv-lightbox__swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.imv-lightbox__swiper img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.imv-lightbox__close,
.imv-lightbox__prev,
.imv-lightbox__next {
	position: absolute;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.imv-lightbox__close {
	top: 24px;
	right: 24px;
}

.imv-lightbox__prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.imv-lightbox__next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.imv-lightbox__counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-family: var(--imv-font-body);
	font-size: 14px;
}

/* ---------------------------------------------------------------------- */
/* Mobile                                                                  */
/* ---------------------------------------------------------------------- */

@media (max-width: 768px) {
	.single-imovel {
		--imv-gutter: 20px;
	}

	.imv-section {
		padding-block: 48px;
	}

	.imv-h1,
	.imv-h2 {
		font-size: 30px;
		line-height: 1.4;
	}

	.imv-hero {
		height: 70vw;
		max-height: none;
	}

	.imv-title-row {
		flex-direction: column;
		align-items: stretch;
	}

	.imv-title-row__actions {
		flex-wrap: wrap;
	}

	.imv-title-row__actions .imv-btn {
		flex: 1;
	}

	/* A different layout, not just a reflow of the desktop one: boxed
	 * (border on all sides, not just bottom), each spec a label-left/
	 * value-right row instead of a label-above-value column, and in a
	 * different order (Quartos, Casas de Banho, Área, Preço) with Preço
	 * visually emphasised. `order` handles the reshuffle without needing
	 * a different DOM order for desktop vs. mobile. */
	.imv-specs-bar {
		flex-direction: column;
		gap: 0;
		padding: 0 20px;
		border: 1px solid rgba(51, 53, 56, .15);
	}

	.imv-spec {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		padding-block: 14px;
		border-top: 1px solid rgba(51, 53, 56, .15);
	}

	.imv-spec:nth-child(1) { order: 3; } /* Área */
	.imv-spec:nth-child(2) { order: 1; border-top: none; } /* Quartos — visually first */
	.imv-spec:nth-child(3) { order: 2; } /* Casas de banho */

	.imv-spec--preco {
		order: 4;
	}

	.imv-spec--preco .imv-spec__label {
		opacity: 1;
	}

	.imv-spec--preco .imv-spec__value {
		font-size: 30px;
		font-weight: 500;
	}

	.imv-desc-grid,
	.imv-essencial-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.imv-highlights .imv-h3 {
		text-transform: uppercase;
		letter-spacing: .5px;
	}

	.imv-highlights__grid {
		grid-template-columns: 1fr;
	}

	.imv-gallery {
		display: flex;
		height: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 8px;
	}

	.imv-gallery__item {
		flex: none;
		width: 88%;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
	}

	.imv-char-cols,
	.imv-attr-table {
		grid-template-columns: 1fr 1fr;
	}

	/* Row 2 starts at item 3 in a 2-column layout (item 4 already gets its
	 * divider from the desktop 3-column rule, which still matches here). */
	.imv-attr-table .imv-attr:nth-child(3) {
		padding-top: 16px;
		border-top: 1px solid rgba(33, 30, 22, .2);
		margin-top: -16px;
	}

	.imv-essencial-actions {
		flex-direction: column;
	}

	.imv-cform {
		grid-template-columns: 1fr;
	}

	.imv-cform__photo {
		min-height: 320px;
	}

	.imv-cform__body {
		padding: 32px 20px;
	}

	.imv-related-grid {
		grid-template-columns: 1fr;
	}

	.imv-offmarket {
		grid-template-columns: 1fr;
	}

	.imv-offmarket__intro,
	.imv-offmarket__code {
		padding: 32px 20px;
	}

	/* Condensed sticky bar: price + single CTA only. */
	.imv-sticky-bar__name,
	.imv-sticky-bar__links a:not(.imv-btn) {
		display: none;
	}

	.imv-sticky-bar__row {
		padding-block: 10px;
	}

	.imv-sticky-bar__id {
		gap: 8px;
	}

	.imv-sticky-bar__price {
		font-size: 18px;
		font-weight: 500;
	}
}
