.pas,
.pas-success {
	--pas-ink: #191715;
	--pas-muted: #6f6864;
	--pas-background: #f4f2ef;
	--pas-surface: #ffffff;
	--pas-accent: #4a3731;
	--pas-accent-hover: #5a433b;
	--pas-border: rgba(74, 55, 49, 0.18);
	--pas-focus: #9b6f5f;
	box-sizing: border-box;
	font-family: inherit;
	color: var(--pas-ink);
}

.pas *,
.pas *::before,
.pas *::after,
.pas-success *,
.pas-success *::before,
.pas-success *::after {
	box-sizing: inherit;
}

.pas [hidden] {
	display: none !important;
}

.pas {
	width: 100%;
	padding: clamp(1.25rem, 4vw, 3.5rem) clamp(0.875rem, 3vw, 2rem);
	background: var(--pas-background);
}

.pas__surface {
	width: min(100%, 48rem);
	margin: 0 auto;
}

.pas__header {
	max-width: 40rem;
	margin: 0 auto clamp(1.1rem, 3vw, 1.5rem);
	text-align: center;
}

.pas__title,
.pas-success h1 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(2.25rem, 9vw, 3.35rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--pas-ink);
}

.pas__intro {
	max-width: 37rem;
	margin: 1rem auto 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pas-muted);
}

.pas__information {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.pas__information-item,
.pas__item,
.pas__panel,
.pas__selection-summary {
	background: var(--pas-surface);
	border: 1px solid var(--pas-border);
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(34, 26, 23, 0.035);
}

.pas__information-item {
	padding: 1.15rem 1.2rem;
}

.pas__information-item h2,
.pas__item-name {
	margin: 0;
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--pas-ink);
}

.pas__information-item p,
.pas__item-description {
	margin: 0.32rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--pas-muted);
}

.pas__contact {
	margin: 1.2rem 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	text-align: center;
	color: var(--pas-muted);
}

.pas__contact a {
	font-weight: 600;
	color: var(--pas-accent);
	text-underline-offset: 0.18em;
}

.pas button,
.pas input,
.pas select {
	font: inherit;
}

.pas button {
	-webkit-tap-highlight-color: transparent;
	text-decoration: none !important;
}

.pas button::before,
.pas button::after {
	display: none !important;
	content: none !important;
}

.pas__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3.35rem;
	margin: 0;
	padding: 0.85rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.015em;
	color: #ffffff;
	background: var(--pas-accent);
	border: 1px solid var(--pas-accent);
	border-radius: 8px;
	cursor: pointer;
}

.pas__primary:disabled {
	cursor: not-allowed;
	color: #918984;
	background: #dedad7;
	border-color: #dedad7;
}

.pas__primary--intro {
	display: flex;
	max-width: 22rem;
	margin: 0 auto clamp(1.75rem, 5vw, 3rem);
}

.pas__back,
.pas__text-button {
	appearance: none;
	margin: 0;
	padding: 0;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--pas-accent);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}

.pas__back {
	margin-bottom: 0.9rem;
}

.pas__panel {
	padding: clamp(1.1rem, 4vw, 2rem);
}

.pas__section-title {
	margin: 0 0 0.4rem;
	font-family: inherit;
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--pas-ink);
}

.pas__section-intro {
	margin: 0 0 1.4rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--pas-muted);
}

.pas__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.pas__field {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pas-ink);
}

.pas__field--wide {
	grid-column: 1 / -1;
}

.pas__field small {
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--pas-muted);
}

.pas__field input,
.pas__field select {
	appearance: none;
	width: 100%;
	min-height: 3.15rem;
	margin: 0;
	padding: 0.72rem 0.85rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3;
	color: var(--pas-ink);
	background: #ffffff;
	border: 1px solid var(--pas-border);
	border-radius: 8px;
}

.pas__field select {
	padding-right: 2.6rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--pas-accent) 50%), linear-gradient(135deg, var(--pas-accent) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 1.38rem, calc(100% - 0.85rem) 1.38rem;
	background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
	background-repeat: no-repeat;
}

.pas__choice-group {
	display: grid;
	gap: 0.65rem;
	margin: 1.35rem 0 0;
	padding: 0;
	border: 0;
}

.pas__cleaning-choice {
	margin-top: 1.35rem;
}

.pas__choice-group legend {
	margin-bottom: 0.65rem;
	font-size: clamp(0.76rem, 3.5vw, 0.9rem);
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--pas-ink);
}

.pas__choice {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.9rem;
	background: var(--pas-background);
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
}

.pas__choice:has(input:checked),
.pas__choice.is-selected {
	color: #ffffff;
	background: var(--pas-accent);
	border-color: var(--pas-accent);
	box-shadow: 0 5px 14px rgba(38, 29, 26, 0.12);
}

.pas__choice input,
.pas__consent input,
.pas__checkbox-control input {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0.12rem 0 0;
	accent-color: var(--pas-accent);
}

.pas__choice input[type="checkbox"],
.pas__consent input[type="checkbox"],
.pas__checkbox-control input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 1.2rem;
	background-color: #ffffff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 0.9rem 0.9rem;
	border: 1.5px solid var(--pas-accent);
	border-radius: 3px;
}

.pas__choice input[type="checkbox"]:checked,
.pas__consent input[type="checkbox"]:checked,
.pas__checkbox-control input[type="checkbox"]:checked {
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234a3731' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='M3 8.5l3 3L13 4.5'/%3E%3C/svg%3E");
}

.pas__choice input[type="checkbox"]:disabled,
.pas__consent input[type="checkbox"]:disabled,
.pas__checkbox-control input[type="checkbox"]:disabled {
	opacity: 0.45;
}

.pas__choice span {
	display: grid;
	gap: 0.2rem;
}

.pas__choice strong {
	font-size: 0.9375rem;
	line-height: 1.35;
}

.pas__choice small {
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--pas-muted);
}

.pas__choice:has(input:checked) small,
.pas__choice.is-selected small {
	color: rgba(255, 255, 255, 0.82);
}

.pas__choice:has(input:checked) input,
.pas__choice.is-selected input {
	accent-color: #ffffff;
}

.pas__rut-fields {
	display: grid;
	gap: 0.9rem;
	margin: 1rem 0 0;
	padding: 1rem;
	background: #fbfaf9;
	border: 1px solid var(--pas-border);
	border-radius: 8px;
}

.pas__consent {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	gap: 0.7rem;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--pas-muted);
	cursor: pointer;
}

.pas__panel > .pas__primary {
	margin-top: 1.15rem;
}

.pas__notice {
	margin: 0.9rem 0 0;
	padding: 0.82rem 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #5b2824;
	background: #fff6f4;
	border: 1px solid rgba(126, 54, 47, 0.22);
	border-radius: 8px;
}

.pas__notice--info {
	color: var(--pas-accent);
	background: #ffffff;
	border-color: var(--pas-border);
}

.pas__selection-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding: 1rem 1.15rem;
}

.pas__selection-summary > div {
	display: grid;
	gap: 0.2rem;
}

.pas__eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pas-muted);
}

.pas__selection-summary strong {
	font-size: 0.95rem;
	line-height: 1.45;
}

.pas__items {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.9rem;
}

.pas__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	padding: clamp(1rem, 3.4vw, 1.35rem);
}

.pas__item-copy {
	min-width: 0;
}

.pas__item--selected {
	background: #fbfaf9;
	border-color: var(--pas-accent);
}

.pas__price {
	margin: 0.55rem 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pas-accent);
}

.pas__price--unavailable {
	color: #7c3330;
}

.pas__stepper {
	display: grid;
	grid-template-columns: 3rem 2.75rem 3rem;
	align-items: center;
	width: 9.25rem;
	min-width: 9.25rem;
	padding: 0.25rem;
	overflow: hidden;
	background: var(--pas-background);
	border: 1px solid var(--pas-border);
	border-radius: 8px;
}

.pas button.pas__quantity-button {
	display: inline-grid;
	place-items: center;
	position: static;
	appearance: none;
	width: 3rem;
	min-width: 0;
	max-width: none;
	height: 3rem;
	min-height: 3rem;
	margin: 0;
	padding: 0;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--pas-accent);
	background: transparent;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	cursor: pointer;
}

.pas button.pas__quantity-button--increase {
	color: #ffffff;
	background: var(--pas-accent);
}

.pas button.pas__quantity-button:disabled {
	cursor: not-allowed;
	color: var(--pas-muted);
	background: transparent;
	opacity: 0.38;
}

.pas__quantity {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	width: 100%;
	font-size: 1rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pas__checkbox-control {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 3rem;
	padding: 0.65rem 0.8rem;
	font-size: 0.9rem;
	font-weight: 600;
	background: var(--pas-background);
	border: 1px solid var(--pas-border);
	border-radius: 8px;
	cursor: pointer;
}

.pas__checkbox-control.is-selected {
	color: #ffffff;
	background: var(--pas-accent);
	border-color: var(--pas-accent);
	box-shadow: 0 5px 14px rgba(38, 29, 26, 0.12);
}

.pas__checkbox-control.is-selected input {
	accent-color: #ffffff;
}

.pas__contact--services {
	margin-bottom: 0;
}

.pas__checkout {
	position: sticky;
	bottom: max(0.75rem, env(safe-area-inset-bottom));
	z-index: 10;
	display: grid;
	grid-template-columns: auto minmax(12rem, 1fr);
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid var(--pas-border);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(38, 29, 26, 0.12);
}

.pas__total {
	display: grid;
	min-width: 7.5rem;
	padding-left: 0.35rem;
}

.pas__total span {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pas-muted);
}

.pas__total strong {
	font-size: 1.25rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pas__pay {
	min-height: 3.25rem;
}

.pas :focus-visible {
	outline: 3px solid var(--pas-focus);
	outline-offset: 3px;
}

.pas .pas__field input:focus,
.pas .pas__field input:focus-visible,
.pas .pas__field select:focus,
.pas .pas__field select:focus-visible {
	outline: none;
	border-color: var(--pas-accent);
	box-shadow: inset 0 0 0 1px var(--pas-accent);
}

.pas-success {
	width: min(calc(100% - 1.75rem), 42rem);
	margin: clamp(2rem, 8vw, 6rem) auto;
	padding: clamp(2rem, 7vw, 4.5rem) clamp(1.25rem, 6vw, 3.5rem);
	text-align: center;
	background: var(--pas-background);
	border: 1px solid var(--pas-border);
	border-radius: 8px;
}

.pas-success__mark {
	display: inline-grid;
	place-items: center;
	width: 3.75rem;
	height: 3.75rem;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: #ffffff;
	background: var(--pas-accent);
	border-radius: 50%;
}

.pas-success--pending .pas-success__mark,
.pas-success--unconfirmed .pas-success__mark {
	color: var(--pas-accent);
	background: transparent;
	border: 1px solid var(--pas-border);
}

.pas-success h1 {
	font-size: clamp(2rem, 8vw, 3rem);
}

.pas-success p {
	margin: 1rem auto 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pas-muted);
}

@media (hover: hover) {
	.pas__primary:not(:disabled):hover,
	.pas button.pas__quantity-button--increase:not(:disabled):hover {
		color: #ffffff;
		background: var(--pas-accent-hover);
	}

	.pas button.pas__quantity-button:not(.pas__quantity-button--increase):not(:disabled):hover {
		background: #e9e5e1;
	}
}

@media (max-width: 38rem) {
	.pas__information,
	.pas__fields {
		grid-template-columns: 1fr;
	}

	.pas__field--wide {
		grid-column: auto;
	}

	.pas__item {
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.pas__stepper {
		grid-template-columns: 3rem minmax(3rem, 1fr) 3rem;
		width: 100%;
		min-width: 0;
	}

	.pas button.pas__quantity-button {
		width: 100%;
	}

	.pas__checkbox-control {
		width: 100%;
	}

	.pas__checkout {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 0.65rem;
	}

	.pas__total {
		min-width: 5.8rem;
	}

	.pas__total strong {
		font-size: 1.0625rem;
	}

	.pas__pay {
		padding-inline: 0.8rem;
		font-size: 0.875rem;
	}
}

@media (max-width: 21rem) {
	.pas {
		padding-inline: 0.625rem;
	}

	.pas__checkout {
		grid-template-columns: 1fr;
	}

	.pas__total {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		padding-inline: 0.2rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.pas [data-view]:not([hidden]) {
		animation: pas-reveal 180ms ease-out;
	}
}

@keyframes pas-reveal {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}
