/* Tyria Ship-To Estimator — minimal, theme-agnostic styling. */

.tsce-selector {
	position: relative;
	display: inline-block;
	font-size: 0.8125rem;
}

.tsce-selector-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.tsce-selector-list {
	position: absolute;
	right: 0;
	top: 100%;
	margin: 0.25em 0 0;
	padding: 0.25em 0;
	list-style: none;
	background: #fff;
	color: #111;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	min-width: 10em;
	z-index: 100;
}

.tsce-selector-list[hidden] {
	display: none;
}

.tsce-selector-list li {
	padding: 0.4em 0.75em;
	cursor: pointer;
}

.tsce-selector-list li:hover,
.tsce-selector-list li:focus {
	background: rgba(0, 0, 0, 0.06);
}

.tsce-selector-note {
	display: none;
}

.tsce-est,
.tsce-est-pdp {
	font-size: 0.8125rem;
	color: #444;
	margin-top: 0.25em;
	min-height: 1em;
}

.tsce-est:empty,
.tsce-est-pdp:empty {
	display: none;
}

.tsce-est-pdp ul {
	list-style: none;
	margin: 0.25em 0 0;
	padding: 0;
}

.tsce-est-pdp li {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: 0.15em 0;
}

.tsce-est-pdp .tsce-caption {
	display: block;
	margin-top: 0.35em;
	font-size: 0.75rem;
	color: #777;
}

.tsce-est.tsce-error,
.tsce-est-pdp .tsce-error {
	color: #777;
	font-style: italic;
}

.tsce-est.tsce-loading,
.tsce-est-pdp .tsce-loading {
	color: #999;
}
