/* Staria Chinar — City: header switcher + first-visit chooser.
   Colours come from the Food Customizer tokens when they are present, so the
   control matches whichever site it is dropped into. */

/* ---- header switcher ---- */
.sc-city-switch { position: relative; display: inline-block; }
.sc-city-switch > summary { list-style: none; cursor: pointer; }
.sc-city-switch > summary::-webkit-details-marker { display: none; }
.sc-city-switch-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 16px;
	border: 1px solid currentColor;
	border-radius: var(--fc-radius, 3px);
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	line-height: 1; white-space: nowrap;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sc-city-switch-btn:hover { background: currentColor; }
.sc-city-switch-btn:hover .sc-city-current,
.sc-city-switch-btn:hover .sc-city-pin,
.sc-city-switch-btn:hover .sc-city-chev { color: var(--fc-accent-text, #fff); mix-blend-mode: difference; }
.sc-city-pin { width: 15px; height: 15px; flex: 0 0 auto; }
.sc-city-chev { width: 13px; height: 13px; flex: 0 0 auto; transition: transform .18s ease; }
.sc-city-switch[open] .sc-city-chev { transform: rotate(180deg); }

.sc-city-menu {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000;
	min-width: 100%; margin: 0; padding: 6px; list-style: none;
	background: var(--sub-menu-bg, #fff);
	color: var(--sub-menu-color, #111);
	border-radius: var(--fc-radius, 3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.sc-city-menu li { margin: 0; }
.sc-city-menu .sc-city-opt {
	display: block; width: 100%; text-align: left;
	padding: 9px 14px; border: 0; background: none; cursor: pointer;
	color: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	border-radius: var(--fc-radius, 3px);
	white-space: nowrap;
}
.sc-city-menu .sc-city-opt:hover { background: rgba(127, 127, 127, .14); }
.sc-city-menu .sc-city-opt.is-active { background: var(--fc-accent, #a05835); color: var(--fc-accent-text, #fff); }

/* ---- button row: [sc_city_switcher layout="buttons"] ---- */
.sc-city-pick { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sc-city-pick-title { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sc-city-accent, #baa383); }
.sc-city-pick-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sc-city-pick .sc-city-opt {
	min-width: 116px; margin: 0; padding: 12px 24px;
	border: 1px solid currentColor; border-radius: 0; background: none; color: inherit; cursor: pointer;
	font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sc-city-pick .sc-city-opt:hover { border-color: var(--sc-city-accent, #baa383); color: var(--sc-city-accent, #baa383); }
.sc-city-pick .sc-city-opt.is-active { background: var(--sc-city-accent, #baa383); border-color: var(--sc-city-accent, #baa383); color: #0e0d0a; }

/* ---- first-visit chooser ---- */
.sc-city-ask { position: fixed; inset: 0; z-index: 200000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sc-city-ask-backdrop {
	position: absolute; inset: 0;
	background: rgba(20, 14, 9, .55);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}
.sc-city-ask-box {
	position: relative; z-index: 1;
	width: min(440px, 100%);
	padding: 34px 32px 30px;
	text-align: center;
	background: var(--fc-panel, #fff);
	color: var(--fc-ink, #2a1f17);
	border: 1px solid var(--fc-line, rgba(0, 0, 0, .12));
	border-radius: var(--fc-radius-box, 14px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
	animation: sc-city-in .28s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes sc-city-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc-city-ask-box { animation: none; } }
.sc-city-ask-box h2 {
	margin: 0 0 8px;
	font-family: var(--fc-ff-heading, 'Cormorant Garamond', serif);
	font-size: clamp(22px, 3.2vw, 30px); line-height: 1.15; color: inherit;
}
.sc-city-ask-box p { margin: 0 0 22px; font-size: .92rem; line-height: 1.5; color: var(--fc-muted, #7a6b5c); }
.sc-city-ask-opts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sc-city-ask-opt {
	flex: 1 1 140px; min-width: 130px;
	padding: 14px 18px; cursor: pointer;
	border: 1px solid var(--fc-accent, #a05835);
	border-radius: var(--fc-radius, 6px);
	background: #fff;
	color: var(--fc-accent, #a05835);
	font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	transition: transform .15s ease, background .18s ease, color .18s ease;
}
.sc-city-ask-opt:hover,
.sc-city-ask-opt:focus-visible {
	transform: translateY(-2px);
	background: var(--fc-accent, #a05835);
	color: var(--fc-accent-text, #fff);
}
.sc-city-ask-opt:active { transform: translateY(0); }
/* Both cities are offered on equal footing — the one already in use is not
   singled out, so neither reads as the recommended answer. */
.sc-city-ask-opt.is-active {
	background: #fff;
	color: var(--fc-accent, #a05835);
	border-color: var(--fc-accent, #a05835);
}
.sc-city-ask-opt.is-active:hover {
	background: var(--fc-accent, #a05835);
	color: var(--fc-accent-text, #fff);
}

.sc-city-ask.is-closing { opacity: 0; transition: opacity .18s ease; pointer-events: none; }
/* While the chooser is up nothing behind it should scroll. */
body:has(.sc-city-ask) { overflow: hidden; }
