.bgb-ism-country-selector {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	max-width: 100%;
	visibility: visible;
	opacity: 1;
	position: relative;
	z-index: 9999;
	font-size: 13px;
	padding: 4px 8px;
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 999px;
	background: #fff;
	color: #111827;
	box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
	line-height: 1.2;
	cursor: pointer;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}

.bgb-ism-country-selector--shortcode {
	position: relative;
}

.bgb-ism-country-selector__text {
	display: none;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.bgb-ism-country-selector--format-compact .bgb-ism-country-selector__text--compact,
.bgb-ism-country-selector--format-full .bgb-ism-country-selector__text--full,
.bgb-ism-country-selector--format-text .bgb-ism-country-selector__text--text {
	display: inline-flex;
}

.bgb-ism-country-selector__prefix {
	opacity: 0.75;
}

.bgb-ism-country-selector__value {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	font-weight: 700;
}

.bgb-ism-country-selector__country,
.bgb-ism-country-selector__country-code {
	font-weight: 700;
}

.bgb-ism-country-selector__change {
	color: #9a6700;
	text-decoration: underline;
}

.bgb-ism-country-selector__empty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
}

.bgb-ism-country-selector__empty-label {
	font-weight: 700;
}

.bgb-ism-country-selector__warning {
	margin-top: 8px;
	max-width: min(92vw, 320px);
	white-space: normal;
	padding: 10px 12px;
	border-radius: 14px;
	background: #fff4e5;
	color: #8a4b08;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
	line-height: 1.35;
}

.bgb-ism-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	align-items: flex-start;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	z-index: 999999;
}

.bgb-ism-modal.is-open {
	display: flex;
	opacity: 1;
	visibility: visible;
	z-index: 999999;
}

.bgb-ism-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 12, 12, 0.55);
}

.bgb-ism-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 420px);
	margin: 10vh auto 0;
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.bgb-ism-modal__dialog h3 {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.2;
	text-align: center;
	font-weight: 700;
}

.bgb-ism-modal__alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #e2a8a8;
	border-radius: 12px;
	background: #fff2f2;
	color: #8a1f1f;
	text-align: center;
}

.bgb-ism-modal__alert strong {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.bgb-ism-modal__alert span {
	display: block;
}

.bgb-ism-modal__dialog p {
	margin: 0 0 16px;
	color: #4b5563;
}

.bgb-ism-modal__dialog select {
	width: 100%;
	min-height: 46px;
	margin-bottom: 16px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
}

.bgb-ism-modal__save {
	width: 100%;
	min-height: 46px;
	border-radius: 999px;
	font-weight: 700;
}

.bgb-ism-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	color: #6b7280;
}

.bgb-ism-product-notice,
.bgb-ism-cart-item-notice,
.bgb-ism-loop-product-notice {
	margin-top: 8px;
}

.bgb-ism-shipping-info {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	z-index: 20 !important;
	clear: both !important;
	margin: 14px 0 0 0;
	padding: 12px 14px;
	border: 1px solid #d8e7d8;
	background: #f7fcf7;
	border-radius: 8px;
}

.bgb-ism-shipping-info strong {
	display: block;
	margin-bottom: 4px;
}

.bgb-ism-shipping-info span {
	display: block;
	font-size: 14px;
}

.bgb-ism-disabled-add-to-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #e5e7eb;
	color: #374151;
	font-weight: 700;
	cursor: not-allowed;
}

.bgb-ism-disabled-add-to-cart--loop {
	margin-top: 8px;
}

@media (max-width: 640px) {
	.bgb-ism-country-selector--format-full .bgb-ism-country-selector__text--full,
	.bgb-ism-country-selector--format-text .bgb-ism-country-selector__text--text {
		display: none;
	}

	.bgb-ism-country-selector--format-full .bgb-ism-country-selector__text--compact,
	.bgb-ism-country-selector--format-text .bgb-ism-country-selector__text--compact {
		display: inline-flex;
	}

	.bgb-ism-country-selector__warning {
		max-width: min(92vw, 280px);
	}

	.bgb-ism-modal__dialog {
		margin-top: 12vh;
		padding: 20px;
	}
}
