/**
 * Shop location pill + bottom sheet.
 */

.gpbid-loc-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 160px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #333;
	background: #1e1e1e;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
}

.gpbid-loc-pill__ico {
	font-size: 12px;
	line-height: 1;
}

.gpbid-loc-pill__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gpbid-loc-pill__caret {
	color: #999;
	font-size: 10px;
}

body.gpbid-app-shell--home .gpbid-shell-top__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.gpbid-app-shell--home .gpbid-shell-top__lead {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

body.gpbid-app-shell--home .gpbid-shell-top__brand {
	display: none;
}

body.gpbid-app-shell--home .gpbid-shell-top__title {
	position: static !important;
	left: auto !important;
	transform: none !important;
	width: auto !important;
	max-width: none !important;
	text-align: left !important;
	font-size: 26px;
	font-weight: 800;
	margin: 0;
	flex: 0 0 auto;
	pointer-events: auto;
	overflow: visible;
}

body.gpbid-app-shell--home .gpbid-shell-top__home-left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
}

body.gpbid-app-shell--live .gpbid-shell-top__home-left,
body.gpbid-app-shell--shop .gpbid-shell-top__home-left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
}

body.gpbid-app-shell--home .gpbid-shell-top__home-left .gpbid-loc-pill,
body.gpbid-app-shell--live .gpbid-shell-top__home-left .gpbid-loc-pill,
body.gpbid-app-shell--shop .gpbid-shell-top__home-left .gpbid-loc-pill {
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(160px, 42vw);
}

.gpbid-loc-sheet[hidden] {
	display: none !important;
}

.gpbid-loc-sheet {
	position: fixed;
	inset: 0;
	z-index: 10050;
}

.gpbid-loc-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.gpbid-loc-sheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: min(72vh, 520px);
	background: #1a1a1a;
	border-radius: 18px 18px 0 0;
	border-top: 1px solid #333;
	padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.gpbid-loc-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	font-size: 16px;
}

.gpbid-loc-sheet__near {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #3a3a3a;
	border-radius: 12px;
	background: #222;
	color: #f5c518;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.gpbid-loc-sheet__near:disabled {
	opacity: 0.65;
	cursor: default;
}

.gpbid-loc-sheet__status {
	margin: 0;
	color: #bbb;
	font-size: 13px;
	text-align: center;
}

.gpbid-loc-sheet__status[hidden] {
	display: none !important;
}

.gpbid-loc-sheet__x {
	border: none;
	background: #2a2a2a;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

.gpbid-loc-sheet__search {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	border: none;
	border-radius: 10px;
	background: #2a2a2a;
	color: #fff;
	font-size: 15px;
}

.gpbid-loc-sheet__list {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	flex: 1;
	min-height: 120px;
}

.gpbid-loc-sheet__item {
	width: 100%;
	text-align: left;
	padding: 12px 10px;
	border: none;
	border-bottom: 1px solid #2a2a2a;
	background: transparent;
	color: #eee;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.gpbid-loc-sheet__item.is-on {
	color: #f5c518;
}

.gpbid-loc-sheet__item.is-hidden {
	display: none;
}

.gpbid-loc-sheet__hint {
	margin: 0;
	color: #888;
	font-size: 13px;
}

.gpbid-loc-sheet__custom {
	display: flex;
	gap: 8px;
}

.gpbid-loc-sheet__custom input {
	flex: 1;
	min-width: 0;
	padding: 11px 12px;
	border: none;
	border-radius: 10px;
	background: #2a2a2a;
	color: #fff;
	font-size: 15px;
}

.gpbid-loc-sheet__custom button {
	flex-shrink: 0;
	padding: 0 14px;
	border: none;
	border-radius: 10px;
	background: #f5c518;
	color: #111;
	font-weight: 800;
	cursor: pointer;
}

/* Standalone header on discover-home without shell */
.gpbid-sh-top__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gpbid-sh-top__title {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
}

.gpbid-sh-top__spacer {
	flex: 1;
}

/* Standalone home also uses shell mark styles */
.gpbid-sh-top__row .gpbid-shell-top__mark {
	margin-right: 2px;
}
