/* ShiraSeal Geo VAT — frontend styles. Kept minimal so themes can restyle easily. */

/* Cache-compatibility: hide prices that may be for the wrong region until refreshed.
   The animation reveals them after 3 s even if the script never runs. */
.ssgv-pending .ssgv-price,
.ssgv-pending .ssgv-location {
	visibility: hidden;
	animation: ssgv-reveal 0s linear 3s forwards;
}

@keyframes ssgv-reveal {
	to {
		visibility: visible;
	}
}

.ssgv-suffix {
	font-size: 0.75em;
	opacity: 0.85;
	white-space: nowrap;
}

/* Location box */
.ssgv-location {
	font-size: 0.875em;
	line-height: 1.5;
	margin: 0.5em 0 1em;
}

.ssgv-location__summary {
	margin: 0;
}

.ssgv-location__info {
	display: block;
	margin-top: 0.25em;
	opacity: 0.85;
}

.ssgv-location__details {
	margin-top: 0.35em;
}

.ssgv-location__details > summary {
	cursor: pointer;
	text-decoration: underline;
	width: fit-content;
}

.ssgv-location__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	margin-top: 0.5em;
}

.ssgv-location__select {
	max-width: 100%;
}

.ssgv-location--floating {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 9990;
	margin: 0;
	max-width: calc(100vw - 2rem);
	padding: 0.5em 0.75em;
	border-radius: 6px;
	background: #fff;
	color: #111;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Block cart/checkout notice */
.ssgv-blocks-notice {
	margin: 1em 0 0;
	padding: 0.75em 1em;
	border-left: 3px solid currentColor;
	font-size: 0.875em;
	line-height: 1.5;
}
