/* Cart page pickup-store picker — link under the Store pickup option + modal. */

/* Link + chosen store name (sits under the Store pickup shipping label) */
.gs-cart-pickup {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 4px 0 2px;
}
.gs-cart-pickup-link {
	font-size: 13px;
	font-weight: 500;
	color: #b8860b;
	text-decoration: underline;
	cursor: pointer;
}
.gs-cart-pickup-link:hover { color: #d28d0d; }
.gs-cart-pickup-chosen {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

/* Modal */
.gs-cart-store-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.gs-cart-store-backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
}
.gs-cart-store-box {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.3 );
}
.gs-cart-store-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: #0c0c0c;
	border-bottom: 2px solid #d28d0d;
}
.gs-cart-store-head span {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.gs-cart-store-close {
	background: none;
	border: 1px solid rgba( 255, 255, 255, 0.25 );
	color: rgba( 255, 255, 255, 0.75 );
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gs-cart-store-close:hover { color: #fff; border-color: #d28d0d; }
.gs-cart-store-list {
	padding: 14px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.gs-cart-store-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	text-align: left;
	padding: 12px 14px;
	background: #fff;
	border: 1.5px solid #e8e8e8;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.gs-cart-store-option:hover { border-color: #d28d0d; background: #fffbf4; }
.gs-cart-store-option.gs-is-chosen { border-color: #d28d0d; background: #fffbf4; }
.gs-cart-store-option.gs-is-busy { opacity: 0.5; pointer-events: none; }
.gs-cart-store-radio {
	width: 17px;
	height: 17px;
	border: 2px solid #d9d9d9;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 2px;
	position: relative;
}
.gs-cart-store-option.gs-is-chosen .gs-cart-store-radio { border-color: #d28d0d; }
.gs-cart-store-option.gs-is-chosen .gs-cart-store-radio::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	width: 7px;
	height: 7px;
	background: #d28d0d;
	border-radius: 50%;
}
.gs-cart-store-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gs-cart-store-name { font-size: 14px; font-weight: 700; color: #0c0c0c; }
.gs-cart-store-address { font-size: 12px; color: #888; line-height: 1.35; }
.gs-cart-store-map {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #b8860b;
	text-decoration: underline;
}
.gs-cart-store-map:hover { color: #d28d0d; }
.gs-cart-store-empty { font-size: 13px; color: #999; text-align: center; padding: 20px; margin: 0; }
