/**
 * PSB Configuradores 2026 — patrón visual familia (Stamping + armonía 001).
 * Scoped bajo .psb-pres-cfg-mother y .psb-pres-cfg-2026.
 */

body.psb-pres-portal-shell .psb-pres-cfg-mother-shell.psb-pres-panel__form-card,
body.psb-pres-portal-shell .psb-pres-cfg-2026-shell.psb-pres-panel__form-card {
	padding: 1.15rem 1.25rem 1.25rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother__workrow,
body.psb-pres-portal-shell .psb-pres-cfg-2026__workrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(248px, 292px);
	gap: 1.1rem 1.35rem;
	align-items: start;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother__main,
body.psb-pres-portal-shell .psb-pres-cfg-2026__main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-section {
	border: 1px solid #e7e5e4;
	border-radius: 12px;
	background: #fafaf9;
	padding: 0.95rem 1rem 1rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-section__head {
	margin-bottom: 0.7rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-section__title {
	margin: 0;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #57534e;
}

body.psb-pres-portal-shell .psb-pres-cfg-section__body {
	min-width: 0;
}

body.psb-pres-portal-shell .psb-pres-cfg-grid {
	display: grid;
	gap: 0.65rem 0.85rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-grid--2 {
	grid-template-columns: 1fr;
}

body.psb-pres-portal-shell .psb-pres-cfg-grid--4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 600px) {
	body.psb-pres-portal-shell .psb-pres-cfg-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.psb-pres-portal-shell .psb-pres-cfg-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.psb-pres-portal-shell .psb-pres-cfg-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

body.psb-pres-portal-shell .psb-pres-cfg-field__label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: #44403c;
}

body.psb-pres-portal-shell .psb-pres-cfg-input {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid #d6d3d1;
	padding: 11px 14px;
	font-size: 15px;
	line-height: 1.35;
	background: #fff;
	color: #1c1917;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.psb-pres-portal-shell .psb-pres-cfg-input:focus {
	outline: none;
	border-color: #78716c;
	box-shadow: 0 0 0 3px rgba(41, 37, 36, 0.1);
}

body.psb-pres-portal-shell .psb-pres-cfg-field__hint {
	margin: 0.45rem 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: #78716c;
}

body.psb-pres-portal-shell .psb-pres-cfg-field--spaced {
	margin-top: 0.75rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-st-mg-grid,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-st-mg-grid {
	max-width: none;
}

body.psb-pres-portal-shell .psb-pres-cfg-medidas {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.5rem 0.75rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-medidas__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 7.5rem;
	max-width: 11rem;
	min-width: 0;
}

body.psb-pres-portal-shell .psb-pres-cfg-medidas__x {
	align-self: center;
	color: #78716c;
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1;
	padding-bottom: 0.65rem;
	user-select: none;
}

/* Tarjetas — más presencia y selección clara */
body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-grid,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-grid {
	gap: 0.65rem;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-st-pelicula-grid,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-st-pelicula-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
	body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-st-pelicula-grid,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-st-pelicula-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__inner,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__inner {
	position: relative;
	align-items: center;
	gap: 10px;
	padding: 16px 14px;
	min-height: 72px;
	border-width: 1px;
	border-radius: 11px;
	background: #fff;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__inner::after,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__inner::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid #d6d3d1;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__input:checked + .psb-pres-pl-radio-card__inner,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__input:checked + .psb-pres-pl-radio-card__inner {
	border-color: #0f766e;
	border-width: 2px;
	background: #f0fdfa;
	box-shadow: 0 6px 20px rgba(15, 118, 110, 0.14);
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__input:checked + .psb-pres-pl-radio-card__inner::after,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__input:checked + .psb-pres-pl-radio-card__inner::after {
	border-color: #0f766e;
	background: #0f766e;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__icon,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-pl-radio-card__title,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-pl-radio-card__title {
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-st-mg-slot__input,
body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-st-mg-slot__input.psb-pres-cfg-input,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-st-mg-slot__input,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-st-mg-slot__input.psb-pres-cfg-input {
	max-width: none;
	text-align: center;
	font-weight: 650;
}

/* Panel precio — ancla visual (alineado con total presupuesto en construcción) */
body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price {
	margin-top: 0;
	padding: 1.35rem 1.25rem 1.2rem;
	border-radius: 12px;
	border: 1px solid #d6d3d1;
	border-top: 1px solid #d6d3d1;
	background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
	box-shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
}

@media (min-width: 901px) {
	body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price,
	body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price {
		position: sticky;
		top: 0.75rem;
	}
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__label,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__label {
	font-size: 10px;
	letter-spacing: 0.11em;
	margin-bottom: 0.35rem;
	color: #44403c;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__amount,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__amount {
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	font-weight: 800;
	color: #1c1917;
	line-height: 1.1;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__hint,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__hint {
	margin-top: 0.35rem;
	font-size: 13px;
	line-height: 1.45;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__actions,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__actions {
	margin-top: 1rem;
	padding-top: 0.95rem;
	border-top: 1px solid #e7e5e4;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__btn,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__btn {
	min-height: 50px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 10px;
}

body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price__btn-next,
body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price__btn-next {
	font-size: 13px;
}

@media (max-width: 900px) {
	body.psb-pres-portal-shell .psb-pres-cfg-mother__workrow,
	body.psb-pres-portal-shell .psb-pres-cfg-2026__workrow {
		grid-template-columns: 1fr;
	}

	body.psb-pres-portal-shell .psb-pres-cfg-mother .psb-pres-live-price,
	body.psb-pres-portal-shell .psb-pres-cfg-2026 .psb-pres-live-price {
		position: static;
		top: auto;
	}
}
