/* Country / language selector – copied 1:1 from sellvio.com (assets/style.css) */
.ft-country { position: relative; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; }
.ft-country-btn {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  border-radius: .55rem; padding: .4rem .7rem;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  font-family: inherit; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.8);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ft-country-btn:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(101,163,234,.4); }
.ft-flag { font-size: .95rem; line-height: 1; }
.ft-chev { height: .8rem; width: .8rem; opacity: .6; transition: transform .25s ease; }
.ft-country.is-open .ft-chev { transform: rotate(180deg); }
.ft-country-menu {
  position: absolute; right: 0; bottom: calc(100% + .5rem); z-index: 70;
  display: grid; grid-template-columns: repeat(3, minmax(9.9rem, 1fr)); gap: .15rem;
  padding: .4rem; border-radius: .85rem;
  background: #191537; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.75);
}
.ft-country-menu[hidden] { display: none; }
.ft-country-item {
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  border-radius: .55rem; padding: .5rem .65rem;
  font-size: .8rem; color: rgba(255,255,255,.72); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ft-country-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.ft-country-item.is-current { background: rgba(101,163,234,.16); color: #fff; font-weight: 700; }

/* floating globe button */
.lang-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; }
.lang-fab-btn {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  height: 2.75rem; width: 2.75rem; border-radius: 9999px;
  background: rgba(20,17,45,.82); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .22s cubic-bezier(.22,.9,.3,1), border-color .22s ease, background .22s ease;
}
.lang-fab-btn svg { height: 1.25rem; width: 1.25rem; color: rgba(255,255,255,.85); }
.lang-fab-btn:hover svg { color: #fff; }
.lang-fab-btn:hover { transform: translateY(-2px); border-color: rgba(101,163,234,.55); }
.lang-fab-menu { right: 0; bottom: calc(100% + .6rem); }

@media (max-width: 640px) { .lang-fab { right: 1rem; bottom: 1rem; } }
@media (max-width: 520px) {
  .ft-country-menu { width: max-content; max-width: calc(100vw - 2rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .ft-country-btn, .ft-chev, .lang-fab-btn, .ft-country-item { transition: none; } }
