/* ══════════════════════════════════════
   FLORAVERA — TOPBAR + WHOLESALE CTA + LANG
   新增需求适配
   ══════════════════════════════════════ */

/* ── 顶部条 ── */
.fv-topbar {
  background: var(--charcoal);
  color: var(--cream);
  padding: 10px 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}
.fv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fv-topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.55);
}
.fv-topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fv-topbar__divider {
  color: rgba(255,255,255,0.2);
}
.fv-topbar__wholesale {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blush);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}
.fv-topbar__wholesale:hover { color: #fff; }
.fv-topbar__wholesale svg { stroke: currentColor; }

/* ── 语言切换器（兼容多种翻译插件） ── */
.fv-lang-switcher {
  display: inline-flex;
  align-items: center;
}
.fv-lang-switcher .gtranslate_wrapper,
.fv-lang-switcher select {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: var(--cream) !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.1em !important;
  padding: 3px 22px 3px 10px !important;
  border-radius: 0 !important;
  cursor: pointer;
}
.fv-lang-switcher select option {
  background: var(--charcoal);
  color: var(--cream);
}
.fv-lang-placeholder {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.55);
}
/* GTranslate flag-based switcher styling */
.fv-lang-switcher .gt_selector,
.fv-lang-switcher .glink {
  color: var(--cream) !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  font-size: 0.66rem !important;
  padding: 3px 10px !important;
}

/* 顶栏存在时，header需要下推 */
.fv-has-topbar #site-header { top: 36px; }

/* ── 显眼 Wholesale CTA 按钮（导航栏） ── */
.fv-header-wholesale-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--rose);
  color: #fff !important;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.fv-header-wholesale-cta::before {
  content: '✦';
  margin-right: 8px;
  font-size: 0.7rem;
}
.fv-header-wholesale-cta:hover {
  background: var(--deep);
  color: #fff !important;
  transform: translateY(-1px);
}
.header-icon-link {
  display: flex;
  align-items: center;
}

/* ── 移动端 Wholesale CTA ── */
.mobile-nav__wholesale-cta {
  display: block;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--rose);
  color: #fff !important;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}
.mobile-nav__wholesale-cta:hover { background: var(--deep); }

/* ══════════════════════════════════════
   首页悬浮 Wholesale CTA 入口
   ══════════════════════════════════════ */
.fv-floating-wholesale {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  background: var(--charcoal);
  color: var(--cream);
  padding: 14px 22px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  transition: background 0.3s, transform 0.3s;
}
.fv-floating-wholesale:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}
.fv-floating-wholesale__icon {
  width: 16px; height: 16px;
}

/* ══════════════════════════════════════
   响应式调整
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .fv-topbar { font-size: 0.6rem; padding: 8px 0; }
  .fv-topbar__left span:last-child { display: none; }
  .fv-topbar__left .fv-topbar__divider:last-of-type { display: none; }
}
@media (max-width: 768px) {
  .fv-topbar {
    padding: 7px 0;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }
  .fv-topbar__left { gap: 8px; }
  .fv-topbar__left span:nth-child(3),
  .fv-topbar__left .fv-topbar__divider { display: none; }
  .fv-topbar__right { gap: 10px; }
  .fv-topbar__wholesale svg { width: 11px; height: 11px; }
  
  .fv-header-wholesale-cta {
    display: none; /* 移动端隐藏，因为顶栏和移动菜单已有 */
  }
  
  .fv-floating-wholesale {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 0.62rem;
  }
}
