/* SL-DEALS startpage city picker */

:root {
	--sldeals-yellow: #f6e924;
	--sldeals-navy: #0b2c5f;
	--sldeals-red: #e30613;
	--sldeals-gray: #9aa0a6;
	--sldeals-border: #cfd3d8;
	--sldeals-white: #ffffff;
	/* Distance from top of screen to the popup (sits just under the site header) */
	--sldeals-popup-top: 70px;
}

body.sldeals-city-picker-active,
body.sldeals-city-picker-open {
	overflow: hidden !important;
}

.sldeals-city-picker {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	z-index: 2147483000 !important;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	padding: var(--sldeals-popup-top) 16px 16px;
	box-sizing: border-box;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	transform: none !important;
	float: none !important;
}

.sldeals-city-picker.is-dismissed,
.sldeals-city-picker[hidden] {
	display: none !important;
}

.sldeals-city-picker__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 420px;
	min-height: 0;
	max-height: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	background: var(--sldeals-white);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	padding: 5px;
}

.sldeals-city-picker__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(11, 44, 95, 0.12);
	color: var(--sldeals-navy);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.sldeals-city-picker__close:hover,
.sldeals-city-picker__close:focus {
	background: rgba(11, 44, 95, 0.22);
	color: var(--sldeals-navy);
	outline: none;
}

.sldeals-city-picker__hero {
	background: var(--sldeals-yellow);
	padding: 16px 10px 20px;
	text-align: center;
	flex: 0 0 auto;
	clip-path: polygon(
        0% 3%,
        8.5% 3.2%,
        -1% 0%,
        100% 0%,
        80% 10%,
        90% 4.5%,
        100% 5%,
        95.5% 12%,
        96.5% 12.5%,
        100% 13%,
        100% 20%,
        90% 25%,
        100% 26%,
        97% 30%,
        95% 33%,
        100% 35%,
        100% 95%,
        90% 97%,
        105% 100%,
        0% 100%,
        5% 97%,
        16% 90%,
        0% 95%,
        0% 16%,
        5% 15%,
        0% 13.5%,
        10% 10%,
        0% 8%
    )
}

.sldeals-city-picker__logo {
	display: block;
	width: min(32vw, 120px);
	height: auto;
	margin: 0 auto;
	rotate: -6deg;
}

.sldeals-city-picker__banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 230px;
	aspect-ratio: 981 / 344; /* matches shap.png so the red brush never crops or shrinks */
	min-height: 0;
	margin: -4px auto 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.sldeals-city-picker__banner-shape {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sldeals-city-picker__banner-text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 8px;
	color: var(--sldeals-white);
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.05rem, 4.2vw, 1.35rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-transform: uppercase;
	text-align: center;
	rotate: -6deg;
    top: 0px;
}

.sldeals-city-picker__banner-line {
	display: block;
	font-size: 12px;
    line-height: 16px;
}
.sldeals-city-picker__banner-text .sldeals-city-picker__banner-line:last-child {
    font-size: 34px;
    line-height: 36px;
}
.sldeals-city-picker__tagline {
	margin: 0 auto;
	max-width: 280px;
	color: var(--sldeals-navy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.2rem, 3.2vw, 0.95rem);
	font-weight: 700;
	line-height: 1.3;
}

.sldeals-city-picker__body {
	background: var(--sldeals-white);
	padding: 14px 16px 18px;
	flex: 1 1 auto;
	overflow: visible;
}

.sldeals-city-picker__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: var(--sldeals-navy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
}

.sldeals-city-picker__pin {
	flex: 0 0 auto;
	color: var(--sldeals-navy);
}

.sldeals-city-picker__combobox {
	position: relative;
	width: 100%;
	z-index: 3;
}

.sldeals-city-picker__field {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px 0 14px;
	border: 1px solid var(--sldeals-border);
	border-radius: 12px;
	background: var(--sldeals-white);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sldeals-city-picker__combobox.is-open .sldeals-city-picker__field,
.sldeals-city-picker__field:focus-within {
	border-color: var(--sldeals-navy);
	box-shadow: 0 0 0 2px rgba(11, 44, 95, 0.12);
}

.sldeals-city-picker__search-icon {
	flex: 0 0 auto;
	color: var(--sldeals-gray);
}

.sldeals-city-picker__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: #E8E8E8 !important;
	color: #000 !important;
	-webkit-text-fill-color: #000;
	opacity: 1 !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	padding: 8px 0;
	box-shadow: none !important;
	background: transparent !important;
	border: 0 !important;
}

.sldeals-city-picker__input::placeholder {
	color: #000 !important;
	-webkit-text-fill-color: #000;
	opacity: 1 !important;
	font-weight: 600;
}

.sldeals-city-picker__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sldeals-gray);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.sldeals-city-picker__combobox.is-open .sldeals-city-picker__toggle {
	transform: rotate(180deg);
}

.sldeals-city-picker__list {
	/* In-flow so the city list stays inside the popup */
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	z-index: 20;
	box-sizing: border-box;
	height: auto;
	max-height: 374px; /* 10 rows x 36px + padding + border */
	margin: 6px 0 0;
	padding: 6px 0;
	list-style: none;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--sldeals-border);
	border-radius: 12px;
	background: var(--sldeals-white);
	box-shadow: 0 10px 28px rgba(11, 44, 95, 0.18);
}

.sldeals-city-picker__list[hidden],
.sldeals-city-picker__list[aria-hidden="true"] {
	display: none !important;
	height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

.sldeals-city-picker__option {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 36px;
	padding: 0 16px;
	color: var(--sldeals-navy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	line-height: 1.3;
}

.sldeals-city-picker__option:hover,
.sldeals-city-picker__option.is-active {
	background: #f3f6fb;
}

.sldeals-city-picker__empty {
	padding: 14px 16px;
	color: var(--sldeals-gray);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95rem;
}

/* Desktop / tablet: centered card modal */
@media (min-width: 600px) {
	.sldeals-city-picker {
		--sldeals-popup-top: 90px;
		align-items: flex-start;
		padding: var(--sldeals-popup-top) 24px 24px;
	}

	.sldeals-city-picker__dialog {
		min-height: 0;
		border-radius: 4px;
		max-height: calc(100vh - var(--sldeals-popup-top) - 24px);
		overflow-x: hidden;
		overflow-y: auto;
	}

	.sldeals-city-picker__close {
		top: 12px;
		right: 12px;
	}

	.sldeals-city-picker__hero {
		padding: 20px 10px 24px;
	}

	.sldeals-city-picker__logo {
		width: 140px;
		/*margin-bottom: 22px;*/
	}

	.sldeals-city-picker__banner {
		max-width: 290px;
	}

	.sldeals-city-picker__banner-text {
		font-size: 1.45rem;
	}

	.sldeals-city-picker__tagline {
		font-size: 1.3rem;
		max-width: 320px;
	}

	.sldeals-city-picker__body {
		padding: 16px 20px 18px;
	}

	.sldeals-city-picker__list {
		max-height: 374px;
	}
	
}
@media(max-width: 600px){
    .sldeals-city-picker__banner-text .sldeals-city-picker__banner-line:last-child {
        font-size: 25px;
        line-height: 27px;
    }
	/*.sldeals-city-picker__banner-text{
		top: -8px;
	}*/
}