/* AVS Sell & Ship — Locale Switcher Widget */

.avs-ss-locale-widget {
    position: fixed;
    z-index: 99990;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}

/* Positions */
.avs-ss-locale-widget--bottom-right { bottom: 24px; right: 24px; }
.avs-ss-locale-widget--bottom-left  { bottom: 24px; left: 24px;  }
.avs-ss-locale-widget--top-right    { top: 80px;    right: 24px; }
.avs-ss-locale-widget--top-left     { top: 80px;    left: 24px;  }

/* Trigger button */
.avs-ss-locale-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #d0d3d8;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #1d2327;
    white-space: nowrap;
    transition: box-shadow .15s, border-color .15s;
    line-height: 1;
}
.avs-ss-locale-trigger:hover {
    border-color: #2271b1;
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.avs-ss-locale-trigger[aria-expanded="true"] {
    border-color: #2271b1;
    box-shadow: 0 3px 12px rgba(34,113,177,.25);
}

.avs-ss-locale-flag   { font-size: 18px; line-height: 1; }
.avs-ss-locale-label  { font-weight: 600; letter-spacing: .02em; }
.avs-ss-locale-sep    { color: #c3c4c7; margin: 0 2px; }
.avs-ss-locale-curr   { color: #2271b1; font-weight: 600; }
.avs-ss-locale-chevron {
    opacity: .5;
    transition: transform .2s;
    flex-shrink: 0;
}
.avs-ss-locale-trigger[aria-expanded="true"] .avs-ss-locale-chevron {
    transform: rotate(180deg);
}

/* Panel */
.avs-ss-locale-panel {
    position: absolute;
    background: #fff;
    border: 1px solid #d0d3d8;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
    width: 270px;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Tabs ── */
.avs-ss-locale-tabs {
    display: flex;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f1;
}
.avs-ss-locale-tab {
    flex: 1;
    padding: 9px 4px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: #646970;
    transition: color .15s, border-color .15s;
    letter-spacing: .01em;
}
.avs-ss-locale-tab:hover {
    color: #1d2327;
}
.avs-ss-locale-tab--active {
    color: #2271b1;
    border-bottom-color: #2271b1;
    font-weight: 600;
}

/* ── Sections ── */
.avs-ss-locale-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}
.avs-ss-locale-section--hidden {
    display: none;
}

/* Panel position relative to trigger */
.avs-ss-locale-widget--bottom-right .avs-ss-locale-panel,
.avs-ss-locale-widget--top-right .avs-ss-locale-panel {
    bottom: calc(100% + 8px);
    right: 0;
}
.avs-ss-locale-widget--bottom-left .avs-ss-locale-panel,
.avs-ss-locale-widget--top-left .avs-ss-locale-panel {
    bottom: calc(100% + 8px);
    left: 0;
}
.avs-ss-locale-widget--top-right .avs-ss-locale-panel,
.avs-ss-locale-widget--top-left .avs-ss-locale-panel {
    bottom: auto;
    top: calc(100% + 8px);
}

/* Check mark for active item */
.avs-ss-locale-item-check {
    color: #2271b1;
    font-size: 11px;
    margin-left: auto;
    padding-left: 4px;
    flex-shrink: 0;
}

/* Search */
.avs-ss-locale-search-wrap {
    padding: 8px 10px 6px;
    border-bottom: 1px solid #f0f0f1;
    flex-shrink: 0;
}
.avs-ss-locale-search {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    border: 1px solid #d0d3d8;
    border-radius: 6px;
    font-size: 12px;
    outline: none;
    color: #1d2327;
}
.avs-ss-locale-search:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}

/* List */
.avs-ss-locale-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    flex: 1;
}
.avs-ss-locale-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background .1s;
    border-radius: 0;
}
.avs-ss-locale-item:hover,
.avs-ss-locale-item:focus {
    background: #f0f6fc;
    outline: none;
}
.avs-ss-locale-item--active {
    background: #f0f6fc;
    font-weight: 600;
    color: #2271b1;
}
.avs-ss-locale-item-flag {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}
.avs-ss-locale-item-name {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.avs-ss-locale-item-curr {
    font-size: 11px;
    color: #646970;
    white-space: nowrap;
    font-weight: 500;
}
.avs-ss-locale-item--active .avs-ss-locale-item-curr {
    color: #2271b1;
}

/* Loading state */
.avs-ss-locale-widget--loading .avs-ss-locale-trigger {
    opacity: .7;
    pointer-events: none;
}

/* Hidden utility */
.avs-ss-locale-panel[hidden] { display: none; }

/* Responsive */
@media (max-width: 480px) {
    .avs-ss-locale-widget--bottom-right { bottom: 16px; right: 16px; }
    .avs-ss-locale-widget--bottom-left  { bottom: 16px; left: 16px; }
    .avs-ss-locale-panel { width: calc(100vw - 32px); max-width: 280px; }
}

/* Google Translate cleanup — hide bar and badge */
.goog-te-banner-frame.skiptranslate { display: none !important; }
.skiptranslate { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}