/* Floating globe — language & currency (off header) */
.gfp-locale-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99975;
}
.gfp-locale-fab__btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  color: var(--gfp-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(30, 64, 175, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.gfp-locale-fab__btn:hover {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.16);
}
.gfp-locale-fab__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  min-width: 220px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--gfp-line-soft);
  box-shadow: 0 20px 40px -18px rgba(28, 25, 23, 0.28);
}
.gfp-locale-fab__title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gfp-muted);
}

.gfp-locale-controls--panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gfp-locale-controls__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.gfp-locale-controls__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gfp-muted);
}
.gfp-locale-select {
  border: 1px solid var(--gfp-line-soft);
  border-radius: 10px;
  background: var(--gfp-surface, #fafaf9);
  color: var(--gfp-ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  width: 100%;
  cursor: pointer;
}

/* Auto-detect prompt */
.gfp-locale-prompt {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99980;
  max-width: 520px;
  margin: 0 auto;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gfp-locale-prompt.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.gfp-locale-prompt__inner {
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gfp-line-soft);
  box-shadow: 0 24px 48px -20px rgba(28, 25, 23, 0.28);
}
.gfp-locale-prompt__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gfp-primary);
}
.gfp-locale-prompt__inner h2 {
  margin: 0 0 6px;
  font-size: 17px;
}
.gfp-locale-prompt__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gfp-muted);
}
.gfp-locale-prompt__detect {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--gfp-secondary);
}
.gfp-locale-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  position: relative;
  padding-right: 28px;
}
.gfp-locale-prompt__actions .gfp-cta {
  flex: 1 1 auto;
  min-width: 120px;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}
.gfp-locale-prompt__dismiss {
  position: absolute;
  top: -4px;
  right: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(100, 116, 139, 0.12);
  color: var(--gfp-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Currency estimate note */
.gfp-currency-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99970;
  max-width: 420px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 12px 32px -16px rgba(30, 64, 175, 0.5);
}
body.gfp-locale-prompt-open .gfp-currency-note,
.gfp-locale-prompt.is-visible ~ .gfp-currency-note {
  bottom: 140px;
}

/* Hide Google Translate chrome */
.gfp-google-translate-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.goog-te-banner-frame,
.goog-te-menu-value span,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
  display: none !important;
}
body {
  top: 0 !important;
}
.skiptranslate {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

@media (max-width: 520px) {
  .gfp-locale-fab { left: 10px; bottom: 10px; }
  .gfp-locale-prompt { left: 10px; right: 10px; bottom: 10px; }
  .gfp-locale-prompt__actions { flex-direction: column; padding-right: 0; padding-top: 8px; }
  .gfp-locale-prompt__dismiss { top: 8px; right: 8px; }
}

[data-gfp-theme="dark"] .gfp-locale-prompt__inner,
[data-gfp-theme="dark"] .gfp-locale-fab__panel {
  background: #1c1917;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-gfp-theme="dark"] .gfp-locale-select {
  background: #14100f;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fafafa;
}
[data-gfp-theme="dark"] .gfp-locale-fab__btn {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #93c5fd;
}
body.gfp-currency-converted .gfp-locale-fab {
  bottom: 72px;
}