/* Saint Germain - Propiedades (fuente; el archivo publicado se genera con mayor prioridad sobre el tema) */

/* Neutraliza los estilos de botón del tema (Hello Elementor pinta los botones de rosa #c36). */
body .sgp-scope.sgp-scope button,
body .sgp-scope.sgp-scope [type=button],
body .sgp-scope.sgp-scope [type=submit] {
	box-shadow: none;
	text-transform: none;
	text-decoration: none;
	white-space: normal;
	user-select: auto;
	line-height: inherit;
	letter-spacing: inherit;
	font-weight: inherit;
}
body .sgp-scope.sgp-scope a,
body .sgp-scope.sgp-scope a:hover { text-decoration: none; }

body .sgp-scope.sgp-scope {
	--sgp-bg: #F7F1E6;
	--sgp-navy: #0A1F3E;
	--sgp-gold: #C6A15B;
	--sgp-gold-dark: #7A5C26;
	--sgp-gold-light: #E2C98F;
	--sgp-line: #E2D5BD;
	--sgp-input: #CBBB9C;
	--sgp-muted: #4A5468;
	--sgp-text: #2E3A50;
	--sgp-wa: #1F8F4E;
	--sgp-error: #B3261E;

	background: var(--sgp-bg);
	color: var(--sgp-navy);
	font-family: 'Jost', sans-serif;
	display: block;
}
body .sgp-scope.sgp-scope *,
body .sgp-scope.sgp-scope *::before,
body .sgp-scope.sgp-scope *::after { box-sizing: border-box; }
body .sgp-scope.sgp-scope .sgp-ico { flex-shrink: 0; }

body .sgp-scope.sgp-scope .sgp-wrap { max-width: 1320px; margin: 0 auto; padding: 56px 28px 96px; }

/* ---------- Tipografía y piezas comunes ---------- */
body .sgp-scope.sgp-scope .sgp-kicker {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--sgp-gold-dark);
}
body .sgp-scope.sgp-scope .sgp-kicker span { width: 40px; height: 1px; background: var(--sgp-gold); }
body .sgp-scope.sgp-scope .sgp-h1 {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: clamp(40px, 5vw, 72px);
	line-height: .98;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--sgp-navy);
}
body .sgp-scope.sgp-scope .sgp-h1--single { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; text-transform: none; letter-spacing: 0; }
body .sgp-scope.sgp-scope .sgp-h2 {
	margin: 0 0 18px;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: 34px;
	line-height: 1.1;
	color: var(--sgp-navy);
}
body .sgp-scope.sgp-scope .sgp-h2--big { font-size: clamp(32px, 3.6vw, 46px); margin: 0; text-transform: uppercase; letter-spacing: .02em; }
body .sgp-scope.sgp-scope .sgp-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sgp-navy); text-decoration: none; }
body .sgp-scope.sgp-scope .sgp-link:hover { color: var(--sgp-gold-dark); }

body .sgp-scope.sgp-scope .sgp-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	background: var(--sgp-navy);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1;
}
body .sgp-scope.sgp-scope .sgp-badge--reservado { background: var(--sgp-gold); color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-badge--vendido,
body .sgp-scope.sgp-scope .sgp-badge--rentado { background: #8A2E2A; }

body .sgp-scope.sgp-scope .sgp-btn {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 0;
	font: 600 13px/1 'Jost', sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
body .sgp-scope.sgp-scope .sgp-btn--block { width: 100%; }
body .sgp-scope.sgp-scope .sgp-btn--solid { background: var(--sgp-navy); color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-btn--solid:hover { background: #13305C; color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-btn--ghost { border-color: var(--sgp-navy); background: transparent; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-btn--ghost:hover { background: var(--sgp-navy); color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-btn--wa { background: var(--sgp-wa); color: #FFFFFF; letter-spacing: .08em; }
body .sgp-scope.sgp-scope .sgp-btn--wa:hover { background: #18773F; color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-btn:disabled { opacity: .6; cursor: wait; }

/* Moneda */
body .sgp-scope.sgp-scope .sgp-cur { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
body .sgp-scope.sgp-scope .sgp-cur__label { margin-right: 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-cur__btn {
	min-width: 52px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--sgp-input);
	border-radius: 40px;
	background: transparent;
	color: var(--sgp-navy);
	font: 600 12px/1 'Jost', sans-serif;
	letter-spacing: .08em;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body .sgp-scope.sgp-scope .sgp-cur__btn:hover { border-color: var(--sgp-navy); background: transparent; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-cur__btn.is-active,
body .sgp-scope.sgp-scope .sgp-cur__btn.is-active:hover { background: var(--sgp-navy); border-color: var(--sgp-navy); color: #FFFFFF; }

body .sgp-scope.sgp-scope a:focus-visible,
body .sgp-scope.sgp-scope button:focus-visible,
body .sgp-scope.sgp-scope select:focus-visible { outline: 2px solid var(--sgp-gold); outline-offset: 2px; }

/* ---------- Listado ---------- */
body .sgp-scope.sgp-scope .sgp-list__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

body .sgp-scope.sgp-scope .sgp-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background: #FFFFFF;
	border: 1px solid var(--sgp-line);
	box-shadow: 0 18px 40px rgba(10, 31, 62, .08);
	margin: 0 0 28px;
}
body .sgp-scope.sgp-scope .sgp-filter {
	flex: 1 1 160px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 20px;
	border-right: 1px solid #EDE3D1;
}
body .sgp-scope.sgp-scope .sgp-filter__label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sgp-gold-dark); cursor: pointer; }
body .sgp-scope.sgp-scope .sgp-filter__select {
	width: 100%;
	min-height: 32px;
	padding: 4px 22px 4px 0;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1F3E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right center;
	-webkit-appearance: none;
	appearance: none;
	font: 400 16px/1.3 'Jost', sans-serif;
	color: var(--sgp-navy);
	cursor: pointer;
	box-shadow: none;
}
body .sgp-scope.sgp-scope .sgp-filter:focus-within { background: #FBF8F2; }
body .sgp-scope.sgp-scope .sgp-filters__go {
	flex: 0 1 170px;
	min-height: 68px;
	border: 0;
	border-radius: 0;
	background: var(--sgp-navy);
	color: #FFFFFF;
	font: 600 13px/1 'Jost', sans-serif;
	letter-spacing: .18em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
}
body .sgp-scope.sgp-scope .sgp-filters__go:hover { background: #13305C; color: #FFFFFF; }

body .sgp-scope.sgp-scope .sgp-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding-bottom: 20px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--sgp-line);
}
body .sgp-scope.sgp-scope .sgp-count { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-clear { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--sgp-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
body .sgp-scope.sgp-scope .sgp-bar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
body .sgp-scope.sgp-scope .sgp-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
body .sgp-scope.sgp-scope .sgp-sort label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-sort select {
	min-height: 40px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--sgp-input);
	border-radius: 0;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1F3E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
	font: 400 15px/1 'Jost', sans-serif;
	color: var(--sgp-navy);
	cursor: pointer;
}

body .sgp-scope.sgp-scope .sgp-results {
	--sgp-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--sgp-cols), minmax(0, 1fr));
	gap: 32px 28px;
}

/* Tarjeta */
body .sgp-scope.sgp-scope .sgp-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--sgp-line); transition: transform .35s ease, box-shadow .35s ease; }
body .sgp-scope.sgp-scope .sgp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10, 31, 62, .12); }
body .sgp-scope.sgp-scope .sgp-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-card__img,
body .sgp-scope.sgp-scope .sgp-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
body .sgp-scope.sgp-scope .sgp-card:hover .sgp-card__img,
body .sgp-scope.sgp-scope .sgp-card:hover .sgp-card__media img { transform: scale(1.05); }
body .sgp-scope.sgp-scope .sgp-card__noimg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #0A1F3E 0 14px, #0E2650 14px 28px); }
body .sgp-scope.sgp-scope .sgp-card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
body .sgp-scope.sgp-scope .sgp-card.is-vendido .sgp-card__media::after,
body .sgp-scope.sgp-scope .sgp-card.is-rentado .sgp-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(247, 241, 230, .45); }
body .sgp-scope.sgp-scope .sgp-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body .sgp-scope.sgp-scope .sgp-card__meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-card__title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 26px; line-height: 1.12; }
body .sgp-scope.sgp-scope .sgp-card__title a { color: var(--sgp-navy); text-decoration: none; }
body .sgp-scope.sgp-scope .sgp-card__title a::after { content: ""; position: absolute; inset: 0; }
body .sgp-scope.sgp-scope .sgp-card { position: relative; }
body .sgp-scope.sgp-scope .sgp-card__title a:hover { color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-card__title a:focus-visible { outline: none; }
body .sgp-scope.sgp-scope .sgp-card:focus-within { outline: 2px solid var(--sgp-gold); outline-offset: 3px; }
body .sgp-scope.sgp-scope .sgp-card__price { margin: 4px 0 0; display: flex; flex-direction: column; gap: 2px; }
body .sgp-scope.sgp-scope .sgp-card__main { font-size: 20px; font-weight: 600; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-card__alt { min-height: 18px; font-size: 14px; color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-specs {
	list-style: none;
	margin: auto 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #EFE4D0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 14px;
	color: var(--sgp-muted);
}
body .sgp-scope.sgp-scope .sgp-specs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
body .sgp-scope.sgp-scope .sgp-specs .sgp-ico { color: var(--sgp-gold-dark); }

/* Paginación */
body .sgp-scope.sgp-scope .sgp-pages { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
body .sgp-scope.sgp-scope .sgp-pages ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
body .sgp-scope.sgp-scope .sgp-pages li { margin: 0; min-width: 44px; text-align: center; line-height: 44px; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-pages li a { display: block; min-width: 44px; height: 44px; line-height: 44px; border: 1px solid var(--sgp-line); color: var(--sgp-navy); text-decoration: none; font-weight: 500; }
body .sgp-scope.sgp-scope .sgp-pages li a:hover { border-color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-pages li a.is-current { background: var(--sgp-navy); border-color: var(--sgp-navy); color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-pages__nav { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sgp-navy); text-decoration: none; }
body .sgp-scope.sgp-scope .sgp-pages__nav:hover { color: var(--sgp-gold-dark); }

/* Sin resultados */
body .sgp-scope.sgp-scope .sgp-empty { padding: 64px 24px; text-align: center; background: #FFFFFF; border: 1px solid var(--sgp-line); }
body .sgp-scope.sgp-scope .sgp-empty h2 { margin: 0 0 12px; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 34px; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-empty p { margin: 0 auto; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-empty__btns { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Ficha ---------- */
body .sgp-scope.sgp-scope .sgp-single { padding-top: 28px; }
body .sgp-scope.sgp-scope .sgp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-crumbs a { color: var(--sgp-muted); text-decoration: none; }
body .sgp-scope.sgp-scope .sgp-crumbs a:hover { color: var(--sgp-navy); text-decoration: underline; }

/* Galería */
body .sgp-scope.sgp-scope .sgp-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 600px); margin-bottom: 40px; }
body .sgp-scope.sgp-scope .sgp-gal--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
body .sgp-scope.sgp-scope .sgp-gal--2 .sgp-gal__side { grid-template-rows: 1fr; }
body .sgp-scope.sgp-scope .sgp-gal__main { grid-row: 1 / -1; }
body .sgp-scope.sgp-scope .sgp-gal--1 .sgp-gal__main { grid-row: auto; }
body .sgp-scope.sgp-scope .sgp-gal__side { grid-row: 1 / -1; display: grid; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
body .sgp-scope.sgp-scope .sgp-gal__main,
body .sgp-scope.sgp-scope .sgp-gal__thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--sgp-navy);
	overflow: hidden;
	cursor: zoom-in;
}
body .sgp-scope.sgp-scope .sgp-gal__img,
body .sgp-scope.sgp-scope .sgp-gal__main img,
body .sgp-scope.sgp-scope .sgp-gal__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
body .sgp-scope.sgp-scope .sgp-gal__main:hover img,
body .sgp-scope.sgp-scope .sgp-gal__thumb:hover img { transform: scale(1.03); }
body .sgp-scope.sgp-scope .sgp-gal__main .sgp-badge { position: absolute; top: 18px; left: 18px; }
body .sgp-scope.sgp-scope .sgp-gal__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 20, 40, .55); color: #FFFFFF; font-family: 'Cormorant Garamond', serif; font-size: 40px; }
body .sgp-scope.sgp-scope .sgp-gal__actions { position: absolute; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
body .sgp-scope.sgp-scope .sgp-chip {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: #FFFFFF;
	color: var(--sgp-navy);
	font: 600 12px/1 'Jost', sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(6, 20, 40, .2);
	cursor: pointer;
}
body .sgp-scope.sgp-scope .sgp-chip:hover { background: var(--sgp-navy); color: #FFFFFF; }

body .sgp-scope.sgp-scope .sgp-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; }
body .sgp-scope.sgp-scope .sgp-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
body .sgp-scope.sgp-scope .sgp-aside { flex: 1 1 340px; max-width: 440px; position: sticky; top: 104px; scroll-margin-top: 100px; }

body .sgp-scope.sgp-scope .sgp-title { display: flex; flex-direction: column; gap: 12px; }
body .sgp-scope.sgp-scope .sgp-title__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-ref { color: var(--sgp-muted); font-weight: 500; letter-spacing: .08em; }
body .sgp-scope.sgp-scope .sgp-title__loc { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-title__loc .sgp-ico { color: var(--sgp-gold-dark); }

body .sgp-scope.sgp-scope .sgp-priceblock {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--sgp-line);
	border-bottom: 1px solid var(--sgp-line);
}
body .sgp-scope.sgp-scope .sgp-priceblock__l { display: flex; flex-direction: column; gap: 4px; }
body .sgp-scope.sgp-scope .sgp-priceblock__label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-priceblock__main { font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-priceblock__alt { min-height: 22px; font-size: 17px; color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-priceblock__maint { font-size: 14px; color: var(--sgp-muted); }

body .sgp-scope.sgp-scope .sgp-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--sgp-line); border: 1px solid var(--sgp-line); }
body .sgp-scope.sgp-scope .sgp-fact { flex: 1 1 150px; min-width: 0; background: #FFFFFF; padding: 18px 18px; }
body .sgp-scope.sgp-scope .sgp-fact dt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sgp-muted); overflow-wrap: anywhere; }
body .sgp-scope.sgp-scope .sgp-fact dt .sgp-ico { color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-fact dd { margin: 8px 0 0; font-size: 22px; font-weight: 600; color: var(--sgp-navy); }

body .sgp-scope.sgp-scope .sgp-block { margin: 0; }
body .sgp-scope.sgp-scope .sgp-desc { font-size: 17px; line-height: 1.75; color: var(--sgp-text); }
body .sgp-scope.sgp-scope .sgp-desc p { margin: 0 0 1em; }
body .sgp-scope.sgp-scope .sgp-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; }
body .sgp-scope.sgp-scope .sgp-amen li { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--sgp-text); }
body .sgp-scope.sgp-scope .sgp-amen .sgp-ico { color: var(--sgp-gold-dark); }
body .sgp-scope.sgp-scope .sgp-map { position: relative; height: 340px; background: #EFE4D0; border: 1px solid var(--sgp-line); overflow: hidden; }
body .sgp-scope.sgp-scope .sgp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* Tarjeta del asesor */
body .sgp-scope.sgp-scope .sgp-agent { background: #FFFFFF; border: 1px solid var(--sgp-line); box-shadow: 0 18px 40px rgba(10, 31, 62, .08); }
body .sgp-scope.sgp-scope .sgp-agent__head { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--sgp-line); }
body .sgp-scope.sgp-scope .sgp-agent__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--sgp-bg); flex-shrink: 0; }
body .sgp-scope.sgp-scope .sgp-agent__name { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; line-height: 1; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-agent__role { margin: 6px 0 0; font-size: 13px; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-agent__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
body .sgp-scope.sgp-scope .sgp-agent__note { margin: -4px 0 0; font-size: 13px; text-align: center; color: var(--sgp-muted); }

body .sgp-scope.sgp-scope .sgp-visit { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid #EFE4D0; margin: 0; }
body .sgp-scope.sgp-scope .sgp-visit__title { margin: 0 0 4px; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body .sgp-scope.sgp-scope .sgp-pills { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
body .sgp-scope.sgp-scope .sgp-pills legend { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; }
body .sgp-scope.sgp-scope .sgp-pill { position: relative; cursor: pointer; }
body .sgp-scope.sgp-scope .sgp-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
body .sgp-scope.sgp-scope .sgp-pill span { min-height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--sgp-input); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--sgp-navy); transition: background .2s ease, color .2s ease; }
body .sgp-scope.sgp-scope .sgp-pill input:checked + span { background: var(--sgp-navy); border-color: var(--sgp-navy); color: #FFFFFF; }
body .sgp-scope.sgp-scope .sgp-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(198, 161, 91, .5); }
body .sgp-scope.sgp-scope .sgp-field { display: flex; flex-direction: column; gap: 5px; }
body .sgp-scope.sgp-scope .sgp-field__label { font-size: 13px; font-weight: 500; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-input {
	width: 100%;
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid var(--sgp-input);
	border-radius: 0;
	background: #FFFFFF;
	color: var(--sgp-navy);
	font: 400 16px/1.3 'Jost', sans-serif;
	box-shadow: none;
}
body .sgp-scope.sgp-scope .sgp-textarea { min-height: 70px; padding: 10px 12px; resize: vertical; }
body .sgp-scope.sgp-scope .sgp-input:focus { outline: none; border-color: var(--sgp-navy); box-shadow: 0 0 0 3px rgba(198, 161, 91, .35); }
body .sgp-scope.sgp-scope .sgp-input.is-invalid { border-color: var(--sgp-error); }
body .sgp-scope.sgp-scope .sgp-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--sgp-muted); cursor: pointer; }
body .sgp-scope.sgp-scope .sgp-check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-check a { color: var(--sgp-navy); text-decoration: underline; }
body .sgp-scope.sgp-scope .sgp-check.is-invalid span { color: var(--sgp-error); }
body .sgp-scope.sgp-scope .sgp-alert { margin: 0; padding: 10px 12px; border-left: 3px solid var(--sgp-error); background: #FDF1F0; color: var(--sgp-error); font-size: 14px; }
body .sgp-scope.sgp-scope .sgp-alert[hidden] { display: none; }
body .sgp-scope.sgp-scope .sgp-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0; }
body .sgp-scope.sgp-scope .sgp-done[hidden] { display: none; }
body .sgp-scope.sgp-scope .sgp-done .sgp-ico { color: var(--sgp-gold); }
body .sgp-scope.sgp-scope .sgp-done p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sgp-muted); }
body .sgp-scope.sgp-scope .sgp-done__title { font-family: 'Cormorant Garamond', serif; font-size: 28px !important; line-height: 1.1 !important; color: var(--sgp-navy) !important; outline: none; }

/* Similares */
body .sgp-scope.sgp-scope .sgp-similar { margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--sgp-line); }
body .sgp-scope.sgp-scope .sgp-similar__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }

/* Lightbox */
body .sgp-scope.sgp-scope .sgp-lb {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(6, 20, 40, .96);
	color: #FFFFFF;
}
body .sgp-scope.sgp-scope .sgp-lb::backdrop { background: rgba(6, 20, 40, .96); }
body .sgp-scope.sgp-scope .sgp-lb[open] { display: flex; align-items: center; justify-content: center; }
body .sgp-scope.sgp-scope .sgp-lb__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
body .sgp-scope.sgp-scope .sgp-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
body .sgp-scope.sgp-scope .sgp-lb__video { width: min(1200px, 100%); aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: 0; }
body .sgp-scope.sgp-scope .sgp-lb__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 13px; letter-spacing: .14em; color: #C9D1DE; }
body .sgp-scope.sgp-scope .sgp-lb__btn {
	position: absolute;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(6, 20, 40, .4);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
body .sgp-scope.sgp-scope .sgp-lb__btn:hover { background: #FFFFFF; color: var(--sgp-navy); }
body .sgp-scope.sgp-scope .sgp-lb__close { top: 16px; right: 16px; }
body .sgp-scope.sgp-scope .sgp-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
body .sgp-scope.sgp-scope .sgp-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
body .sgp-scope.sgp-scope .sgp-lb.is-video .sgp-lb__prev,
body .sgp-scope.sgp-scope .sgp-lb.is-video .sgp-lb__next { display: none; }

/* Barra fija en celular / tablet */
body .sgp-scope.sgp-scope .sgp-mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	body .sgp-scope.sgp-scope .sgp-results { --sgp-cols: 2; }
	body .sgp-scope.sgp-scope .sgp-mbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9980;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--sgp-line);
		box-shadow: 0 -10px 30px rgba(10, 31, 62, .12);
	}
	body .sgp-scope.sgp-scope .sgp-mbar .sgp-btn { min-height: 48px; padding: 0 10px; font-size: 12px; letter-spacing: .08em; }
	body .sgp-scope.sgp-scope .sgp-single-page { padding-bottom: 72px; }
	body .sgp-scope.sgp-scope .sgp-wrap { padding: 44px 24px 80px; }
	body .sgp-scope.sgp-scope .sgp-filter { flex: 1 1 30%; border-bottom: 1px solid #EDE3D1; }
	body .sgp-scope.sgp-scope .sgp-filters__go { flex: 1 1 100%; min-height: 56px; }
	body .sgp-scope.sgp-scope .sgp-aside { position: static; max-width: none; flex-basis: 100%; }
	body .sgp-scope.sgp-scope .sgp-gal { height: clamp(300px, 60vw, 520px); }
}
@media (max-width: 767px) {
	body .sgp-scope.sgp-scope .sgp-results { --sgp-cols: 1; }
	body .sgp-scope.sgp-scope .sgp-wrap { padding: 32px 16px 64px; }
	body .sgp-scope.sgp-scope .sgp-filter { flex: 1 1 100%; border-right: 0; }
	body .sgp-scope.sgp-scope .sgp-bar { flex-direction: column; align-items: flex-start; }
	body .sgp-scope.sgp-scope .sgp-gal { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; margin-left: -16px; margin-right: -16px; }
	body .sgp-scope.sgp-scope .sgp-gal__side { display: none; }
	body .sgp-scope.sgp-scope .sgp-gal__actions { left: auto; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-end; gap: 6px; }
	body .sgp-scope.sgp-scope .sgp-chip { min-height: 40px; padding: 0 12px; font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
	body .sgp-scope.sgp-scope .sgp-similar { margin-top: 56px; }
	body .sgp-scope.sgp-scope .sgp-lb__stage { padding: 56px 8px; }
	body .sgp-scope.sgp-scope .sgp-lb__prev,
body .sgp-scope.sgp-scope .sgp-lb__next { top: auto; bottom: 8px; transform: none; }
	body .sgp-scope.sgp-scope .sgp-pages__nav span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	body .sgp-scope.sgp-scope .sgp-card,
body .sgp-scope.sgp-scope .sgp-card__img,
body .sgp-scope.sgp-scope .sgp-gal__img { transition: none !important; }
	body .sgp-scope.sgp-scope .sgp-card:hover { transform: none; }
}

/* Bloquea el scroll de la página con la galería abierta */
html.sgp-noscroll { overflow: hidden; }

/* En la ficha, en celular, la barra fija reemplaza al botón flotante de WhatsApp del footer */
@media (max-width: 1024px) {
	body.single-sg_propiedad .sgf-wa { display: none !important; }
}
