/* GRZ Gaming — region-preferences canonical stylesheet. 
 */
/**
 * GRZ storefront preference studio.
 */
.grz-region-preferences-page { background: #f4f7fb; }
.grz-region-page { min-height: 72vh; background: linear-gradient(180deg, #f8fafd 0, #f3f6fa 100%); color: #172033; }
.grz-region-page__container { padding-block: clamp(22px, 4vw, 52px) clamp(48px, 7vw, 88px); }
.grz-region-back { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; margin-bottom: 18px; color: #65758a; font-size: .78rem; font-weight: 750; text-decoration: none; }
.grz-region-back:hover,
.grz-region-back:focus-visible { color: var(--grz-blue); }
.grz-region-back .grz-icon { width: 15px; height: 15px; }
.grz-region-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #dfe7f1; }
.grz-region-hero__copy { max-width: 760px; }
.grz-region-hero__eyebrow { display: block; margin-bottom: 8px; color: var(--grz-blue); font-size: .67rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.grz-region-hero h1 { margin: 0 0 8px; color: #172033; font-size: clamp(1.72rem, 3vw, 2.45rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; }
.grz-region-hero p { max-width: 720px; margin: 0; color: #6a798d; font-size: .86rem; line-height: 1.65; }
.grz-region-hero__status { display: flex; min-height: 42px; align-items: center; gap: 8px; border: 1px solid #dce5f0; border-radius: 7px; background: #fff; box-shadow: 0 7px 20px rgba(28,55,89,.05); padding: 7px 10px; }
.grz-region-hero__flag { font-size: 1.2rem; line-height: 1; }
.grz-region-hero__country { max-width: 170px; overflow: hidden; color: #27364a; font-size: .75rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.grz-region-token { display: inline-flex; min-width: 42px; min-height: 26px; align-items: center; justify-content: center; border: 1px solid #d7e2ef; border-radius: 5px; background: #f7f9fc; color: #3f5066; font-size: .67rem; font-weight: 900; letter-spacing: .04em; padding: 3px 8px; }
.grz-region-form { display: grid; gap: 18px; }
.grz-region-quick-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 18px; }
.grz-region-panel { border: 1px solid #dce5f0; border-radius: 8px; background: #fff; box-shadow: 0 9px 26px rgba(30,58,92,.05); padding: clamp(17px, 2vw, 24px); }
.grz-region-panel__head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.grz-region-panel__head--country { align-items: center; justify-content: space-between; gap: 18px; }
.grz-region-panel__title-wrap { display: flex; align-items: flex-start; gap: 11px; }
.grz-region-panel__icon { flex: 0 0 auto; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 6px; background: #edf5ff; color: var(--grz-blue); }
.grz-region-panel__icon .grz-icon { width: 16px; height: 16px; }
.grz-region-panel__head h2 { margin: 0 0 3px; color: #1b293c; font-size: .98rem; font-weight: 875; letter-spacing: -.02em; }
.grz-region-panel__head p { margin: 0; color: #748398; font-size: .72rem; line-height: 1.45; }
.grz-region-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grz-region-choice-grid--currencies { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grz-region-choice,
.grz-region-country,
.grz-region-popular__item { position: relative; cursor: pointer; }
.grz-region-choice input,
.grz-region-country input,
.grz-region-popular__item input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.grz-region-choice { display: flex; min-height: 44px; align-items: center; gap: 8px; border: 1px solid #dfe7f1; border-radius: 6px; background: #fafcff; color: #29384d; padding: 7px 9px; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease; }
.grz-region-choice:hover,
.grz-region-choice:focus-within { border-color: #b9d1ef; background: #f4f8fe; transform: translateY(-1px); }
.grz-region-choice.is-selected,
.grz-region-choice:has(input:checked) { border-color: var(--grz-blue); background: #edf5ff; }
.grz-region-choice__symbol { flex: 0 0 auto; font-size: 1.15rem; line-height: 1; }
.grz-region-choice strong { font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.grz-region-choice--currency { justify-content: center; padding-inline: 7px; }
.grz-region-choice--currency strong { font-size: .7rem; }
.grz-region-option-check { flex: 0 0 auto; display: grid; width: 17px; height: 17px; margin-inline-start: auto; place-items: center; border: 1px solid #cdd8e5; border-radius: 50%; background: #fff; color: transparent; }
.grz-region-option-check .grz-icon { width: 10px; height: 10px; }
.is-selected > .grz-region-option-check,
.grz-region-choice:has(input:checked) .grz-region-option-check,
.grz-region-country:has(input:checked) .grz-region-option-check { border-color: var(--grz-blue); background: var(--grz-blue); color: #fff; }
.grz-region-country-search { position: relative; display: flex; width: min(100%, 330px); align-items: center; }
.grz-region-country-search > .grz-icon { position: absolute; inset-inline-start: 12px; z-index: 1; width: 15px; height: 15px; color: #7c8ba0; pointer-events: none; }
.grz-region-country-search input { width: 100%; height: 40px; border: 1px solid #d8e2ee; border-radius: 6px; outline: none; background: #f9fbfd; color: #172033; font: inherit; font-size: .78rem; padding: 0 40px; }
.grz-region-country-search input:focus { border-color: rgba(8,104,242,.55); background: #fff; box-shadow: 0 0 0 3px rgba(8,104,242,.09); }
.grz-region-country-search__clear { position: absolute; inset-inline-end: 5px; display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #748398; padding: 0; }
.grz-region-country-search__clear:hover,
.grz-region-country-search__clear:focus-visible { background: #edf3fb; color: #172033; }
.grz-region-country-search__clear .grz-icon { width: 13px; height: 13px; }
.grz-region-popular { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 11px 12px; border: 1px solid #e1e8f1; border-radius: 7px; background: #f8fafd; }
.grz-region-popular__label { flex: 0 0 auto; color: #66768b; font-size: .66rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.grz-region-popular__list { display: flex; flex-wrap: wrap; gap: 6px; }
.grz-region-popular__item { display: inline-flex; min-height: 30px; align-items: center; gap: 6px; border: 1px solid #dbe4ef; border-radius: 5px; background: #fff; color: #334358; font-size: .67rem; font-weight: 850; padding: 4px 8px; }
.grz-region-popular__item:hover,
.grz-region-popular__item:focus-within { border-color: #b8d0ef; color: var(--grz-blue); }
.grz-region-popular__item.is-selected { border-color: var(--grz-blue); background: #edf5ff; color: var(--grz-blue); }
.grz-region-flag { flex: 0 0 auto; font-size: 1.05rem; line-height: 1; }
.grz-region-country-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.grz-region-continent { min-width: 0; border: 1px solid #e0e7f0; border-radius: 7px; background: #fbfcfe; overflow: hidden; }
.grz-region-continent__head { display: flex; min-height: 44px; align-items: center; gap: 9px; border-bottom: 1px solid #e4ebf3; background: #f7faff; padding: 0 13px; }
.grz-region-continent__head h3 { margin: 0; color: #27364a; font-size: .76rem; font-weight: 875; letter-spacing: -.01em; }
.grz-region-continent__head small { margin-inline-start: auto; color: #8492a5; font-size: .65rem; font-weight: 800; }
.grz-region-country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; }
.grz-region-country { display: flex; min-height: 43px; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; color: #2e3e53; padding: 6px 8px; }
.grz-region-country:hover,
.grz-region-country:focus-within { border-color: #d4e1ef; background: #fff; }
.grz-region-country.is-selected,
.grz-region-country:has(input:checked) { border-color: #9ec5f6; background: #edf5ff; }
.grz-region-country__copy { display: grid; min-width: 0; }
.grz-region-country__copy strong { overflow: hidden; font-size: .71rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.grz-region-country__copy small { color: #8190a4; font-size: .61rem; font-weight: 750; }
.grz-region-empty { display: grid; min-height: 90px; place-items: center; color: #77869a; font-size: .76rem; text-align: center; }
.grz-region-empty[hidden],
.grz-region-country[hidden],
.grz-region-popular__item[hidden],
.grz-region-continent[hidden] { display: none !important; }
.grz-region-actionbar { position: sticky; bottom: 14px; z-index: 20; display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #d5e0ec; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 14px 34px rgba(27,54,88,.13); padding: 9px 11px 9px 14px; backdrop-filter: blur(12px); }
.grz-region-actionbar__selection { display: flex; min-width: 0; align-items: center; gap: 9px; }
.grz-region-actionbar__flag { font-size: 1.28rem; }
.grz-region-actionbar__selection > div { display: grid; min-width: 0; margin-inline-end: 4px; }
.grz-region-actionbar__selection small { color: #7a899c; font-size: .61rem; font-weight: 750; }
.grz-region-actionbar__selection strong { max-width: 220px; overflow: hidden; color: #243449; font-size: .76rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.grz-region-actionbar__actions { display: flex; align-items: center; gap: 8px; }
.grz-region-cancel { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; color: #64748a; font-size: .72rem; font-weight: 800; text-decoration: none; padding-inline: 12px; }
.grz-region-cancel:hover,
.grz-region-cancel:focus-visible { color: var(--grz-blue); }
.grz-region-save { display: inline-flex; min-width: 174px; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-size: .76rem; padding: 9px 14px; }
.grz-region-save .grz-icon { width: 14px; height: 14px; }
.grz-region-save.is-saving { opacity: .72; } @media (max-width: 1020px) {
	.grz-region-choice-grid--currencies { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grz-region-country-groups { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.grz-region-hero { align-items: flex-start; flex-direction: column; }
	.grz-region-quick-grid { grid-template-columns: 1fr; }
	.grz-region-panel__head--country { align-items: flex-start; flex-direction: column; }
	.grz-region-country-search { width: 100%; }
	.grz-region-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grz-region-choice-grid--currencies { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grz-region-actionbar { position: static; align-items: stretch; flex-direction: column; }
	.grz-region-actionbar__actions { justify-content: flex-end; }
}
@media (max-width: 520px) {
	.grz-region-page__container { padding-block-start: 18px; }
	.grz-region-hero__status { width: 100%; }
	.grz-region-hero__country { flex: 1; max-width: none; }
	.grz-region-choice-grid,
.grz-region-choice-grid--currencies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grz-region-popular { align-items: flex-start; flex-direction: column; }
	.grz-region-country-grid { grid-template-columns: 1fr; }
	.grz-region-actionbar__selection { flex-wrap: wrap; }
	.grz-region-actionbar__selection > div { flex: 1; min-width: 130px; }
	.grz-region-actionbar__actions { display: grid; grid-template-columns: auto 1fr; width: 100%; }
	.grz-region-save { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .grz-region-page * { scroll-behavior: auto !important; transition: none !important; } }
@media (forced-colors: active) { .grz-region-panel,
.grz-region-choice,
.grz-region-country,
.grz-region-popular__item,
.grz-region-actionbar { border: 1px solid CanvasText; background: Canvas; } }