/* =========================================================
   HEADER – desktop (≥ 850px), după imaginea de referință:
   A. bara informativă · B. logo + căutare + cont + coș · C. meniu navy rotunjit
   Pe mobil (< 850px) header-ul Flatsome rămâne neschimbat.
   ========================================================= */
:root {
  --vs-navy: #082b52;
  --vs-navy-2: #104477;
  --vs-blue: #1684f8;
  --vs-blue-dark: #0b6fdc;
  --vs-red: #e31837;
  --vs-ink: #0f2747;
  --vs-muted: #5b6b80;
  --vs-line: #e3e9f2;
  --vs-soft: #f2f6fb;
  --vs-hfont: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- A. Bara informativă ---------- */
.vs-topbar { display: none; }

@media (min-width: 850px) {
  .vs-topbar {
    display: block;
    background: var(--vs-soft);
    font-family: var(--vs-hfont);
  }

  .vs-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
  }

  .vs-topbar ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }

  .vs-topbar-info li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0 26px;
    border-left: 1px solid #cfd8e4;
    color: #22344d;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
  }

  .vs-topbar-info li:first-child { padding-left: 0; border-left: 0; }
  .vs-topbar-info svg { width: 21px; height: 21px; color: var(--vs-navy); }
  .vs-topbar-hours { margin-left: 8px; color: var(--vs-muted); }

  .vs-topbar-social { gap: 14px; }
  .vs-topbar-social li { margin: 0; }
  .vs-topbar-social a { display: flex; color: var(--vs-navy); transition: color .2s ease, transform .2s ease; }
  .vs-topbar-social a:hover { color: var(--vs-blue); transform: translateY(-1px); }
  .vs-topbar-social svg { width: 20px; height: 20px; }
}

@media (min-width: 850px) {

  /* ---------- Fundal, fără linii / umbre pe lățimea ecranului ---------- */
  html body #header .header-wrapper,
  html body #header .header-wrapper.stuck {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body #header .header-bg-color,
  html body #header .header-bg-image,
  html body #header .header-main,
  html body #header .header-bottom,
  html body #header .wide-nav {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body #header .top-divider,
  html body #header .header-main .flex-right .header-divider { display: none !important; }

  /* Lățimea headerului = lățimea containerului din temă (Flatsome → Style → Layout → Container Width) */

  /* ---------- B. Headerul principal ---------- */
  html body #header .header-main,
  html body #header .header-main .header-inner { height: 128px !important; min-height: 128px; }

  html body #header .header-wrapper.stuck .header-main,
  html body #header .header-wrapper.stuck .header-main .header-inner { height: 84px !important; min-height: 84px; }

  /* Logo + numele site-ului + subtitlul */
  html body #header #logo {
    position: relative;
    width: auto !important;
    max-width: none !important;
    margin-right: 10px;
  }

  html body #header #logo a {
    display: flex !important;
    align-items: center;
    gap: 16px;
    text-decoration: none;
  }

  html body #header #logo img {
    width: auto !important;
    height: 104px !important;
    max-height: 104px !important;
    mix-blend-mode: multiply;
    transition: height .25s ease;
  }

  html body #header #logo a::after {
    display: block;
    margin-top: -18px;
    white-space: pre;
    background: linear-gradient(90deg, var(--vs-navy-2) 0%, var(--vs-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--vs-hfont);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.05;
  }

  html body #header #logo::after {
    position: absolute;
    left: calc(var(--vs-logo-w, 104px) + 16px);
    bottom: 22px;
    color: var(--vs-muted);
    font-family: var(--vs-hfont);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
    pointer-events: none;
  }

  html body #header .header-wrapper.stuck #logo img { height: 66px !important; max-height: 66px !important; }
  html body #header .header-wrapper.stuck #logo a::after { margin-top: 0; font-size: 20px; }
  html body #header .header-wrapper.stuck #logo::after { display: none; }

  /* Căutarea – mare, albă, buton albastru rotund */
  html body #header .header-main .flex-left.flex-grow {
    flex: 1 1 auto !important;
    min-width: 260px;
    justify-content: center;
    padding: 0 30px !important;
  }

  html body #header .header-main .flex-left.flex-grow > .nav { width: 100%; justify-content: center; }

  html body #header .header-search-form {
    flex: 1 1 auto;
    width: 100%;
    max-width: 720px;
    margin: 0 auto !important;
  }

  html body #header .header-search-form .searchform-wrapper,
  html body #header .header-search-form form { width: 100%; }
  html body #header .header-search-form .flex-row { position: relative; }

  html body #header .header-search-form input.search-field {
    height: 60px !important;
    padding: 0 76px 0 28px !important;
    border: 1px solid var(--vs-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(8, 43, 82, .07) !important;
    color: var(--vs-ink) !important;
    font-family: var(--vs-hfont);
    font-size: 16px !important;
    transition: border-color .25s ease, box-shadow .25s ease;
  }

  html body #header .header-search-form input.search-field::placeholder { color: #8a97a8; opacity: 1; }

  html body #header .header-search-form input.search-field:focus {
    border-color: var(--vs-blue) !important;
    box-shadow: 0 0 0 4px rgba(22, 132, 248, .14), 0 6px 20px rgba(8, 43, 82, .07) !important;
    outline: none;
  }

  html body #header .header-search-form .ux-search-submit {
    position: absolute !important;
    top: 50%;
    right: 6px;
    width: 50px !important;
    height: 50px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    border: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(
    100deg,
    rgba(54, 139, 197, 1) 0%,
    rgba(35, 112, 170, 1) 100%
) !important;    box-shadow: 0 6px 14px rgba(22, 132, 248, .35) !important;
    color: #fff !important;
  }

  html body #header .header-search-form .ux-search-submit:hover { filter: brightness(1.06); }
  html body #header .header-search-form .ux-search-submit i { font-size: 19px; color: #fff !important; }
  html body #header .live-search-results { border-radius: 16px; overflow: hidden; }

  /* Dreapta: MEMBRI · cont · coș */
  html body #header .header-main .flex-right { flex: 0 0 auto !important; }
  html body #header .header-main .flex-right > .nav { gap: 0; align-items: center; }
  html body #header .header-main .flex-right > .nav > li { margin: 0 !important; }
  html body #header .header-main .flex-right .header-button-1 { order: 1; margin-right: 22px !important; }
  html body #header .header-main .flex-right .account-item { order: 2; padding-left: 22px; border-left: 1px solid var(--vs-line); }
  html body #header .header-main .flex-right .cart-item { order: 3; margin-left: 22px !important; padding-left: 22px; border-left: 1px solid var(--vs-line); }

  /* MEMBRI – pastilă roșie */
  html body #header .header-button-1 .button {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 44px;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f0283f 0%, #c40f27 100%) !important;
    box-shadow: 0 6px 14px rgba(227, 24, 55, .28) !important;
    color: #fff !important;
    font-family: var(--vs-hfont);
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  html body #header .header-button-1 .button::after { content: "✦"; font-size: 11px; color: #ffd2d6; }

  /* Contul meu – iconiță + două rânduri + săgeată */
  html body #header .account-item > a.nav-top-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 6px 26px 6px 0 !important;
    background: none !important;
    border: 0 !important;
    color: var(--vs-ink) !important;
    font-family: var(--vs-hfont);
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  html body #header .account-item > a.nav-top-link::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -6px;
    border-right: 1.8px solid var(--vs-ink);
    border-bottom: 1.8px solid var(--vs-ink);
    transform: rotate(45deg);
  }

  /* Iconița de utilizator (neautentificat) */
  html body #header .account-item > a.nav-top-not-logged-in::before {
    content: "";
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230f2747' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4.2'/%3E%3Cpath d='M3.5 21c0-4.6 3.8-7.3 8.5-7.3s8.5 2.7 8.5 7.3'/%3E%3C/svg%3E") no-repeat center / 36px 36px;
  }

  /* Textul: „Contul meu" mare + „Autentificare / Înregistrare" (sau numele) mic */
  html body #header .account-item > a.nav-top-link span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--vs-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.1;
    text-align: left;
  }

  html body #header .account-item > a.nav-top-link span::before {
    content: "Contul meu";
    color: var(--vs-ink);
    font-size: 16.5px;
    font-weight: 700;
  }

  /* Autentificat: avatarul în stânga */
  html body #header .account-item > a.account-login { flex-direction: row-reverse; justify-content: flex-end; }
  html body #header .account-item > a.nav-top-link .image-icon { margin: 0 !important; }
  html body #header .account-item > a.nav-top-link img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #cfe0f4;
  }

  /* Coș – sacoșă cu bulină roșie + „Coș" / total */
  html body #header .header-main .cart-item > a.header-cart-link {
    display: inline-flex !important;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
    padding: 6px 0 !important;
    background: none !important;
    border: 0 !important;
    color: var(--vs-ink) !important;
    font-family: var(--vs-hfont);
  }

  html body #header .header-main .cart-item .cart-icon {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    border: 0 !important;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230f2747' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8h14l1 13H4L5 8z'/%3E%3Cpath d='M8.5 11V6.5a3.5 3.5 0 0 1 7 0V11'/%3E%3C/svg%3E") no-repeat center / 40px 40px;
  }

  html body #header .header-main .cart-item .cart-icon::after { display: none !important; }

  html body #header .header-main .cart-item .cart-icon strong {
    position: absolute !important;
    top: -9px;
    right: -11px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: auto !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 5px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--vs-red) !important;
    box-shadow: 0 0 0 2px #fff;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  html body #header .header-main .cart-item .cart-icon strong::after { display: none !important; }

  /* „Coș / 644.35 lei" → „Coș" deasupra, total albastru dedesubt */
  html body #header .header-main .cart-item .header-cart-title {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    font-size: 0 !important;
    line-height: 1.1;
    text-align: left;
    text-transform: none !important;
  }

  html body #header .header-main .cart-item .header-cart-title::before {
    content: "Coș";
    color: var(--vs-ink);
    font-size: 16.5px;
    font-weight: 700;
  }

  html body #header .header-main .cart-item .header-cart-title .cart-price,
  html body #header .header-main .cart-item .header-cart-title .amount {
    color: var(--vs-blue-dark) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
  }

  /* ---------- C. Meniul – bară navy rotunjită ---------- */
  html body #header .header-bottom { padding: 6px 0 18px !important; min-height: 0 !important; }

  html body #header .header-bottom > .flex-row.container {
    min-height: 72px;
    padding: 0 10px !important;
    border-radius: 15px;
    background: linear-gradient(
  100deg,
  rgba(54, 139, 197, 1) 0%,
  rgba(35, 112, 170, 1) 100%
) !important;
    box-shadow: 0 14px 32px rgba(8, 43, 82, .22);
  }

  html body #header .header-bottom .flex-left { flex: 1 1 auto !important; min-width: 0; }
  html body #header .header-bottom .flex-right { flex: 0 0 auto !important; }
  html body #header .header-bottom-nav { flex-wrap: nowrap !important; gap: 2px; }
  html body #header .header-bottom-nav > li { margin: 0 !important; }

  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 54px;
    padding: 0 13px !important;
    border-radius: 15px;
    background: transparent !important;
    color: #fff !important;
    font-family: var(--vs-hfont);
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    transition: background .2s ease;
  }

  html body #header .header-bottom-nav > li > a::before,
  html body #header .header-bottom-nav > li > a::after { display: none !important; }

  /* Hover meniu - albastru inchis, fara umbra */
html body #header .header-bottom-nav > li:hover > a {
  background: #24618a !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transition: background .2s ease, color .2s ease;
}

  /* Pagina curentă / Acasă – pastilă albastru vibrant */
  html body #header .header-bottom-nav > li.current-menu-item > a,
  html body #header .header-bottom-nav > li.menu-item-home > a {
    background: linear-gradient(135deg, var(--vs-blue) 0%, var(--vs-blue-dark) 100%) !important;
    box-shadow: 0 6px 16px rgba(22, 132, 248, .4);
    padding: 0 22px !important;
  }

  html body #header .vs-nav-ico { display: inline-flex; }
  html body #header .vs-nav-ico svg { width: 21px; height: 21px; }

  html body #header .vs-nav-hot {
    position: absolute;
    top: -6px;
    left: 50%;
    padding: 3px 7px;
    border-radius: 6px;
    background: var(--vs-red);
    box-shadow: 0 3px 8px rgba(227, 24, 55, .4);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
  }

  html body #header .header-bottom-nav > li > a i { margin-left: 0; font-size: 12px; color: #fff !important; opacity: .9; }

  /* Telefonul – buton albastru vibrant */
  html body #header .header-contact a {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--vs-blue) 0%, var(--vs-blue-dark) 100%) !important;
    box-shadow: 0 6px 16px rgba(22, 132, 248, .45);
    color: #fff !important;
    font-family: var(--vs-hfont);
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  html body #header .header-contact a i,
  html body #header .header-contact a span { color: #fff !important; }
  html body #header .header-contact a i { font-size: 19px !important; }
  html body #header .header-contact a:hover { filter: brightness(1.06); }

  /* Dropdown-urile – albe, rotunjite, umbră fină */
  html body #header .nav-dropdown {
    border: 1px solid rgba(8, 43, 82, .06) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(8, 43, 82, .18) !important;
  }

  html body #header .header-wrapper.stuck .header-bottom { padding-bottom: 10px !important; }
}

/* ---------- 1366–1440 px: totul puțin mai compact ---------- */
@media (min-width: 850px) and (max-width: 1480px) {
  html body #header #logo img { height: 92px !important; max-height: 92px !important; }
  html body #header #logo a::after { font-size: 24px; }
  html body #header .header-search-form input.search-field { height: 54px !important; font-size: 15px !important; }
  html body #header .header-search-form .ux-search-submit { width: 44px !important; height: 44px !important; }

  html body #header .header-bottom > .flex-row.container { min-height: 64px; }
  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a { height: 48px; gap: 6px; padding: 0 9px !important; font-size: 13.5px !important; }
  html body #header .header-bottom-nav > li.current-menu-item > a,
  html body #header .header-bottom-nav > li.menu-item-home > a { padding: 0 16px !important; }
  html body #header .vs-nav-ico svg { width: 19px; height: 19px; }
  html body #header .header-contact a { height: 48px; padding: 0 20px !important; font-size: 15px !important; }
}

/* ---------- Laptop mic (850–1280 px): fără iconițe în meniu, ascund subtitlul ---------- */
@media (min-width: 850px) and (max-width: 1280px) {
  html body #header .vs-nav-ico { display: none; }
  html body #header #logo::after { display: none; }
  html body #header #logo a::after { font-size: 19px; margin-top: 0; }
  html body #header .header-main .flex-right .account-item,
  html body #header .header-main .flex-right .cart-item { padding-left: 14px; }
  html body #header .header-main .flex-right .header-button-1 { margin-right: 14px !important; }
  html body #header .header-main .flex-right .cart-item { margin-left: 14px !important; }
  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a { padding: 0 7px !important; font-size: 12.5px !important; }
  html body #header .header-contact a { padding: 0 14px !important; font-size: 13.5px !important; }
  .vs-topbar-info li { padding: 0 16px; font-size: 12.5px; }
}

/* Spațiu rezervat pentru subtitlul de sub numele site-ului */
@media (min-width: 1281px) {
  html body #header #logo a::after { min-width: 215px; }
}
@media (min-width: 1281px) and (max-width: 1480px) {
  html body #header #logo a::after { min-width: 180px; }
  html body #header #logo::after { font-size: 11.5px; }
  html body #header .header-main .flex-left.flex-grow { padding: 0 20px !important; }
}

/* =========================================================
   v10 – rândul principal ca în referință
   ========================================================= */
@media (min-width: 850px) {
  /* MEMBRI mutat în bara de sus (dreapta) */
  .vs-topbar-right { display: flex; align-items: center; gap: 18px; margin-right: -15px; }

  .vs-topbar-membri {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0283f 0%, #c40f27 100%);
    box-shadow: 0 4px 10px rgba(227, 24, 55, .25);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: filter .2s ease, transform .2s ease;
  }

  .vs-topbar-membri span { font-size: 10px; color: #ffd2d6; }
  .vs-topbar-membri:hover { filter: brightness(1.06); transform: translateY(-1px); }

  /* Telefonul – aceeași pastilă ca MEMBRI, în albastru */
  .vs-topbar-right .vs-topbar-phone {
    margin-left: -8px;
    background: linear-gradient(135deg, var(--vs-blue) 0%, var(--vs-blue-dark) 100%);
    box-shadow: 0 4px 10px rgba(22, 132, 248, .28);
    letter-spacing: .03em;
    white-space: nowrap;
  }

  .vs-topbar-phone svg {
    width: 13px;
    height: 13px;
    transform-origin: 50% 60%;
    animation: vs-phone-ring 4s ease-in-out infinite;
  }

  /* Mesajele care se schimbă pe butonul de telefon (toate în aceeași celulă → lățimea = cel mai lung) */
  .vs-topbar-phone .vs-phone-msgs,
  .vs-topbar-phone .vs-phone-msg { font-size: 12px; color: #fff; }

  .vs-phone-msgs { display: grid; overflow: hidden; height: 30px; align-items: center; }

  .vs-phone-msg {
    grid-area: 1 / 1;
    text-align: center;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(100%);
    transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .5s ease, filter .5s ease;
  }

  .vs-phone-msg.is-on { opacity: 1; filter: none; transform: none; }
  .vs-phone-msg.is-off { transform: translateY(-100%); }

  /* Telefonul din bara de meniu nu se mai afișează pe desktop */
  html body #header .header-bottom .header-contact-wrapper,
  html body #header .header-bottom .header-contact { display: none !important; }

  html body #header .header-main .flex-right .header-button-1 { display: none !important; }
  html body #header .header-main .flex-right .account-item { padding-left: 28px; }

  /* Căutarea: câmp alb, umbră fină, buton-pastilă albastru lipit în dreapta */
  html body #header .header-search-form { max-width: 700px; }

  html body #header .header-search-form input.search-field {
    height: 58px !important;
    padding: 0 104px 0 30px !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 4px 16px rgba(8, 43, 82, .06) !important;
    font-size: 15.5px !important;
  }

  html body #header .header-search-form .ux-search-submit {
    right: 4px !important;
    width: 78px !important;
    height: 50px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1684f8 0%, #0b6fdc 100%) !important;
    box-shadow: 0 4px 12px rgba(22, 132, 248, .3) !important;
  }

  html body #header .header-search-form .ux-search-submit i { font-size: 20px; }

  /* Cont și coș: textul mai fin, ca în referință */
  html body #header .account-item > a.nav-top-link span::before,
  html body #header .header-main .cart-item .header-cart-title::before { font-size: 16px; font-weight: 700; }

  html body #header .account-item > a.nav-top-link span { font-size: 12.5px !important; color: #4b5a6e !important; }

  html body #header .header-main .cart-item .header-cart-title .cart-price,
  html body #header .header-main .cart-item .header-cart-title .amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0b6fdc !important;
  }

  html body #header .header-main .cart-item { margin-left: 28px !important; padding-left: 28px; }
}

@media (min-width: 850px) and (max-width: 1480px) {
  html body #header .header-search-form input.search-field { height: 52px !important; padding-right: 92px !important; }
  html body #header .header-search-form .ux-search-submit { width: 68px !important; height: 44px !important; }
}

@media (min-width: 850px) {
  html body #header .header-main .cart-item .header-cart-title { align-items: flex-start; }
  html body #header .header-main .cart-item .header-cart-title .cart-price { display: block; margin: 0 !important; padding: 0 !important; }
}

/* Căutarea: câmpul exact cât rândul, butonul lipit la 4px de marginea din dreapta */
@media (min-width: 850px) {
  html body #header .header-search-form .flex-row { width: 100%; flex-wrap: nowrap; }
  html body #header .header-search-form .flex-row > .flex-col.flex-grow { flex: 1 1 100% !important; min-width: 0; }
  html body #header .header-search-form .flex-row > .flex-col:not(.flex-grow) { flex: 0 0 0 !important; width: 0 !important; padding: 0 !important; }

  html body #header .header-search-form input.search-field {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body #header .header-search-form .ux-search-submit { right: 5px !important; height: calc(100% - 10px) !important; }
}

/* Căutarea – chenarul e pe container, butonul-pastilă lipit în dreapta (ca în referință) */
@media (min-width: 850px) {
  html body #header .header-search-form .searchform .flex-row {
    position: relative;
    height: 58px;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(8, 43, 82, .06);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
  }

  html body #header .header-search-form .searchform .flex-row:focus-within {
    border-color: #1684f8;
    box-shadow: 0 0 0 4px rgba(22, 132, 248, .14), 0 4px 16px rgba(8, 43, 82, .06);
  }

  html body #header .header-search-form input.search-field,
  html body #header .header-search-form input.search-field:focus {
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 100px 0 30px !important;
  }

  html body #header .header-search-form .ux-search-submit {
    top: 4px !important;
    right: 4px !important;
    bottom: 4px !important;
    width: 78px !important;
    height: auto !important;
    transform: none !important;
    border-radius: 999px !important;
    background: linear-gradient(
    100deg,
    rgba(54, 139, 197, 1) 0%,
    rgba(35, 112, 170, 1) 100%
) !important;
    box-shadow: none !important;
  }

  html body #header .header-search-form .ux-search-submit:hover { background: #095fbd !important; filter: none; }
}

@media (min-width: 850px) and (max-width: 1480px) {
  html body #header .header-search-form .searchform .flex-row { height: 52px; }
  html body #header .header-search-form .ux-search-submit { width: 70px !important; }
}

/* =========================================================
   Ticker vertical lângă logo (în locul numelui site-ului)
   ========================================================= */
.vs-logo-ticker { display: none; }

@media (min-width: 850px) {
  html body #header #logo a::after,
  html body #header #logo::after { content: none !important; display: none !important; }

  html body #header #logo { display: flex !important; align-items: center; gap: 22px; }

  .vs-logo-ticker {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 200px;
    padding-left: 20px;
    border-left: 2px solid #e3e9f2;
    font-family: var(--vs-hfont);
  }

  .vs-ticker-label {
    color: #5b6b80;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .vs-ticker-window {
    position: relative;
    height: 36px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  }

  .vs-ticker-list { margin: 0 !important; padding: 0 !important; list-style: none !important; will-change: transform; }

  .vs-ticker-list li {
    display: flex;
    align-items: center;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vs-ticker-list a,
  .vs-ticker-list span {
    background: linear-gradient(90deg, #104477 0%, #1684f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
  }

  html body #header .header-wrapper.stuck .vs-ticker-label { display: none; }
  html body #header .header-wrapper.stuck .vs-ticker-window,
  html body #header .header-wrapper.stuck .vs-ticker-list li { height: 30px; }
  html body #header .header-wrapper.stuck .vs-ticker-list a,
  html body #header .header-wrapper.stuck .vs-ticker-list span { font-size: 20px; }
}

@media (min-width: 850px) and (max-width: 1480px) {
  .vs-logo-ticker { min-width: 180px; padding-left: 16px; }
  .vs-ticker-list a, .vs-ticker-list span { font-size: 21px; }
}

@media (min-width: 850px) and (max-width: 1280px) {
  .vs-logo-ticker { display: none; }
}

/* Spațiu între „Contul meu" (săgeată) și bara verticală dinaintea coșului */
@media (min-width: 850px) {
  html body #header .header-main .flex-right .account-item { padding-right: 26px !important; }
  html body #header .header-main .flex-right .cart-item { margin-left: 0 !important; padding-left: 26px !important; }
}
@media (min-width: 850px) and (max-width: 1280px) {
  html body #header .header-main .flex-right .account-item { padding-right: 16px !important; }
  html body #header .header-main .flex-right .cart-item { padding-left: 16px !important; }
}

/* Spații mici între căutare | cont | coș */
@media (min-width: 850px) {
  html body #header .header-main .flex-left.flex-grow { padding-right: 16px !important; }
  html body #header .header-main .flex-right .account-item { padding-left: 14px !important; padding-right: 12px !important; }
  html body #header .header-main .flex-right .cart-item { padding-left: 14px !important; }
}

/* =========================================================
   Butonul de telefon – puls, rază de lumină, iconiță care „sună"
   ========================================================= */
@media (min-width: 850px) {
  html body #header .header-contact a {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
    animation: vs-phone-pulse 2.4s ease-out infinite;
  }

  /* Raza de lumină care trece peste buton */
  html body #header .header-contact a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%) no-repeat;
    background-size: 220% 100%;
    background-position: 160% 0;
    animation: vs-phone-shine 4s ease-in-out infinite;
    pointer-events: none;
  }

  html body #header .header-contact a i {
    display: inline-block;
    transform-origin: 50% 60%;
    animation: vs-phone-ring 4s ease-in-out infinite;
  }

  html body #header .header-contact a:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    animation-duration: 1.4s;
  }
}

@keyframes vs-phone-pulse {
  0%   { box-shadow: 0 6px 16px rgba(22, 132, 248, .45), 0 0 0 0 rgba(22, 132, 248, .55); }
  70%  { box-shadow: 0 6px 16px rgba(22, 132, 248, .45), 0 0 0 14px rgba(22, 132, 248, 0); }
  100% { box-shadow: 0 6px 16px rgba(22, 132, 248, .45), 0 0 0 0 rgba(22, 132, 248, 0); }
}

@keyframes vs-phone-shine {
  0%, 55% { background-position: 160% 0; }
  85%, 100% { background-position: -60% 0; }
}

@keyframes vs-phone-ring {
  0%, 70%, 100% { transform: rotate(0); }
  73% { transform: rotate(-16deg); }
  76% { transform: rotate(14deg); }
  79% { transform: rotate(-12deg); }
  82% { transform: rotate(10deg); }
  85% { transform: rotate(-6deg); }
  88% { transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  html body #header .header-contact a,
  html body #header .header-contact a::before,
  html body #header .header-contact a i,
  .vs-topbar-phone svg { animation: none !important; }
  .vs-phone-msg, .vs-phone-msg.is-off { transform: none; filter: none; }
}

/* =========================================================
   Containere înguste (ex. layout „boxed" 1140px pe live):
   rândurile se adaptează după lățimea lor reală, nu după ecran.
   ========================================================= */
@media (min-width: 850px) {
  /* Meniul: iconiță, text și săgeată mereu pe un rând */
  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
  }

  html body #header .header-bottom-nav > li > a > *,
  html body #header .header-bottom-nav > li > a i { display: inline-flex; margin: 0 !important; }

  html body #header .header-bottom-nav > li > a .vs-nav-txt { display: inline; }

  /* Containerele pentru media query-urile de lățime */
  html body #header .header-main .header-inner,
  html body #header .header-bottom > .flex-row { container-type: inline-size; }
}

/* Rândul principal când are ≤ 1250px */
@container (max-width: 1250px) {
  html body #header .vs-logo-ticker { min-width: 150px; padding-left: 14px; }
  html body #header .vs-ticker-list a,
  html body #header .vs-ticker-list span { font-size: 19px; }
  html body #header #logo { gap: 14px; }
  html body #header .header-main .flex-left.flex-grow { padding-left: 14px !important; padding-right: 12px !important; min-width: 220px; }
  html body #header .header-search-form input.search-field { padding: 0 82px 0 20px !important; font-size: 14px !important; }
  html body #header .header-search-form .ux-search-submit { width: 62px !important; }
  html body #header .account-item > a.nav-top-link span::before,
  html body #header .header-main .cart-item .header-cart-title::before { font-size: 15px; }
}

/* Rândul principal foarte îngust: fără ticker */
@container (max-width: 1060px) {
  html body #header .vs-logo-ticker { display: none; }
}

/* Meniul când are ≤ 1250px: totul mai compact, cu iconițe */
@container (max-width: 1250px) {
  html body #header .header-bottom-nav { gap: 0; }
  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a {
    gap: 5px !important;
    height: 46px !important;
    padding: 0 7px !important;
    font-size: 13px !important;
  }
  html body #header .header-bottom-nav > li.current-menu-item > a,
  html body #header .header-bottom-nav > li.menu-item-home > a { padding: 0 14px !important; }
  html body #header .vs-nav-ico svg { width: 17px; height: 17px; }
  html body #header .header-bottom-nav > li > a i { font-size: 10px; }
  html body #header .vs-nav-hot { top: -9px; padding: 2px 5px; font-size: 9px; }
  html body #header .header-contact a { height: 46px; padding: 0 16px !important; font-size: 14.5px !important; gap: 8px; }
  html body #header .header-contact a i { font-size: 16px !important; }
}

/* Meniul foarte îngust: fără iconițe */
@container (max-width: 1040px) {
  html body #header .vs-nav-ico { display: none !important; }
}

/* Ticker mai compact în containere înguste (ex. 1140px) */
@container (max-width: 1250px) {
  html body #header .vs-logo-ticker { min-width: 128px; }
  html body #header .vs-ticker-list a,
  html body #header .vs-ticker-list span { font-size: 17px; }
}

/* Meniul se întinde pe toată bara: primul buton la stânga, ultimul la dreapta, spații egale între ele */
@media (min-width: 850px) {
  html body #header .header-bottom .flex-left { flex: 1 1 auto !important; }
  html body #header .header-bottom-nav {
    width: 100%;
    justify-content: space-between !important;
  }
}

/* Clearfix-ul Flatsome de pe .container nu trebuie să conteze în flex */
.vs-topbar-inner::before,
.vs-topbar-inner::after { display: none !important; }

/* =========================================================
   Mega-meniu „Shop" – categorii → subcategorii → sub-subcategorii
   ========================================================= */
.vs-mega { display: none; }

@media (min-width: 850px) {
  html body #header .header-bottom > .flex-row.container { position: relative; }
  html body #header .header-bottom-nav > li.vs-has-mega { position: static !important; }

  /* Dropdown-urile Flatsome ale elementului Shop sunt înlocuite */
  html body #header li.vs-has-mega > .nav-dropdown,
  html body #header li.vs-has-mega > ul.sub-menu { display: none !important; }

  html body #header .vs-mega {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    font-family: var(--vs-hfont);
    text-align: left;
  }

  html body #header li.vs-has-mega:hover > .vs-mega,
  html body #header li.vs-has-mega:focus-within > .vs-mega,
  html body #header li.vs-has-mega.current-dropdown > .vs-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  html body #header .vs-mega-inner {
    display: flex;
    min-height: 420px;
    max-height: min(560px, calc(100vh - 260px));
    overflow: hidden;
    border: 1px solid #e6edf6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(8, 43, 82, .22);
  }

  /* Stânga: categoriile principale */
  html body #header .vs-mega-cats {
    flex: 0 0 290px;
    margin: 0 !important;
    padding: 14px 10px !important;
    overflow-y: auto;
    list-style: none !important;
    background: #f4f8fd;
    border-right: 1px solid #e6edf6;
    scrollbar-width: thin;
  }

  html body #header .vs-mega-cats li { margin: 0 !important; padding: 0 !important; }

  html body #header .vs-mega-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px !important;
    border-radius: 12px;
    color: #0f2747 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0;
    transition: background .15s ease, color .15s ease;
  }

  html body #header .vs-mega-cat-count {
    flex: 0 0 auto;
    min-width: 28px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e3ecf7;
    color: #4b5a6e;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  html body #header .vs-mega-cat.is-active,
  html body #header .vs-mega-cat:hover {
    background: #fff;
    color: #0b6fdc !important;
    box-shadow: 0 4px 14px rgba(8, 43, 82, .08);
  }

  html body #header .vs-mega-cat.is-active { background: linear-gradient(135deg, #1684f8 0%, #0b6fdc 100%); color: #fff !important; }
  html body #header .vs-mega-cat.is-active .vs-mega-cat-count { background: rgba(255, 255, 255, .22); color: #fff; }

  /* Dreapta: panoul categoriei active */
  html body #header .vs-mega-panels { position: relative; flex: 1 1 auto; min-width: 0; overflow-y: auto; scrollbar-width: thin; }

  html body #header .vs-mega-panel { display: none; gap: 22px; padding: 24px 28px; }
  html body #header .vs-mega-panel.is-active { display: flex; animation: vs-mega-in .25s ease; }

  @keyframes vs-mega-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

  html body #header .vs-mega-panel-main { flex: 1 1 auto; min-width: 0; }

  html body #header .vs-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f7;
  }

  html body #header .vs-mega-title { color: #0f2747; font-size: 20px; font-weight: 800; }

  html body #header .vs-mega-all {
    flex: 0 0 auto;
    padding: 8px 16px !important;
    border-radius: 999px;
    background: #eef4fb;
    color: #0b6fdc !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background .2s ease, color .2s ease;
  }

  html body #header .vs-mega-all:hover { background: #0b6fdc; color: #fff !important; }

  html body #header .vs-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px 24px;
  }

  html body #header .vs-mega-sub {
    display: block;
    margin-bottom: 6px;
    padding: 0 !important;
    color: #0f2747 !important;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    text-transform: none !important;
  }

  html body #header .vs-mega-sub:hover { color: #0b6fdc !important; }

  html body #header .vs-mega-subsub { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html body #header .vs-mega-subsub li { margin: 0 !important; padding: 0 !important; }

  html body #header .vs-mega-subsub a {
    display: block;
    padding: 3px 0 !important;
    color: #5b6b80 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none !important;
    text-transform: none !important;
    transition: color .15s ease, transform .15s ease;
  }

  html body #header .vs-mega-subsub a:hover { color: #0b6fdc !important; transform: translateX(3px); }
  html body #header .vs-mega-more a { color: #0b6fdc !important; font-weight: 700; }

  html body #header .vs-mega-empty { margin: 0; color: #5b6b80; font-size: 14px; }

  /* Imaginea categoriei (dacă are) */
  html body #header .vs-mega-feature {
    position: relative;
    flex: 0 0 210px;
    align-self: flex-start;
    overflow: hidden;
    border-radius: 18px;
    background: #f4f8fd;
    text-decoration: none !important;
  }

  html body #header .vs-mega-feature img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .4s ease;
  }

  html body #header .vs-mega-feature:hover img { transform: scale(1.05); }

  html body #header .vs-mega-feature-label {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    color: #0f2747;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
  }
}

@container (max-width: 1100px) {
  html body #header .vs-mega-feature { display: none; }
  html body #header .vs-mega-cats { flex-basis: 250px; }
}

/* Mega-meniul pe toată lățimea barei de meniu */
@media (min-width: 850px) {
  html body #header .header-bottom > .flex-row.container > .flex-col,
  html body #header .header-bottom-nav { position: static !important; }
}

/* Produse în mega-meniu */
@media (min-width: 850px) {
  html body #header .vs-mega-label {
    margin: 22px 0 10px !important;
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
    color: #5b6b80;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  html body #header .vs-mega-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  html body #header .vs-mega-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px !important;
    border: 1px solid #edf1f7;
    border-radius: 14px;
    background: #fff;
    text-decoration: none !important;
    text-transform: none !important;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  }

  html body #header .vs-mega-product:hover {
    border-color: #d6e5f6;
    box-shadow: 0 10px 22px rgba(8, 43, 82, .1);
    transform: translateY(-2px);
  }

  html body #header .vs-mega-product-img { display: block; overflow: hidden; border-radius: 10px; background: #f4f8fd; }
  html body #header .vs-mega-product-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

  html body #header .vs-mega-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    color: #0f2747;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
  }

  html body #header .vs-mega-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 14px; }
  html body #header .vs-mega-product-price ins { order: -1; text-decoration: none; }
  html body #header .vs-mega-product-price ins .amount,
  html body #header .vs-mega-product-price > .amount { color: #15803d !important; font-weight: 800; }
  html body #header .vs-mega-product-price del,
  html body #header .vs-mega-product-price del .amount { color: #6b7280 !important; font-size: 12px; font-weight: 500; opacity: 1; }
  html body #header .vs-mega-product-price .screen-reader-text,
  html body #header .vs-mega-product-price .vs-discount-badge { display: none !important; }
}

/* Mega-meniu: etichete pe imagine + prețuri ca pe carduri */
@media (min-width: 850px) {
  html body #header .vs-mega-product-img { position: relative; }

  html body #header .vs-mega-labels {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    z-index: 2;
    pointer-events: none;
  }

  html body #header .vs-mega-labels .awl-position-type-on-image,
  html body #header .vs-mega-labels .awl-label-wrap,
  html body #header .vs-mega-labels > div { position: static !important; transform: scale(.82); transform-origin: left top; }

  html body #header .vs-mega-save {
    position: absolute;
    left: 50%;
    bottom: 6px;
    z-index: 2;
    transform: translateX(-50%);
    padding: 3px 9px;
    border-radius: 999px;
    background: #4d7c0f;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  html body #header .vs-mega-product-price { gap: 0 8px; }
  html body #header .vs-mega-price-new,
  html body #header .vs-mega-price-new .amount { color: #15803d !important; font-size: 15px; font-weight: 800; }
  html body #header .vs-mega-price-new del,
  html body #header .vs-mega-price-new .screen-reader-text { display: none !important; }
  html body #header .vs-mega-price-new ins { text-decoration: none; }
  html body #header .vs-mega-price-old,
  html body #header .vs-mega-price-old .amount {
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: line-through;
    text-decoration-color: #e11d48;
    opacity: 1 !important;
  }
}

/* Etichete pe imagine (sliderele de produs + mega-meniu): AWL „PREȚ PROMO" + „Economisește X%" */
.vs-rel-img,
.vs-mega-product-img { position: relative; }

.vs-img-labels {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  z-index: 2;
  pointer-events: none;
  text-align: left;
}

.vs-img-labels > div,
.vs-img-labels .awl-position-type-on-image { position: static !important; transform: scale(.85); transform-origin: left top; }

.vs-img-save {
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 999px;
  background: #4d7c0f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================
   Bara de meniu – varianta premium (brand #3488C4)
   Doar stil peste meniul Flatsome existent (Aspect → Meniuri), doar desktop.
   ========================================================= */
@media (min-width: 850px) {
  html body #header .header-bottom > .flex-row.container {
    padding: 9px 12px !important;
    border-radius: 15px;
    background: linear-gradient(110deg, #3488c4 0%, #287bb7 48%, #216da8 100%) !important;
    box-shadow: 0 14px 30px rgba(27, 91, 145, .17), inset 0 1px 0 rgba(255, 255, 255, .18);
  }

  /* Butoanele */
  html body #header .header-bottom-nav > li > a.nav-top-link,
  html body #header .header-bottom-nav > li > a {
    border-radius: 11px;
    background: transparent !important;
    box-shadow: none;
    color: #fff !important;
    font-weight: 600 !important;
    transition: background .25s ease, box-shadow .25s ease;
  }

  /* Separatoare verticale foarte fine (fără poziționare, ca să nu încurce mega-meniul) */
  html body #header .header-bottom-nav > li:not(:last-child) {
    background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) no-repeat right center / 1px 24px;
  }

  /* Hover / focus: albastru mai luminos + o linie verde discretă (frunzele din logo) */
  html body #header .header-bottom-nav > li:hover > a,
  html body #header .header-bottom-nav > li > a:focus-visible {
    background: linear-gradient(135deg, rgba(87, 190, 245, .65), rgba(40, 145, 221, .75)) !important;
    box-shadow: 0 5px 14px rgba(9, 65, 120, .16), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(118, 174, 67, .85) !important;
  }

  html body #header .header-bottom-nav > li > a:focus-visible { outline: 2px solid #b9e9ff; outline-offset: 2px; }

  /* Pagina curentă: doar o pastilă albă transparentă */
  html body #header .header-bottom-nav > li.current-menu-item > a,
  html body #header .header-bottom-nav > li.current-menu-ancestor > a,
  html body #header .header-bottom-nav > li.menu-item-home > a {
    background: rgba(255, 255, 255, .14) !important;
    box-shadow: none;
  }

  /* SHOP evidențiat (elementul cu mega-meniu) */
  html body #header .header-bottom-nav > li.vs-has-mega > a {
    background: linear-gradient(135deg, #46b6f3, #238ee4) !important;
    box-shadow: 0 5px 15px rgba(0, 69, 145, .22), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  }

  html body #header .header-bottom-nav > li.vs-has-mega:hover > a {
    background: linear-gradient(135deg, #58c3fb, #299aee) !important;
  }

  /* Badge HOT – pastilă cu gradient */
  html body #header .vs-nav-hot {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff3554, #e51038);
    box-shadow: 0 4px 9px rgba(225, 16, 56, .24);
    z-index: 3;
  }

  html body #header .header-bottom-nav > li > a i { color: #fff !important; opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  html body #header .header-bottom-nav > li > a { transition: none !important; }
}

/* Glow pe butoanele din meniu (SHOP + hover) și pe telefonul de sus; MEMBRI în roșu brand */
@media (min-width: 850px) {
  html body #header .header-bottom-nav > li.vs-has-mega > a,
  html body #header .header-bottom-nav > li:hover > a,
  html body #header .header-bottom-nav > li > a:focus-visible,
  .vs-topbar-right .vs-topbar-phone {
    background: linear-gradient(135deg, #4ab8f7 0%, #1f8be6 100%) !important;
    box-shadow:
      0 0 18px rgba(74, 184, 247, .55),
      0 6px 16px rgba(10, 80, 150, .25),
      inset 0 1px 0 rgba(255, 255, 255, .35),
      inset 0 0 12px rgba(255, 255, 255, .12) !important;
  }

  html body #header .header-bottom-nav > li.vs-has-mega:hover > a,
  .vs-topbar-right .vs-topbar-phone:hover {
    background: linear-gradient(135deg, #5cc4fb 0%, #2899ee 100%) !important;
  }

  .vs-topbar-right .vs-topbar-membri:not(.vs-topbar-phone) {
    background: #b21518;
    box-shadow: 0 4px 10px rgba(178, 21, 24, .3);
  }

  .vs-topbar-membri > svg { width: 14px; height: 14px; flex: 0 0 auto; }
}

/* Telefonul de sus și categoria activă din mega-meniul Shop: albastrul brandului #3489c5 */
@media (min-width: 850px) {
  .vs-topbar-right .vs-topbar-phone,
  .vs-topbar-right .vs-topbar-phone:hover {
    background: #3489c5 !important;
    box-shadow: 0 0 14px rgba(52, 137, 197, .45), 0 4px 10px rgba(52, 137, 197, .3), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
  }
  .vs-topbar-right .vs-topbar-phone:hover { filter: brightness(1.08); }

  html body #header .vs-mega-cat.is-active { background: #3489c5 !important; }
  html body #header .vs-mega-cat:hover:not(.is-active) { color: #3489c5 !important; }
}

/* Dropdown-urile obișnuite din meniu – același stil ca lista de categorii din mega-meniul Shop */
@media (min-width: 850px) {
  html body #header .header-bottom-nav .nav-dropdown {
    min-width: 240px;
    padding: 10px !important;
    border: 1px solid #e6edf6 !important;
    border-radius: 18px !important;
    background: #f4f8fd !important;
    box-shadow: 0 22px 50px rgba(8, 43, 82, .18) !important;
    font-family: var(--vs-hfont);
  }

  html body #header .header-bottom-nav .nav-dropdown li { margin: 0 !important; padding: 0 !important; border: 0 !important; }

  html body #header .header-bottom-nav .nav-dropdown li > a {
    display: block;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 12px;
    background: transparent !important;
    color: #0f2747 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transition: background .15s ease, color .15s ease;
  }

  html body #header .header-bottom-nav .nav-dropdown li > a:hover,
  html body #header .header-bottom-nav .nav-dropdown li > a:focus-visible,
  html body #header .header-bottom-nav .nav-dropdown li.current-menu-item > a {
    background: #3489c5 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(8, 43, 82, .08);
  }

  /* Săgeata de sus a dropdown-ului, în culoarea fundalului */
  html body #header .header-bottom-nav .nav-dropdown-has-arrow li.has-dropdown:after { border-bottom-color: #f4f8fd !important; }
}

/* Dropdown-ul „Contul meu" – același stil ca dropdown-urile din meniu */
@media (min-width: 850px) {
  html body #header .account-item .nav-dropdown {
    min-width: 240px;
    padding: 10px !important;
    border: 1px solid #e6edf6 !important;
    border-radius: 18px !important;
    background: #f4f8fd !important;
    box-shadow: 0 22px 50px rgba(8, 43, 82, .18) !important;
    font-family: var(--vs-hfont);
  }

  html body #header .account-item .nav-dropdown li { margin: 0 !important; padding: 0 !important; border: 0 !important; }

  html body #header .account-item .nav-dropdown li > a {
    display: block;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 12px;
    background: transparent !important;
    color: #0f2747 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transition: background .15s ease, color .15s ease;
  }

  html body #header .account-item .nav-dropdown li > a:hover,
  html body #header .account-item .nav-dropdown li > a:focus-visible,
  html body #header .account-item .nav-dropdown li.is-active > a,
  html body #header .account-item .nav-dropdown li.active > a {
    background: #3489c5 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(8, 43, 82, .08);
  }

  html body #header .account-item.has-dropdown:after { border-bottom-color: #f4f8fd !important; }
}

/* Header lipit la scroll: sticlă mată (blur) care se estompează treptat sub meniu, fără tăietură bruscă.
   Blur-ul stă pe un strat separat (::before), mai lung decât header-ul, cu marginea de jos estompată prin mască. */
@media (min-width: 850px) {
  html body #header .header-wrapper.stuck {
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
  }

  html body #header .header-wrapper.stuck::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -40px;
    z-index: -1;
    pointer-events: none;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 60px), transparent 100%);
  }
}

/* Fiecare element ocupă o parte egală din spațiul liber, butonul centrat în ea →
   separatorul (marginea elementului) stă exact la mijloc între două butoane */
@media (min-width: 850px) {
  html body #header .header-bottom-nav > li {
    flex: 1 1 auto;
    text-align: center;
  }

  /* Dropdown-urile pornesc de sub buton, aliniate cu el */
  html body #header .header-bottom-nav > li:not(.vs-has-mega) > .nav-dropdown {
    top: 100% !important;
    text-align: left;
  }

  html body #header .header-bottom-nav .nav-dropdown a {
    text-transform: none !important;
    font-size: 14px !important;
  }
}

/* Căutarea: colțuri ușor rotunjite, ca meniul și butoanele (15px), butonul din interior 11px */
@media (min-width: 850px) {
  html body #header .header-search-form .searchform .flex-row,
  html body #header .header-search-form input.search-field { border-radius: 15px !important; }
  html body #header .header-search-form .ux-search-submit { border-radius: 11px !important; }
}
