/*
Theme Name: VendorLink
Theme URI: https://vendorlink.az
Description: VendorLink marketplace theme — child of Twenty Twenty-Five.
Author: VendorLink
Template: twentytwentyfive
Version: 0.1.0
Text Domain: vendorlink
*/

:root {
  --vl-ink: #0f1a2b;
  --vl-muted: #5b6676;
  --vl-line: #e5e8ec;
  --vl-accent: #1f6feb;
  --vl-accent-dark: #1a5fd0;
}

.vl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--vl-line);
}

.vl-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.vl-logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .14em;
  color: var(--vl-ink);
  text-decoration: none;
  white-space: nowrap;
}

.vl-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}

.vl-nav a {
  color: var(--vl-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.vl-nav a:hover {
  color: var(--vl-ink);
  border-bottom-color: var(--vl-accent);
}

.vl-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vl-signin {
  color: var(--vl-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.vl-signin:hover { color: var(--vl-accent); }

.vl-cta {
  display: inline-block;
  background: var(--vl-accent);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

.vl-cta:hover { background: var(--vl-accent-dark); color: #fff; }

.vl-burger {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--vl-ink);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 900px) {
  .vl-header__inner { gap: 16px; }
  .vl-nav { display: none; }
  .vl-burger { display: block; margin-left: auto; order: 3; }
  .vl-actions { order: 2; gap: 12px; }
  .vl-signin { display: none; }
  .vl-header.is-open .vl-nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--vl-line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .vl-header.is-open .vl-nav a { padding: 12px 0; width: 100%; }
}

.vl-signup {
  display: inline-block;
  color: var(--vl-accent);
  background: #fff;
  border: 1px solid var(--vl-accent);
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 16px;
  white-space: nowrap;
}

.vl-signup:hover { background: #f2f7ff; color: var(--vl-accent-dark); border-color: var(--vl-accent-dark); }

.vl-nav-auth { display: none; }

@media (max-width: 900px) {
  .vl-signup { display: none; }
  .vl-header.is-open .vl-nav .vl-nav-auth { display: block; }
  .vl-header.is-open .vl-nav .vl-nav-auth:first-of-type { border-top: 1px solid var(--vl-line); margin-top: 8px; }
}

/* ---------- Hero ---------- */

.vl-hero {
  background: linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--vl-line);
}

.vl-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  text-align: center;
}

.vl-hero__title {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--vl-ink);
}

.vl-hero__sub {
  margin: 0 auto 36px;
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--vl-muted);
}

.vl-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--vl-line);
  border-radius: 12px;
  padding: 8px 8px 8px 16px;
  box-shadow: 0 6px 24px rgba(15, 26, 43, .08);
}

.vl-search:focus-within { border-color: var(--vl-accent); box-shadow: 0 6px 24px rgba(31, 111, 235, .16); }

.vl-search__icon { font-size: 18px; line-height: 1; opacity: .6; }

.vl-search__input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--vl-ink);
  padding: 10px 4px;
  min-width: 0;
}

.vl-search__input::placeholder { color: #9aa4b2; }

.vl-search__btn {
  border: 0;
  background: var(--vl-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.vl-search__btn:hover { background: var(--vl-accent-dark); }

.vl-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 720px;
}

.vl-chips__label { color: var(--vl-muted); font-size: 14px; }

.vl-chips a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--vl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vl-ink);
  font-size: 14px;
  text-decoration: none;
}

.vl-chips a:hover { border-color: var(--vl-accent); color: var(--vl-accent); }

.vl-hero__alt { margin: 34px 0 0; font-size: 15px; color: var(--vl-muted); }
.vl-hero__alt a { color: var(--vl-accent); font-weight: 600; text-decoration: none; }
.vl-hero__alt a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .vl-hero__inner { padding: 56px 20px 48px; }
  .vl-search { flex-wrap: wrap; padding: 10px; }
  .vl-search__input { width: 100%; }
  .vl-search__btn { width: 100%; }
  .vl-search__icon { display: none; }
}

/* ---------- Floating WhatsApp ---------- */

.vl-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  text-decoration: none;
}

/* ---------- Hero search (v2: prompt + example hint) ---------- */

.vl-search { display: block; padding: 14px 14px 10px; }

.vl-search__row { display: flex; align-items: center; gap: 10px; }

.vl-search__input { font-size: 17px; padding: 8px 2px; }

.vl-search__hint {
  margin: 8px 0 0;
  padding-left: 30px;
  text-align: left;
  font-size: 13.5px;
  color: #9aa4b2;
}

@media (max-width: 600px) {
  .vl-search__row { flex-wrap: wrap; }
  .vl-search__hint { padding-left: 2px; }
}

/* ---------- Floating AI assistant (mirrors the WhatsApp button) ---------- */

.vl-ai { position: fixed; left: 20px; bottom: 20px; z-index: 9999; }

.vl-ai__btn {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--vl-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.vl-ai__btn:hover { background: var(--vl-accent-dark); }

.vl-ai__card {
  position: absolute;
  left: 0;
  bottom: 74px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--vl-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 26, 43, .18);
  padding: 16px 18px;
  text-align: left;
}

.vl-ai__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--vl-ink); }
.vl-ai__text { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--vl-muted); }
.vl-ai__link { font-size: 13.5px; font-weight: 600; color: var(--vl-accent); text-decoration: none; }
.vl-ai__link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .vl-ai__card { width: calc(100vw - 56px); }
}

/* ---------- Hero second path: describe the problem, not the product ---------- */

.vl-or {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin: 26px auto 22px;
  color: #9aa4b2;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vl-or::before, .vl-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--vl-line);
}

.vl-ask {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--vl-line);
  border-radius: 12px;
}

.vl-ask__lead {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--vl-ink);
}

.vl-ask__btn {
  border: 0;
  background: var(--vl-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
}

.vl-ask__btn:hover { background: #1c2b45; }

.vl-ask__eg {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vl-muted);
  font-style: italic;
}

.vl-ask__eg-label { font-style: normal; font-weight: 600; color: #9aa4b2; }

.vl-ask__note { margin: 10px 0 0; font-size: 13.5px; color: #9aa4b2; }

/* ---------- Verified suppliers ---------- */

.vl-sup { background: #fff; padding: 72px 0; }

.vl-sup__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.vl-sup__head { max-width: 640px; margin: 0 0 38px; }

.vl-sup__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--vl-ink);
}

.vl-sup__sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--vl-muted); }

.vl-sup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vl-card {
  border: 1px solid var(--vl-line);
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.vl-card:hover { border-color: #cfd6e0; box-shadow: 0 6px 20px rgba(15, 26, 43, .07); }

.vl-card__top { display: flex; align-items: flex-start; gap: 14px; }

.vl-card__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef3fb;
  color: var(--vl-accent);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vl-card__name { margin: 0 0 3px; font-size: 16.5px; font-weight: 700; color: var(--vl-ink); line-height: 1.3; }
.vl-card__cat { margin: 0; font-size: 13.5px; color: var(--vl-muted); line-height: 1.4; }

.vl-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f7ee;
  color: #1a7f45;
  font-size: 12.5px;
  font-weight: 600;
}

.vl-card__meta {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--vl-muted);
}

.vl-card__meta li { position: relative; }
.vl-card__meta li + li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3cbd6;
}

.vl-sup__more { margin: 32px 0 0; }
.vl-sup__more a { color: var(--vl-accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.vl-sup__more a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .vl-sup { padding: 56px 0; }
  .vl-sup__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .vl-sup__grid { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */

.vl-how { background: #f7f9fc; border-top: 1px solid var(--vl-line); border-bottom: 1px solid var(--vl-line); padding: 64px 0; }

.vl-how__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.vl-how__title {
  margin: 0 0 36px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--vl-ink);
}

.vl-how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.vl-how__step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--vl-line);
  border-radius: 12px;
  padding: 24px 22px;
}

.vl-how__num {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vl-accent);
  letter-spacing: .04em;
}

.vl-how__step-name { color: var(--vl-ink); font-size: 18px; letter-spacing: 0; }

.vl-how__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--vl-muted); }

.vl-how__arrow {
  flex: none;
  align-self: center;
  font-size: 24px;
  color: #b7c2d2;
  line-height: 1;
  padding-top: 4px;
}

@media (max-width: 820px) {
  .vl-how { padding: 48px 0; }
  .vl-how__steps { flex-direction: column; align-items: stretch; gap: 12px; }
  .vl-how__arrow { align-self: center; transform: rotate(90deg); padding: 0; }
}

/* ---------- Two-sided: For Buyers / For Suppliers ---------- */

.vl-two { background: #fff; padding: 12px 0 76px; }

.vl-two__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vl-two__panel {
  border: 1px solid var(--vl-line);
  border-radius: 14px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.vl-two__panel--buyers { background: #f4f8ff; border-color: #dbe7fb; }
.vl-two__panel--suppliers { background: #fafbfc; }

.vl-two__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vl-accent);
}

.vl-two__panel--suppliers .vl-two__eyebrow { color: var(--vl-muted); }

.vl-two__title {
  margin: 0 0 20px;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--vl-ink);
}

.vl-two__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.vl-two__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: #2c3b52;
}

.vl-two__tick { color: #1a7f45; font-weight: 700; line-height: 1.4; }

.vl-two__cta {
  align-self: flex-start;
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
}

.vl-two__cta--primary { background: var(--vl-accent); color: #fff; }
.vl-two__cta--primary:hover { background: var(--vl-accent-dark); color: #fff; }

.vl-two__cta--outline { background: #fff; color: var(--vl-ink); border: 1px solid #cfd6e0; }
.vl-two__cta--outline:hover { border-color: var(--vl-ink); }

@media (max-width: 820px) {
  .vl-two { padding: 8px 0 56px; }
  .vl-two__inner { grid-template-columns: 1fr; }
  .vl-two__panel { padding: 26px 22px; }
}

/* ---------- Industry insights ---------- */

.vl-ins { background: #f7f9fc; border-top: 1px solid var(--vl-line); padding: 68px 0 76px; }

.vl-ins__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.vl-ins__head { margin: 0 0 32px; }

.vl-ins__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--vl-ink);
}

.vl-ins__sub { margin: 0; font-size: 16px; color: var(--vl-muted); }

.vl-ins__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.vl-ins__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--vl-line);
  border-radius: 12px;
  padding: 24px 22px;
  text-decoration: none;
  min-height: 170px;
}

a.vl-ins__card:hover { border-color: #cfd6e0; box-shadow: 0 6px 20px rgba(15, 26, 43, .07); }

.vl-ins__card-title {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--vl-ink);
}

.vl-ins__card-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--vl-muted); }

.vl-ins__more { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--vl-accent); }

.vl-ins__card--soon { background: #fbfcfd; }

.vl-ins__soon {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: #9aa4b2;
  background: #eef1f5;
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 900px) { .vl-ins__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vl-ins { padding: 52px 0 56px; } .vl-ins__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.vl-footer { background: var(--vl-ink); color: #cdd6e3; }

.vl-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
}

.vl-footer__brand { flex: 1 1 220px; min-width: 200px; }

.vl-footer__logo {
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .14em;
  text-decoration: none;
}

.vl-footer__tagline { margin: 10px 0 0; font-size: 14.5px; color: #8b99ad; }

.vl-footer__cols {
  flex: 3 1 620px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.vl-footer__h {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.vl-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.vl-footer__col a {
  color: #b3bfd0;
  text-decoration: none;
  font-size: 14.5px;
}

.vl-footer__col a:hover { color: #fff; }

.vl-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }

.vl-footer__bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vl-footer__bar-inner p { margin: 0; font-size: 13.5px; color: #8b99ad; }

@media (max-width: 860px) { .vl-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .vl-footer__inner { padding: 44px 20px 32px; } }

/* ---------- Footer: follow us ---------- */

.vl-social { margin-top: 26px; }

.vl-social .vl-footer__h { margin-bottom: 12px; }

.vl-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.vl-social__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #cdd6e3;
  text-decoration: none;
}

.vl-social__list a:hover { background: var(--vl-accent); border-color: var(--vl-accent); color: #fff; }

/* ---------- Legal pages ---------- */

.vl-legal-draft {
  border: 1px solid #f0d58c;
  background: #fdf6e3;
  color: #6b5312;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.vl-legal-meta { font-size: 14px; color: var(--vl-muted); margin-bottom: 28px; }

@media (min-width: 861px) { .vl-footer__cols { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Language switcher ---------- */

.vl-lang { display: flex; align-items: center; gap: 2px; margin-right: 4px; }

.vl-lang__item {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--vl-muted);
  text-decoration: none;
}

.vl-lang__item:hover { color: var(--vl-ink); background: #f1f4f8; }
.vl-lang__item.is-current { color: var(--vl-ink); background: #eef3fb; }

@media (max-width: 900px) { .vl-lang { margin-right: 0; } .vl-lang__item { padding: 5px 6px; } }

/* ---------- Header v2: fits three actions + a language switcher ----------
   The switcher pushed the right-hand group past the available width, so the
   row now shrinks in defined steps instead of squeezing everything at once. */

.vl-header__inner { gap: 20px; flex-wrap: nowrap; }

.vl-logo { flex: none; }

.vl-nav {
  gap: 22px;
  min-width: 0;
  overflow: hidden;
}

.vl-actions { flex: none; gap: 10px; }

.vl-lang {
  margin-right: 6px;
  padding-right: 10px;
  border-right: 1px solid var(--vl-line);
}

.vl-signin { padding: 8px 4px; }
.vl-signup { padding: 8px 14px; }
.vl-cta { padding: 10px 16px; }

.vl-cta__short { display: none; }

/* Step 1: long nav labels (Azerbaijani/Russian) stop fitting next to 3 actions */
@media (max-width: 1180px) {
  .vl-nav { gap: 16px; font-size: 14.5px; }
  .vl-header__inner { gap: 14px; }
  .vl-cta__full { display: none; }
  .vl-cta__short { display: inline; }
}

/* Step 2: drop the inline "Sign in" — it stays available inside the burger */
@media (max-width: 1060px) {
  .vl-signin { display: none; }
}

/* Step 3: collapse the whole nav into the burger while the actions still fit */
@media (max-width: 980px) {
  .vl-nav { display: none; }
  .vl-burger { display: block; order: 3; margin-left: 0; }
  .vl-actions { order: 2; margin-left: auto; }
  .vl-header.is-open .vl-nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--vl-line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    overflow: visible;
    font-size: 16px;
  }
  .vl-header.is-open .vl-nav a { padding: 12px 0; width: 100%; }
  .vl-header.is-open .vl-nav .vl-nav-auth { display: block; }
  .vl-header.is-open .vl-nav .vl-nav-auth:first-of-type { border-top: 1px solid var(--vl-line); margin-top: 8px; }
}

/* Step 4: phones — keep the language switcher and the CTA, nothing else */
@media (max-width: 680px) {
  .vl-signup { display: none; }
  .vl-lang { margin-right: 2px; padding-right: 6px; }
  .vl-lang__item { padding: 5px 5px; font-size: 12.5px; }
  .vl-header__inner { padding: 0 16px; gap: 10px; }
  .vl-logo { font-size: 17px; letter-spacing: .1em; }
}

/* ---------- Header v3: fix the desktop row itself ----------
   v2 only reflowed below 1180px, so on a normal desktop nothing changed.
   The actual problem is the right-hand group: four controls of three
   different visual weights sitting shoulder to shoulder with no grouping,
   and no consistent control height. */

.vl-header__inner {
  height: 74px;
  gap: 0;
  padding: 0 32px;
}

/* nav sits in the middle of the bar, not glued to the logo */
.vl-nav {
  margin: 0 auto;
  gap: 30px;
  overflow: visible;
}

.vl-nav a { font-size: 15.5px; }

/* right-hand group: language | auth | primary action, clearly separated */
.vl-actions {
  gap: 14px;
  height: 40px;
}

.vl-lang {
  gap: 0;
  margin: 0 8px 0 0;
  padding: 0 16px 0 0;
  border-right: 1px solid var(--vl-line);
  height: 40px;
}

.vl-lang__item { padding: 6px 7px; font-size: 12.5px; }

/* every control on the right is exactly 40px tall and vertically centred */
.vl-signin,
.vl-signup,
.vl-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  line-height: 1;
}

.vl-signin { padding: 0 6px; }

.vl-cta { margin-left: 4px; }

@media (max-width: 1180px) {
  .vl-header__inner { padding: 0 20px; height: 68px; }
  .vl-nav { gap: 18px; margin: 0 auto 0 28px; }
  .vl-actions { gap: 10px; }
  .vl-lang { padding-right: 10px; margin-right: 4px; }
  .vl-signup, .vl-cta { padding: 0 14px; }
}

@media (max-width: 980px) {
  .vl-header.is-open .vl-nav { top: 68px; margin: 0; }
}
