/* Royal India ÔÇö homepage hero order bar (pro integrated layout) */

.rim-hero-order-bar {
	--rim-hero-burgundy: var(--go-primary, #8b0f1a);
	--rim-hero-burgundy-mid: var(--go-primary-hover, #6a0c14);
	--rim-hero-burgundy-hot: var(--go-primary, #a51a24);
	--rim-hero-gold: var(--go-accent, #d4af37);
	--rim-hero-cream: var(--go-surface-alt, #fff4e0);
	--rim-hero-page: var(--go-page-bg, #faf6ef);
	--rim-hero-white: var(--go-surface, #fffefb);
	--rim-hero-ink: var(--go-text, #1f1a17);
	--rim-hero-muted: var(--go-text-muted, #5c534c);
	width: 100%;
	max-width: min(58rem, calc(100vw - 2rem));
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.rim-hero-order-bar {
		max-width: min(68rem, calc(100vw - 3rem));
	}
}

@media (min-width: 1280px) {
	.rim-hero-order-bar {
		max-width: min(76rem, calc(100vw - 4rem));
	}
}

.rim-hero-order-bar__glass {
	padding: 1.15rem 1.25rem;
	border-radius: 18px;
	background: rgba(255, 254, 251, 0.96);
	border: 1px solid rgba(212, 175, 55, 0.3);
	box-shadow: 0 20px 55px rgba(60, 20, 10, 0.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: visible;
	transition: border-radius 0.2s ease, padding 0.2s ease;
}

.rim-hero-order-bar--with-intro .rim-hero-order-bar__glass {
	padding: 1.35rem 1.35rem 1.2rem;
}

.rim-hero-order-bar__intro {
	margin: 1rem 0 0;
	max-width: 42rem;
}

.rim-hero-order-bar__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--rim-hero-burgundy) 62%, var(--rim-hero-muted));
}

.rim-hero-order-bar__title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.4rem, 2.8vw, 1.85rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--rim-hero-burgundy);
}

.rim-hero-order-bar__subtitle {
	margin: 0.55rem 0 0;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--rim-hero-muted);
}

.rim-hero-order-bar__message:not([hidden]) + .rim-hero-order-bar__intro {
	margin-top: 0.85rem;
}

.rim-hero-order-bar.is-location-selected .rim-hero-order-bar__glass {
	border-radius: 18px;
	padding: 1.15rem 1.25rem;
}

.rim-hero-order-bar--with-intro.is-location-selected .rim-hero-order-bar__glass {
	padding: 1.35rem 1.35rem 1.2rem;
}

.rim-hero-order-bar__row {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}

.rim-hero-order-bar__location {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.rim-hero-order-bar__combobox {
	position: relative;
	width: 100%;
}

.rim-hero-order-bar__search {
	display: flex;
	align-items: stretch;
	min-width: 0;
	min-height: 3.35rem;
	padding: 0.28rem 0.28rem 0.28rem 0.85rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(139, 15, 26, 0.22);
	box-shadow: inset 0 1px 2px rgba(60, 20, 10, 0.04);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		border-radius 0.2s ease,
		background-color 0.2s ease;
}

.rim-hero-order-bar__combobox.is-editing .rim-hero-order-bar__search,
.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search {
	background: #fff;
	border-color: var(--rim-hero-gold);
	box-shadow:
		0 0 0 3px rgba(212, 175, 55, 0.22),
		inset 0 1px 2px rgba(60, 20, 10, 0.04);
}

.rim-hero-order-bar__combobox.has-selection .rim-hero-order-bar__search {
	background: #fff;
	border-color: rgba(139, 15, 26, 0.22);
	box-shadow: inset 0 1px 2px rgba(60, 20, 10, 0.04);
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.rim-hero-order-bar__pin {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	align-self: center;
	margin-right: 0.45rem;
	color: color-mix(in srgb, var(--rim-hero-burgundy) 50%, #6b5c55);
	transition: color 0.2s ease;
}

.rim-hero-order-bar__combobox.has-selection .rim-hero-order-bar__pin,
.rim-hero-order-bar__combobox.is-editing .rim-hero-order-bar__pin {
	color: var(--rim-hero-burgundy);
}

.rim-hero-order-bar__field-value {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
	min-height: 2.35rem;
}

.rim-hero-order-bar__selection {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.1rem;
	min-width: 0;
	width: 100%;
	padding: 0.05rem 0.15rem 0.05rem 0;
	pointer-events: none;
}

.rim-hero-order-bar__selection[hidden] {
	display: none !important;
}

.rim-hero-order-bar__selection-street {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--rim-hero-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar__selection-street[hidden] {
	display: none !important;
}

.rim-hero-order-bar__selection-secondary {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	max-width: 100%;
}

.rim-hero-order-bar__selection-meta {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	max-width: 100%;
}

.rim-hero-order-bar__selection-plz,
.rim-hero-order-bar__selection-ort,
.rim-hero-order-bar__selection-min {
	overflow: hidden;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--rim-hero-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar__selection-plz {
	flex-shrink: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
}

.rim-hero-order-bar__selection-ort {
	flex: 0 1 auto;
	min-width: 0;
}

.rim-hero-order-bar__selection-min {
	flex-shrink: 0;
}

.rim-hero-order-bar__selection-sep {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	color: color-mix(in srgb, var(--rim-hero-muted) 65%, transparent);
}

.rim-hero-order-bar__selection:not(.has-street) {
	flex-direction: row;
	align-items: center;
}

.rim-hero-order-bar__selection:not(.has-street) .rim-hero-order-bar__selection-secondary {
	flex: 1 1 auto;
	min-width: 0;
}

.rim-hero-order-bar__combobox.has-selection .rim-hero-order-bar__pin {
	color: color-mix(in srgb, var(--rim-hero-burgundy) 68%, var(--rim-hero-muted));
}

.rim-hero-order-bar__combobox.has-selection.has-street-selection .rim-hero-order-bar__field-value {
	min-height: 2.75rem;
}

.rim-hero-order-bar__combobox.has-selection.has-street-selection .rim-hero-order-bar__search {
	min-height: 3.4rem;
	align-items: center;
}

.rim-hero-order-bar__search-input {
	flex: 1;
	min-width: 0;
	align-self: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rim-hero-ink);
	font: inherit;
	/* ≥16px on phones prevents iOS zoom when focusing PLZ / Ort / Straße */
	font-size: max(16px, clamp(0.95rem, 1.6vw, 1.05rem));
	font-weight: 600;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar__combobox.has-selection .rim-hero-order-bar__search-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	caret-color: transparent;
}

.rim-hero-order-bar__combobox.has-selection.is-editing .rim-hero-order-bar__search-input {
	position: static;
	width: auto;
	height: auto;
	opacity: 1;
	cursor: text;
	caret-color: auto;
}

.rim-hero-order-bar__search-input::placeholder {
	color: color-mix(in srgb, #6b5c55 78%, var(--rim-hero-ink));
	font-weight: 500;
}

.rim-hero-order-bar__search-input:focus {
	outline: none;
}

.rim-hero-order-bar__clear {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 1.85rem;
	height: 1.85rem;
	margin: 0 0.15rem 0 0.1rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--rim-hero-burgundy) 10%, #f4ede4);
	color: color-mix(in srgb, var(--rim-hero-burgundy) 72%, #6b5c55);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
}

.rim-hero-order-bar__clear[hidden] {
	display: none !important;
}

.rim-hero-order-bar__clear:hover,
.rim-hero-order-bar__clear:focus-visible {
	background: color-mix(in srgb, var(--rim-hero-burgundy) 18%, #fff);
	color: var(--rim-hero-burgundy);
	outline: none;
}

.rim-hero-order-bar__clear:active {
	transform: scale(0.94);
}

/* In-field continue (homepage) — same burgundy style as Lieferung */
.rim-hero-order-bar__field-continue {
	display: none;
	flex-shrink: 0;
	align-self: stretch;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 7.5rem;
	margin-left: 0.35rem;
	padding: 0.45rem 0.9rem 0.45rem 0.8rem;
	border: 1.5px solid var(--rim-hero-gold);
	border-radius: 10px;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.1;
	white-space: nowrap;
	color: var(--rim-hero-cream);
	background: linear-gradient(180deg, var(--rim-hero-burgundy-hot, #9a1520) 0%, var(--rim-hero-burgundy, #8b0f1a) 100%);
	box-shadow: 0 8px 22px rgba(139, 15, 26, 0.28);
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

.rim-hero-order-bar.has-field-continue .rim-hero-order-bar__field-continue {
	display: inline-flex;
}

.rim-hero-order-bar__field-continue[hidden] {
	display: none !important;
}

.rim-hero-order-bar__field-continue:hover,
.rim-hero-order-bar__field-continue:focus-visible {
	background: linear-gradient(180deg, var(--rim-hero-burgundy-hot, #a51a24) 0%, var(--rim-hero-burgundy, #8b0f1a) 100%);
	border-color: #e0bc45;
	box-shadow: 0 10px 26px rgba(139, 15, 26, 0.34);
	outline: none;
}

.rim-hero-order-bar__field-continue:active {
	transform: scale(0.98);
}

.rim-hero-order-bar__field-continue-arrow {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
	opacity: 0.95;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__field-continue,
.rim-hero-order-bar__combobox.is-editing .rim-hero-order-bar__field-continue {
	display: none !important;
}

/* Home + continue: pin | selection | × on one row; Jetzt bestellen full-width below */
.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__search {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 0.35rem;
	row-gap: 0.55rem;
}

.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__pin {
	grid-column: 1;
	grid-row: 1;
	margin-right: 0;
}

.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__field-value {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	width: auto;
	flex: unset;
	padding-right: 0.1rem;
}

.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__clear {
	grid-column: 3;
	grid-row: 1;
	margin: 0;
	align-self: center;
}

.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__field-continue {
	grid-column: 1 / -1;
	grid-row: 2;
	display: inline-flex;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin-left: 0;
	min-height: 3rem;
	padding: 0.7rem 1rem;
	font-size: 1rem;
	border-radius: 12px;
}

/* Full-width PLZ row (no in-field continue): keep wrap for Lieferung CTA below */
.rim-hero-order-bar--home-address-only:not(.has-field-continue) .rim-hero-order-bar__search {
	flex-wrap: wrap;
	column-gap: 0.35rem;
	row-gap: 0.55rem;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-secondary {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	flex-wrap: nowrap;
	row-gap: 0.15rem;
}

.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__selection-plz,
.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__selection-ort,
.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__selection-min {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-meta,
.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-min {
	max-width: 100%;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-plz,
.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-ort {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rim-hero-ink);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__selection-min {
	font-size: 0.85rem;
	font-weight: 600;
}

@media (max-width: 640px) {
	.rim-hero-order-bar__field-continue {
		min-width: 0;
		padding: 0.45rem 0.65rem;
		font-size: 0.78rem;
		max-width: 46%;
	}

	.rim-hero-order-bar--home-address-only.has-field-continue .rim-hero-order-bar__field-continue {
		max-width: none;
		font-size: 1rem;
		padding: 0.75rem 1rem;
	}

	.rim-hero-order-bar__field-continue-label {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.rim-hero-order-bar__combobox.is-mode-ort .rim-hero-order-bar__suggest-option {
	grid-template-columns: minmax(0, 1fr) auto;
}

.rim-hero-order-bar__combobox.is-mode-ort .rim-hero-order-bar__suggest-plz {
	display: none;
}

.rim-hero-order-bar__suggest-option.is-street {
	grid-template-columns: minmax(8rem, 1.2fr) minmax(0, 1.4fr);
	align-items: start;
}

.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 0.65rem;
	min-width: 0;
}

.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-plz {
	display: inline;
	flex-shrink: 0;
}

.rim-hero-order-bar__combobox.is-mode-ort .rim-hero-order-bar__suggest-option.is-street {
	grid-template-columns: minmax(8rem, 1.5fr) minmax(0, 1fr);
}

.rim-hero-order-bar__combobox.is-mode-ort .rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-plz {
	display: none;
}

.rim-hero-order-bar__suggest-street {
	font-weight: 700;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar__combobox.is-mode-plz .rim-hero-order-bar__suggest-option {
	grid-template-columns: 3.6rem auto;
}

.rim-hero-order-bar__combobox.is-mode-plz .rim-hero-order-bar__suggest-option.is-street {
	grid-template-columns: minmax(8rem, 1fr) auto;
}

.rim-hero-order-bar__combobox.is-mode-plz .rim-hero-order-bar__suggest-name {
	display: none;
}

.rim-hero-order-bar__combobox.is-editing .rim-hero-order-bar__selection {
	display: none !important;
}

/* Lieferung ÔÇö inside PLZ field */
.rim-hero-order-bar__search-action {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.05rem;
	min-width: 6.75rem;
	margin-left: 0.35rem;
	padding: 0.45rem 0.85rem 0.45rem 0.75rem;
	border: 1.5px solid var(--rim-hero-gold);
	border-left: 1.5px solid var(--rim-hero-gold);
	border-radius: 10px;
	background: linear-gradient(180deg, var(--rim-hero-burgundy-hot, #9a1520) 0%, var(--rim-hero-burgundy, #8b0f1a) 100%);
	color: var(--rim-hero-cream);
	font: inherit;
	box-shadow: 0 8px 22px rgba(139, 15, 26, 0.28);
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease,
		border-radius 0.2s ease;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action {
	border-bottom-right-radius: 0;
	min-width: 2.75rem;
	padding: 0.45rem 0.55rem;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action-label,
.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action-eta {
	display: none;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action-arrow {
	display: inline;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__pickup {
	opacity: 0.55;
	pointer-events: none;
}

.rim-hero-order-bar__search-action:hover,
.rim-hero-order-bar__search-action:focus-visible {
	background: linear-gradient(180deg, var(--rim-hero-burgundy-hot, #a51a24) 0%, var(--rim-hero-burgundy, #8b0f1a) 100%);
	border-color: #e0bc45;
	box-shadow: 0 10px 26px rgba(139, 15, 26, 0.34);
	outline: none;
}

.rim-hero-order-bar__search-action.is-ready {
	background: linear-gradient(180deg, var(--rim-hero-burgundy-hot, #a51a24) 0%, var(--rim-hero-burgundy, #8b0f1a) 100%);
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--rim-hero-gold) 50%, transparent),
		0 8px 22px rgba(139, 15, 26, 0.32);
}

@keyframes rim-hero-action-pulse {
	0% {
		box-shadow:
			0 0 0 1px color-mix(in srgb, var(--rim-hero-gold) 50%, transparent),
			0 6px 16px rgba(43, 31, 26, 0.24);
	}

	50% {
		box-shadow:
			0 0 0 3px color-mix(in srgb, var(--rim-hero-gold) 65%, transparent),
			0 8px 20px rgba(43, 31, 26, 0.3);
	}

	100% {
		box-shadow:
			0 0 0 1px color-mix(in srgb, var(--rim-hero-gold) 50%, transparent),
			0 6px 16px rgba(43, 31, 26, 0.24);
	}
}

.rim-hero-order-bar__search-action.is-pulse {
	animation: rim-hero-action-pulse 0.75s ease;
}

.rim-hero-order-bar__search-action:active {
	transform: scale(0.98);
}

.rim-hero-order-bar__search-action-label {
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.rim-hero-order-bar__search-action-eta,
.rim-hero-order-bar__pickup-eta {
	display: none !important;
}

.rim-hero-order-bar__search-action-arrow {
	display: none;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__suggest {
	z-index: 50;
}

.rim-hero-order-bar__suggest {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 12;
	margin: 0;
	padding: 0.2rem 0;
	list-style: none;
	max-height: min(20rem, 58vh);
	overflow: auto;
	border: 1px solid color-mix(in srgb, var(--rim-hero-gold) 45%, var(--rim-hero-burgundy));
	border-top: 0;
	border-radius: 0 0 0.65rem 0.65rem;
	background: #fff;
	box-shadow: 0 18px 36px rgba(43, 31, 26, 0.24);
	animation: rim-hero-suggest-in 0.18s ease;
}

@keyframes rim-hero-suggest-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.rim-hero-order-bar__suggest[hidden] {
	display: none !important;
}

.rim-hero-order-bar__suggest-option {
	display: grid;
	grid-template-columns: 3.6rem minmax(0, 1fr) auto;
	gap: 0.45rem 0.65rem;
	align-items: center;
	width: 100%;
	padding: 0.72rem 1rem;
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--rim-hero-burgundy) 6%, #ebe3d8);
	background: transparent;
	color: var(--rim-hero-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rim-hero-order-bar__suggest-option[aria-selected="true"] {
	background: color-mix(in srgb, var(--rim-hero-cream) 55%, #fff);
}

.rim-hero-order-bar__suggest li:last-child .rim-hero-order-bar__suggest-option {
	border-bottom: 0;
}

.rim-hero-order-bar__suggest-plz {
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.rim-hero-order-bar__suggest-name {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rim-hero-order-bar__suggest-min {
	font-size: 0.82rem;
	font-weight: 600;
	color: color-mix(in srgb, #6b5c55 88%, var(--rim-hero-ink));
	white-space: nowrap;
}

.rim-hero-order-bar__suggest-option:hover,
.rim-hero-order-bar__suggest-option.is-active,
.rim-hero-order-bar__suggest-option[aria-selected="true"] {
	background: var(--rim-hero-burgundy);
	color: var(--rim-hero-cream);
}

.rim-hero-order-bar__suggest-option:hover .rim-hero-order-bar__suggest-min,
.rim-hero-order-bar__suggest-option.is-active .rim-hero-order-bar__suggest-min,
.rim-hero-order-bar__suggest-option[aria-selected="true"] .rim-hero-order-bar__suggest-min {
	color: color-mix(in srgb, var(--rim-hero-cream) 88%, var(--rim-hero-gold));
}

.rim-hero-order-bar__suggest-empty {
	padding: 0.85rem 1rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: color-mix(in srgb, #6b5c55 90%, var(--rim-hero-ink));
}

.rim-hero-order-bar__suggest-hint {
	padding: 0.55rem 1rem 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: color-mix(in srgb, var(--rim-hero-burgundy) 72%, var(--rim-hero-muted));
	list-style: none;
}

.rim-hero-order-bar__suggest-option.is-soft-match .rim-hero-order-bar__suggest-street {
	font-style: italic;
}

/* Abholung ÔÇö standalone action */
.rim-hero-order-bar__pickup {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex: 0 0 auto;
	min-width: 8.5rem;
	min-height: 3.35rem;
	padding: 0.55rem 1.15rem;
	border: none;
	border-radius: 12px;
	background: var(--rim-hero-burgundy, #8b0f1a);
	color: #fff4e0;
	font: inherit;
	box-shadow: 0 8px 22px rgba(139, 15, 26, 0.32);
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease,
		background-color 0.2s ease,
		opacity 0.2s ease;
}

.rim-hero-order-bar__pickup-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.06rem;
}

.rim-hero-order-bar__pickup:hover,
.rim-hero-order-bar__pickup:focus-visible {
	border-color: transparent;
	background: #a51a24;
	box-shadow: 0 10px 26px rgba(139, 15, 26, 0.38);
	outline: none;
}

.rim-hero-order-bar__pickup:active {
	transform: scale(0.98);
}

.rim-hero-order-bar__pickup-label {
	font-size: 0.96rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.rim-hero-order-bar__pickup-arrow {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
}

.rim-hero-order-bar__message {
	display: block;
	width: 100%;
	margin: 0.55rem auto 0;
	padding: 0.55rem 0.95rem;
	max-width: 32rem;
	border-radius: 12px;
	background: rgba(139, 15, 26, 0.08);
	border: 1px solid rgba(212, 175, 55, 0.28);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--rim-hero-burgundy);
	text-align: center;
	cursor: default;
	appearance: none;
	-webkit-appearance: none;
}

.rim-hero-order-bar__message.is-continue {
	cursor: pointer;
	background: color-mix(in srgb, var(--rim-hero-burgundy) 10%, #fff);
	border-color: color-mix(in srgb, var(--rim-hero-gold) 45%, var(--rim-hero-burgundy));
	box-shadow: 0 4px 14px rgba(139, 15, 26, 0.08);
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.rim-hero-order-bar__message.is-continue:hover,
.rim-hero-order-bar__message.is-continue:focus-visible {
	background: color-mix(in srgb, var(--rim-hero-burgundy) 14%, #fff);
	box-shadow: 0 6px 18px rgba(139, 15, 26, 0.12);
	outline: none;
}

.rim-hero-order-bar__message.is-continue:active {
	transform: scale(0.99);
}

.rim-hero-order-bar__message:disabled {
	opacity: 1;
	cursor: default;
}

.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__message {
	display: none !important;
}

.rim-hero-order-bar__message.is-error {
	color: var(--rim-hero-burgundy, #8b0f1a);
	background: rgba(139, 15, 26, 0.1);
	border-color: rgba(139, 15, 26, 0.28);
	cursor: default;
}

.rim-hero-order-bar__message[hidden] {
	display: none !important;
}

/* Homepage: single address field (type chosen on Speisekarte) */
.rim-hero-order-bar--home-address-only .rim-hero-order-bar__glass {
	padding: 1.3rem 1.35rem 1.4rem;
	border: 2px solid color-mix(in srgb, var(--rim-hero-gold) 72%, #fff);
	border-radius: 20px;
	background: linear-gradient(
		145deg,
		var(--rim-hero-burgundy-hot) 0%,
		var(--rim-hero-burgundy) 42%,
		var(--rim-hero-burgundy-mid) 100%
	);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--rim-hero-gold) 28%, transparent),
		0 20px 46px rgba(60, 20, 10, 0.28);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__home-prompt {
	margin: 0 0 0.85rem;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__home-prompt-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--go-text-on-primary, #fff);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__row {
	display: block;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__location {
	width: 100%;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__search {
	width: 100%;
	min-height: 3.65rem;
	padding: 0.35rem 0.45rem 0.35rem 0.55rem;
	border-radius: 12px;
	border: 2px solid color-mix(in srgb, var(--rim-hero-gold) 65%, #fff);
	background: #fff;
	box-shadow:
		0 8px 22px rgba(20, 8, 6, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__combobox.is-editing .rim-hero-order-bar__search,
.rim-hero-order-bar--home-address-only.is-suggest-open .rim-hero-order-bar__search {
	border-color: var(--rim-hero-gold);
	box-shadow:
		0 0 0 4px rgba(212, 175, 55, 0.35),
		0 10px 26px rgba(20, 8, 6, 0.24);
}

.rim-hero-order-bar--home-address-only.is-suggest-open .rim-hero-order-bar__search {
	border-radius: 12px 12px 0 0;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__pin {
	width: 2.35rem;
	height: 2.35rem;
	margin-right: 0.5rem;
	border-radius: 10px;
	background: linear-gradient(
		160deg,
		color-mix(in srgb, var(--rim-hero-burgundy) 14%, #fff) 0%,
		color-mix(in srgb, var(--rim-hero-gold) 28%, #fff) 100%
	);
	color: var(--rim-hero-burgundy);
	box-shadow: inset 0 0 0 1px rgba(139, 15, 26, 0.12);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__search-input {
	font-size: max(16px, clamp(0.95rem, 1.8vw, 1.08rem));
	font-weight: 600;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__search-input::placeholder {
	color: #6a615a;
	font-weight: 600;
	opacity: 1;
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__message {
	color: var(--go-text-on-primary, #fff);
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__message.is-error {
	color: #fff4e0;
	background: rgba(0, 0, 0, 0.22);
	border-color: rgba(255, 220, 180, 0.45);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__message.is-continue {
	max-width: none;
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.85rem 1.1rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--rim-hero-burgundy-mid);
	background: linear-gradient(135deg, #fff8e8 0%, var(--rim-hero-gold) 100%);
	border: 0;
	box-shadow: 0 10px 24px rgba(20, 8, 6, 0.28);
}

.rim-hero-order-bar--home-address-only .rim-hero-order-bar__message.is-continue:hover,
.rim-hero-order-bar--home-address-only .rim-hero-order-bar__message.is-continue:focus-visible {
	background: linear-gradient(135deg, #fff 0%, #e8c65a 100%);
	box-shadow: 0 12px 28px rgba(20, 8, 6, 0.32);
}

/* Hero placement — PLZ bar under the photo so title/CTAs stay readable */
.hero-slider:has(.rim-hero-order-bar.is-suggest-open) {
	overflow: visible;
	z-index: 25;
}

.hero-slider:has(.rim-hero-order-bar.is-suggest-open) .hero-slider__order-bar-wrap {
	z-index: 30;
}

.hero-slider:has(.rim-hero-order-bar) {
	display: flex;
	flex-direction: column;
	overflow: visible;
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__track {
	position: relative;
	flex: 0 0 auto;
	order: 1;
	min-height: clamp(22rem, 58vw, 34rem);
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__slide {
	align-items: center;
	justify-content: flex-end;
	padding-top: clamp(2.5rem, 7vw, 4rem);
	padding-bottom: clamp(3.75rem, 9vw, 5.5rem);
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__content {
	margin-top: 0;
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__subtitle {
	margin-bottom: 1.15rem;
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__brand {
	bottom: clamp(5.75rem, 13vw, 7.75rem);
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__dot.is-active {
	background: var(--rim-hero-gold, #d4af37);
	box-shadow:
		0 0 0 2px color-mix(in srgb, var(--rim-hero-gold, #d4af37) 40%, transparent),
		0 0 14px color-mix(in srgb, var(--rim-hero-gold, #d4af37) 55%, transparent);
	transform: scale(1.2);
}

.hero-slider__order-bar-wrap {
	position: relative;
	bottom: auto;
	left: auto;
	right: auto;
	order: 3;
	z-index: 4;
	width: 100%;
	margin: 0 auto;
	padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 3.5vw, 2rem);
	background: linear-gradient(180deg, var(--go-surface-alt, #f8f1e8) 0%, var(--rim-hero-page, #faf6ef) 100%);
	pointer-events: none;
}

.hero-slider__order-bar-wrap .rim-hero-order-bar {
	pointer-events: auto;
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__controls {
	position: relative;
	bottom: auto;
	left: auto;
	order: 2;
	justify-content: center;
	margin: -1.65rem auto 0.1rem;
	padding: 0;
	transform: none;
	z-index: 5;
}

.hero-slider:has(.rim-hero-order-bar) .hero-slider__below-cta {
	order: 4;
}

@media (max-width: 767px) {
	.hero-slider:has(.rim-hero-order-bar) .hero-slider__track {
		min-height: clamp(16rem, 52vw, 24rem);
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__slide {
		padding-top: clamp(2rem, 7vw, 2.75rem);
		padding-bottom: clamp(3rem, 8vw, 4rem);
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__brand {
		bottom: clamp(3.5rem, 10vw, 4.5rem);
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__title {
		font-size: clamp(1.85rem, 7.5vw, 2.5rem);
		margin-bottom: 0.65rem;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__subtitle {
		display: none;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__actions .btn--outline {
		display: none;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__actions {
		margin-top: 0.35rem;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__order-bar-wrap {
		padding: 0.65rem 0.85rem 0.85rem;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__controls {
		margin: -1.35rem auto 0;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__btn--prev,
	.hero-slider:has(.rim-hero-order-bar) .hero-slider__btn--next {
		display: none;
	}

	.hero-slider:has(.rim-hero-order-bar) .hero-slider__dot.is-active {
		box-shadow:
			0 0 0 2px color-mix(in srgb, var(--rim-hero-gold, #d4af37) 35%, transparent),
			0 0 8px color-mix(in srgb, var(--rim-hero-gold, #d4af37) 40%, transparent);
		transform: scale(1.1);
	}

	.rim-hero-order-bar__glass {
		border-radius: 0.85rem;
		padding: 0.6rem;
	}

	.rim-hero-order-bar__row {
		flex-direction: column;
		gap: 0.45rem;
	}

	.rim-hero-order-bar__search {
		min-height: 3.1rem;
		padding-left: 0.75rem;
	}

	.rim-hero-order-bar__search-action {
		min-width: 5.5rem;
		padding: 0.4rem 0.65rem;
	}

	.rim-hero-order-bar__search-action-label {
		font-size: 0.82rem;
	}

	.rim-hero-order-bar__search-action-eta {
		font-size: 0.58rem;
	}

	.rim-hero-order-bar__pickup {
		width: 100%;
		justify-content: center;
		min-height: 3rem;
		padding: 0.65rem 1rem;
	}

	.rim-hero-order-bar__pickup-inner {
		align-items: center;
	}

	.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action {
		min-width: 2.65rem;
		padding: 0.4rem 0.5rem;
	}

	.rim-hero-order-bar.is-suggest-open .rim-hero-order-bar__search-action-arrow {
		font-size: 1.15rem;
	}

	.rim-hero-order-bar__suggest {
		max-height: min(14rem, 42dvh);
		border-radius: 0 0 0.65rem 0.65rem;
	}

	.rim-hero-order-bar__search-input {
		font-size: max(16px, 0.95rem);
	}

	.rim-hero-order-bar__suggest-option {
		grid-template-columns: 2.85rem minmax(0, 1fr) auto;
		gap: 0.3rem 0.45rem;
		padding: 0.72rem 0.85rem;
		align-items: center;
	}

	.rim-hero-order-bar__suggest-min {
		grid-column: auto;
		justify-self: end;
		margin-top: 0;
		font-size: 0.76rem;
	}
}

@media (max-width: 479px) {
	.rim-hero-order-bar__search-action {
		min-width: 4.85rem;
		padding: 0.38rem 0.55rem;
	}

	.rim-hero-order-bar__search-action-label {
		font-size: 0.78rem;
	}

	.rim-hero-order-bar__pickup-label {
		font-size: 0.9rem;
	}

	.rim-hero-order-bar__suggest-plz,
	.rim-hero-order-bar__suggest-name {
		font-size: 0.84rem;
	}

	.rim-hero-order-bar__selection-ort {
		font-size: 0.9rem;
	}

	.rim-hero-order-bar__selection-min {
		font-size: 0.74rem;
	}
}

@media (min-width: 768px) {
	.rim-hero-order-bar__glass {
		border-radius: 0.9rem;
		padding: 0.55rem;
	}

	.rim-hero-order-bar__search {
		min-height: 3.5rem;
		padding-left: 1rem;
	}

	.rim-hero-order-bar__search-input {
		font-size: max(16px, 1rem);
	}

	.rim-hero-order-bar__search-action {
		min-width: 7.25rem;
		padding: 0.5rem 1rem;
	}

	.rim-hero-order-bar__pickup {
		min-width: 9.5rem;
		min-height: 3.5rem;
		padding: 0.55rem 1.35rem;
	}

	.rim-hero-order-bar__suggest {
		border-radius: 0 0 0.65rem 0.65rem;
	}

	.hero-slider__track {
		min-height: clamp(24rem, 52vw, 36rem);
	}
}

/* Full address — Maps-style two-line place card (local CSS only) */
.rim-hero-order-bar__selection.has-street .rim-hero-order-bar__selection-street {
	font-size: 0.94rem;
}

@media (max-width: 767px) {
	.rim-hero-order-bar__selection.has-street .rim-hero-order-bar__selection-street {
		font-size: 0.9rem;
	}

	.rim-hero-order-bar__selection.has-street .rim-hero-order-bar__selection-plz,
	.rim-hero-order-bar__selection.has-street .rim-hero-order-bar__selection-ort,
	.rim-hero-order-bar__selection.has-street .rim-hero-order-bar__selection-min {
		font-size: 0.74rem;
	}

	.rim-hero-order-bar__combobox.has-selection.has-street-selection .rim-hero-order-bar__search {
		min-height: 3.35rem;
	}

	.rim-hero-order-bar__combobox.has-selection.has-street-selection .rim-hero-order-bar__field-value {
		min-height: 2.65rem;
	}

	.rim-hero-order-bar__suggest-option.is-street {
		grid-template-columns: 1fr;
		gap: 0.2rem 0.45rem;
		padding: 0.7rem 0.85rem;
	}

	.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-street {
		font-size: 0.92rem;
		white-space: normal;
	}

	.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-meta {
		justify-content: flex-start;
		gap: 0.25rem 0.45rem;
	}

	.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-plz,
	.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-name,
	.rim-hero-order-bar__suggest-option.is-street .rim-hero-order-bar__suggest-min {
		font-size: 0.78rem;
	}
}

/* House number modal (after street + city pick) */
body.rim-hero-house-modal-open {
	overflow: hidden;
}

.rim-hero-house-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding:
		max(0.5rem, env(safe-area-inset-top, 0px))
		max(0.5rem, env(safe-area-inset-right, 0px))
		max(0.5rem, env(safe-area-inset-bottom, 0px))
		max(0.5rem, env(safe-area-inset-left, 0px));
	box-sizing: border-box;
}

.rim-hero-house-modal[hidden] {
	display: none !important;
}

.rim-hero-house-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 16, 14, 0.55);
}

.rim-hero-house-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(100%, 22.5rem);
	max-height: min(92dvh, calc(100% - 0.5rem));
	overflow: hidden;
	padding: 0.85rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
	border-radius: 1rem 1rem 0.65rem 0.65rem;
	background: #fffaf4;
	color: #1c1917;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
}

.rim-hero-house-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-right: 0.05rem;
}

@media (min-width: 640px) {
	.rim-hero-house-modal {
		align-items: center;
		padding: 1rem;
	}

	.rim-hero-house-modal__dialog {
		max-height: min(90vh, 40rem);
		padding: 1.15rem 1.15rem 1.05rem;
		border-radius: 1rem;
	}
}

.rim-hero-house-modal__close {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #57534e;
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
}

.rim-hero-house-modal__close:hover {
	background: rgba(0, 0, 0, 0.06);
}

.rim-hero-house-modal__title {
	margin: 0 1.75rem 0.35rem 0;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.25;
}

.rim-hero-house-modal__text {
	margin: 0 0 0.55rem;
	font-size: 0.84rem;
	line-height: 1.35;
	color: #57534e;
}

.rim-hero-house-modal__address {
	margin: 0 0 0.6rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid #e7e5e4;
	border-radius: 0.7rem;
	background: color-mix(in srgb, var(--rim-hero-cream, #fff8f0) 88%, #fff);
}

.rim-hero-house-modal__address-row,
.rim-hero-house-modal__address-final {
	display: grid;
	gap: 0.05rem;
}

.rim-hero-house-modal__address-row + .rim-hero-house-modal__address-row,
.rim-hero-house-modal__address-row + .rim-hero-house-modal__address-final,
.rim-hero-house-modal__address-row--place + .rim-hero-house-modal__address-final {
	margin-top: 0.4rem;
	padding-top: 0.4rem;
	border-top: 1px solid #e7e5e4;
}

.rim-hero-house-modal__address-key {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #78716c;
}

.rim-hero-house-modal__address-street,
.rim-hero-house-modal__address-preview {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1c1917;
	word-break: break-word;
}

.rim-hero-house-modal__address-place {
	font-size: 0.84rem;
	line-height: 1.3;
	color: #44403c;
}

.rim-hero-house-modal__address-preview {
	color: color-mix(in srgb, var(--rim-hero-burgundy, #8b0f1a) 88%, #1c1917);
}

.rim-hero-house-modal__label {
	display: block;
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
}

.rim-hero-house-modal__input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 0.9rem;
	border: 1px solid #d6d3d1;
	border-radius: 0.65rem;
	/* ≥16px prevents iOS auto-zoom on focus */
	font-size: 16px;
	line-height: 1.3;
	background: #fff;
}

.rim-hero-house-modal__input:focus {
	outline: 2px solid var(--rim-hero-burgundy, #8b0f1a);
	outline-offset: 1px;
	border-color: var(--rim-hero-burgundy, #8b0f1a);
}

.rim-hero-house-modal__pad-hint {
	margin: 0.3rem 0 0.45rem;
	font-size: 0.74rem;
	line-height: 1.3;
	color: #78716c;
}

.rim-hero-house-modal__pad {
	margin: 0 0 0.25rem;
}

.rim-hero-house-modal__pad-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.35rem;
}

/* Class display:grid must not override HTML hidden (both pads were stacking on phone). */
.rim-hero-house-modal__pad-grid[hidden],
.rim-hero-house-modal__address-row[hidden],
.rim-hero-house-modal__error[hidden] {
	display: none !important;
}

.rim-hero-house-modal__pad-grid--abc {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.28rem;
}

.rim-hero-house-modal__pad-key {
	min-height: 2.55rem;
	margin: 0;
	padding: 0.3rem 0.15rem;
	border: 1px solid #e7e5e4;
	border-radius: 0.5rem;
	background: #fff;
	color: #1c1917;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}

.rim-hero-house-modal__pad-key--letter {
	min-height: 2.05rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-transform: lowercase;
}

.rim-hero-house-modal__pad-key--mode,
.rim-hero-house-modal__pad-key--action {
	font-size: 0.8rem;
	font-weight: 700;
	background: #f5f5f4;
	color: #44403c;
}

.rim-hero-house-modal__pad-grid--abc .rim-hero-house-modal__pad-key--mode {
	grid-column: span 3;
	min-height: 2.2rem;
}

.rim-hero-house-modal__pad-grid--abc .rim-hero-house-modal__pad-key--action {
	grid-column: span 2;
	min-height: 2.2rem;
}

.rim-hero-house-modal__pad-key:active {
	background: color-mix(in srgb, var(--rim-hero-burgundy, #8b0f1a) 12%, #fff);
	border-color: color-mix(in srgb, var(--rim-hero-burgundy, #8b0f1a) 35%, #e7e5e4);
}

.rim-hero-house-modal__error {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #b91c1c;
}

.rim-hero-house-modal__confirm {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	margin-top: 0.55rem;
	padding: 0.78rem 1rem;
	border: 0;
	border-radius: 0.7rem;
	background: color-mix(in srgb, var(--rim-hero-burgundy, #8b0f1a) 94%, #4f1520);
	color: var(--rim-hero-cream, #fff8f0);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	touch-action: manipulation;
	box-shadow: 0 -8px 16px rgba(255, 250, 244, 0.9);
}

.rim-hero-house-modal__confirm:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.rim-hero-house-modal__confirm:not(:disabled):hover {
	background: color-mix(in srgb, var(--rim-hero-burgundy, #8b0f1a) 82%, #4f1520);
}

/* Phone: hide long hint copy so number pad + CTA fit without scroll. */
@media (max-width: 480px), (max-height: 760px) {
	.rim-hero-house-modal__text {
		display: none;
	}

	.rim-hero-house-modal__pad-hint {
		display: none;
	}

	.rim-hero-house-modal__address {
		margin-bottom: 0.45rem;
		padding: 0.45rem 0.6rem;
	}

	.rim-hero-house-modal__title {
		font-size: 1rem;
		margin-bottom: 0.3rem;
	}

	.rim-hero-house-modal__pad-key {
		min-height: 2.4rem;
	}

	.rim-hero-house-modal__pad-key--letter {
		min-height: 1.9rem;
	}
}

@media (max-height: 620px) {
	.rim-hero-house-modal__address-row--place {
		display: none !important;
	}

	.rim-hero-house-modal__address-key {
		display: none;
	}

	.rim-hero-house-modal__pad-key {
		min-height: 2.2rem;
	}

	.rim-hero-house-modal__pad-key--letter {
		min-height: 1.75rem;
	}

	.rim-hero-house-modal__confirm {
		margin-top: 0.4rem;
		padding: 0.7rem 0.9rem;
	}
}

