:root {
  --nhd-yellow: #ffd43b;
  --nhd-yellow-strong: #ffcf24;
  --nhd-ink: #0d1b31;
  --nhd-muted: #60718a;
  --nhd-border: #e6ebf2;
  --nhd-soft: #f7f9fb;
  --nhd-dark: #101b27;
  --nhd-shadow: 0 4px 18px rgba(14, 29, 50, .07);
  --nhd-container: 920px;
}

/* =========================================================
   NHD GLOBAL SHELL - izolat de CSS-ul Elessi
   ========================================================= */
body.nhd-global-layout #header-content.nhd-site-header-shell,
body.nhd-global-layout .nhd-footer {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

body.nhd-global-layout #header-content.nhd-site-header-shell {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  z-index: 100;
}

body.nhd-global-layout #header-content.nhd-site-header-shell *,
body.nhd-global-layout .nhd-footer * {
  box-sizing: border-box;
}

body.nhd-global-layout #header-content.nhd-site-header-shell a,
body.nhd-global-layout .nhd-footer a {
  color: inherit;
  text-decoration: none;
}

body.nhd-global-layout #header-content.nhd-site-header-shell img,
body.nhd-global-layout .nhd-footer img {
  display: block;
  max-width: 100%;
}

body.nhd-global-layout .nhd-container {
  width: min(var(--nhd-container), calc(100% - 64px));
  margin-inline: auto;
}

body.nhd-global-layout .nhd-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.nhd-global-layout .nhd-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   TOP BAR
   ========================================================= */
body.nhd-global-layout .nhd-utility-bar {
  background: linear-gradient(90deg, #161d24, #0d1319);
  color: #fff;
  font-size: 10px;
}

body.nhd-global-layout .nhd-utility-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.nhd-global-layout .nhd-utility-left {
  display: flex;
  gap: 38px;
  opacity: .96;
}

body.nhd-global-layout .nhd-utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: .9;
}

body.nhd-global-layout .nhd-utility-right a:hover {
  color: var(--nhd-yellow);
}

/* =========================================================
   MAIN HEADER
   ========================================================= */
body.nhd-global-layout .nhd-header {
  margin: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #f2f3f6;
}

body.nhd-global-layout .nhd-header-main {
  min-height: 77px;
  display: grid;
  grid-template-columns: 130px minmax(180px, 1fr) auto;
  gap: 28px;
  align-items: center;
}

body.nhd-global-layout .nhd-logo {
  display: inline-flex;
  align-items: center;
}

body.nhd-global-layout .nhd-logo img {
  width: 108px;
  height: auto;
}

body.nhd-global-layout .nhd-search {
  height: 37px;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e7ee;
  border-radius: 22px;
  display: flex;
  align-items: center;
  background: #fbfcfd;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(10, 28, 48, .02);
}

body.nhd-global-layout .nhd-search input[type='search'] {
  min-width: 0;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #42516a !important;
  font-family: inherit;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body.nhd-global-layout .nhd-search input[type='search']::placeholder {
  color: #6e7f98;
  opacity: 1;
}

body.nhd-global-layout .nhd-search-leading {
  display: none;
}

body.nhd-global-layout .nhd-search-submit {
  flex: 0 0 42px;
  width: 42px !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--nhd-yellow) !important;
  color: var(--nhd-ink) !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none !important;
}

body.nhd-global-layout .nhd-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

body.nhd-global-layout .nhd-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nhd-ink);
}

body.nhd-global-layout .nhd-phone > .nhd-icon {
  width: 24px;
  height: 24px;
  color: var(--nhd-yellow-strong);
  stroke-width: 2.2;
}

body.nhd-global-layout .nhd-phone span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

body.nhd-global-layout .nhd-phone strong {
  color: var(--nhd-ink);
  font-size: 10px;
  font-weight: 700;
}

body.nhd-global-layout .nhd-phone small {
  color: #61708a;
  font-size: 8px;
}

body.nhd-global-layout .nhd-header-icon {
  min-width: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  color: var(--nhd-ink);
  font-size: 8px;
  font-weight: 600;
}

body.nhd-global-layout .nhd-header-icon .nhd-icon {
  width: 25px;
  height: 25px;
}

body.nhd-global-layout .nhd-cart-badge {
  position: absolute;
  top: -5px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--nhd-yellow);
  color: var(--nhd-ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

body.nhd-global-layout .nhd-menu-toggle,
body.nhd-global-layout .nhd-mobile-search-trigger,
body.nhd-global-layout .nhd-mobile-search-row {
  display: none;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
body.nhd-global-layout .nhd-navbar {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
}

body.nhd-global-layout .nhd-nav-inner {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--nhd-ink);
  font-size: 11px;
  font-weight: 700;
}

body.nhd-global-layout .nhd-nav-inner > a {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  color: var(--nhd-ink) !important;
  line-height: 1.2;
}

body.nhd-global-layout .nhd-nav-inner > a:hover {
  color: #27364e !important;
}

body.nhd-global-layout .nhd-nav-inner > a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--nhd-yellow);
}

/* =========================================================
   FOOTER
   ========================================================= */
body.nhd-global-layout .nhd-footer {
  width: 100%;
  margin: 0;
  padding: 27px 0 24px;
  background: linear-gradient(110deg, #10171f, #121b25 60%, #0d151e);
  color: #eef2f7;
}

body.nhd-global-layout .nhd-footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1.15fr 1.1fr 1.1fr .8fr;
  gap: 30px;
  align-items: start;
}

body.nhd-global-layout .nhd-footer-logo {
  width: 106px;
  margin-bottom: 8px;
}

body.nhd-global-layout .nhd-footer-brand p {
  margin: 0;
  max-width: 205px;
  color: #c4cdd8;
  font-size: 8px;
  line-height: 1.7;
}

body.nhd-global-layout .nhd-footer h3 {
  margin: 0 0 11px;
  padding: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

body.nhd-global-layout .nhd-footer-contact,
body.nhd-global-layout .nhd-footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #c7ced7;
  font-size: 8px;
}

body.nhd-global-layout .nhd-footer-contact a,
body.nhd-global-layout .nhd-footer-contact > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.nhd-global-layout .nhd-footer-contact .nhd-icon {
  width: 13px;
  height: 13px;
}

body.nhd-global-layout .nhd-footer a:hover {
  color: #fff;
}

body.nhd-global-layout .nhd-footer-social > div {
  display: flex;
  gap: 13px;
}

body.nhd-global-layout .nhd-footer-social a {
  font-size: 16px;
  font-weight: 800;
}

body.nhd-global-layout .nhd-footer-divider {
  display: none;
}

body.nhd-global-layout .nhd-footer-copy {
  grid-column: 5;
  margin-top: 14px;
  color: #aeb8c4;
  font-size: 7px;
  white-space: nowrap;
}

body.nhd-global-layout .nhd-back-top {
  display: none;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 900px) and (min-width: 768px) {
  body.nhd-global-layout .nhd-container {
    width: min(calc(100% - 36px), 720px);
  }

  body.nhd-global-layout .nhd-utility-left {
    gap: 16px;
  }

  body.nhd-global-layout .nhd-utility-left span:nth-child(2) {
    display: none;
  }

  body.nhd-global-layout .nhd-header-main {
    grid-template-columns: 105px minmax(160px, 1fr) auto;
    gap: 14px;
  }

  body.nhd-global-layout .nhd-phone {
    display: none;
  }

  body.nhd-global-layout .nhd-nav-inner {
    gap: 22px;
  }

  body.nhd-global-layout .nhd-footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  body.nhd-global-layout .nhd-footer-copy {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   MOBILE - fidel mockup-ului NHD
   ========================================================= */
@media (max-width: 767px) {
  body.nhd-global-layout .nhd-container {
    width: calc(100% - 28px);
  }

  body.nhd-global-layout .nhd-desktop-only,
  body.nhd-global-layout .nhd-desktop-only-link {
    display: none !important;
  }

  body.nhd-global-layout .nhd-utility-bar {
    display: none;
  }

  body.nhd-global-layout .nhd-header {
    border-bottom: 0;
    padding-top: 7px;
  }

  body.nhd-global-layout .nhd-header-main {
    min-height: 74px;
    grid-template-columns: 112px 1fr;
    gap: 8px;
  }

  body.nhd-global-layout .nhd-logo img {
    width: 101px;
  }

  body.nhd-global-layout .nhd-header-main > .nhd-search {
    display: none;
  }

  body.nhd-global-layout .nhd-header-actions {
    justify-self: end;
    gap: 15px;
  }

  body.nhd-global-layout .nhd-phone {
    display: none;
  }

  body.nhd-global-layout .nhd-mobile-search-trigger,
  body.nhd-global-layout .nhd-menu-toggle {
    display: grid;
    place-items: center;
    width: 28px !important;
    height: 36px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--nhd-ink) !important;
    box-shadow: none !important;
  }

  body.nhd-global-layout .nhd-mobile-search-trigger .nhd-icon,
  body.nhd-global-layout .nhd-menu-toggle .nhd-icon {
    width: 25px;
    height: 25px;
    stroke-width: 2;
  }

  body.nhd-global-layout .nhd-header-icon {
    min-width: 28px;
    gap: 0;
  }

  body.nhd-global-layout .nhd-header-icon .nhd-icon {
    width: 25px;
    height: 25px;
  }

  body.nhd-global-layout .nhd-header-icon > span:last-child {
    display: none;
  }

  body.nhd-global-layout .nhd-cart-badge {
    top: -2px;
    right: -1px;
    min-width: 17px;
    height: 17px;
    border-radius: 10px;
    font-size: 9px;
  }

  body.nhd-global-layout .nhd-mobile-search-row {
    display: block;
    padding-bottom: 12px;
  }

  body.nhd-global-layout .nhd-search-mobile {
    width: 100%;
    height: 45px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 31, 50, .035);
  }

  body.nhd-global-layout .nhd-search-mobile .nhd-search-leading {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 14px;
    flex: 0 0 auto;
  }

  body.nhd-global-layout .nhd-search-mobile input[type='search'] {
    padding-left: 10px !important;
    font-size: 12px !important;
  }

  body.nhd-global-layout .nhd-navbar {
    display: none;
    border-top: 1px solid #eef1f4;
    border-bottom: 1px solid #eef1f4;
  }

  body.nhd-global-layout .nhd-navbar.is-open {
    display: block;
  }

  body.nhd-global-layout .nhd-nav-inner {
    width: calc(100% - 28px);
    height: auto;
    padding: 7px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    font-size: 11px;
  }

  body.nhd-global-layout .nhd-nav-inner > a {
    min-height: 38px;
    padding: 0 8px;
  }

  body.nhd-global-layout .nhd-nav-inner > a.is-active::after {
    display: none;
  }

  body.nhd-global-layout .nhd-footer {
    width: auto;
    margin: 0 14px 20px;
    padding: 26px 0 20px;
    border-radius: 12px;
    overflow: hidden;
  }

  body.nhd-global-layout .nhd-footer-inner {
    width: calc(100% - 42px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 17px;
  }

  body.nhd-global-layout .nhd-footer-brand {
    grid-column: 1 / -1;
  }

  body.nhd-global-layout .nhd-footer-logo {
    width: 95px;
    margin-bottom: 8px;
  }

  body.nhd-global-layout .nhd-footer-brand p {
    max-width: 310px;
    margin-bottom: 15px;
    font-size: 9px;
    line-height: 1.65;
  }

  body.nhd-global-layout .nhd-footer-contact {
    grid-column: 1 / -1;
    gap: 7px;
    padding-bottom: 19px;
  }

  body.nhd-global-layout .nhd-footer-contact h3 {
    display: none;
  }

  body.nhd-global-layout .nhd-footer-contact a,
  body.nhd-global-layout .nhd-footer-contact > span {
    font-size: 9px;
  }

  body.nhd-global-layout .nhd-footer-contact .nhd-icon {
    width: 13px;
    height: 13px;
  }

  body.nhd-global-layout .nhd-footer-divider {
    grid-column: 1 / -1;
    grid-row: 3;
    display: block;
    height: 1px;
    margin-bottom: 18px;
    background: rgba(194, 207, 221, .35);
  }

  body.nhd-global-layout .nhd-footer-info {
    grid-column: 1;
    grid-row: 4;
  }

  body.nhd-global-layout .nhd-footer-b2b {
    grid-column: 2;
    grid-row: 4;
  }

  body.nhd-global-layout .nhd-footer-social {
    grid-column: 3;
    grid-row: 4;
  }

  body.nhd-global-layout .nhd-footer h3 {
    margin-bottom: 8px;
    font-size: 9px;
  }

  body.nhd-global-layout .nhd-footer-links {
    gap: 6px;
    font-size: 8px;
  }

  body.nhd-global-layout .nhd-footer-social > div {
    gap: 12px;
  }

  body.nhd-global-layout .nhd-footer-social a {
    font-size: 16px;
  }

  body.nhd-global-layout .nhd-footer-copy {
    grid-column: 1 / span 2;
    grid-row: 5;
    margin-top: 28px;
    font-size: 7px;
    white-space: nowrap;
  }

  body.nhd-global-layout .nhd-back-top {
    grid-column: 3;
    grid-row: 5;
    justify-self: end;
    align-self: end;
    width: 34px !important;
    height: 34px !important;
    min-width: 0 !important;
    margin-top: 18px !important;
    padding: 0 !important;
    display: grid;
    place-items: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--nhd-yellow) !important;
    color: #0c1727 !important;
    font-size: 16px;
    cursor: pointer;
    box-shadow: none !important;
  }
}

@media (max-width: 390px) {
  body.nhd-global-layout .nhd-header-actions {
    gap: 12px;
  }

  body.nhd-global-layout .nhd-footer-inner {
    width: calc(100% - 34px);
    gap: 0 10px;
  }
}

/* =========================================================
   NHD v2.1.0 - desktop scale + mobile safety refinements
   ========================================================= */
@media (min-width: 901px) {
  body.nhd-global-layout .nhd-container {
    width: min(1320px, calc(100% - 56px));
  }

  body.nhd-global-layout .nhd-utility-bar {
    font-size: 10.5px;
  }

  body.nhd-global-layout .nhd-utility-inner {
    height: 35px;
  }

  body.nhd-global-layout .nhd-utility-left {
    gap: 46px;
  }

  body.nhd-global-layout .nhd-header-main {
    min-height: 88px;
    grid-template-columns: 150px minmax(280px, 1fr) auto;
    gap: 32px;
  }

  body.nhd-global-layout .nhd-logo img {
    width: 122px;
  }

  body.nhd-global-layout .nhd-search {
    height: 42px;
    border-radius: 24px;
  }

  body.nhd-global-layout .nhd-search input[type='search'] {
    padding: 0 18px !important;
    font-size: 12.5px !important;
  }

  body.nhd-global-layout .nhd-search-submit {
    flex-basis: 48px;
    width: 48px !important;
  }

  body.nhd-global-layout .nhd-header-actions {
    gap: 24px;
  }

  body.nhd-global-layout .nhd-phone > .nhd-icon {
    width: 25px;
    height: 25px;
  }

  body.nhd-global-layout .nhd-phone strong {
    font-size: 11px;
  }

  body.nhd-global-layout .nhd-phone small {
    font-size: 8.5px;
  }

  body.nhd-global-layout .nhd-header-icon {
    min-width: 42px;
    font-size: 9px;
  }

  body.nhd-global-layout .nhd-header-icon .nhd-icon {
    width: 27px;
    height: 27px;
  }

  body.nhd-global-layout .nhd-nav-inner {
    height: 44px;
    gap: 46px;
    font-size: 12px;
  }
}

/* Favorite nativ Elessi/YITH, imbracat in stilul headerului NHD */
body.nhd-global-layout .nhd-header-favorite {
  min-width: 42px;
}

body.nhd-global-layout .nhd-header-favorite > .wishlist-link {
  width: 100%;
  min-height: 35px;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  color: var(--nhd-ink) !important;
  background: transparent !important;
}

body.nhd-global-layout .nhd-header-favorite .icon-wrap {
  display: grid;
  place-items: center;
  position: relative;
  line-height: 1;
}

body.nhd-global-layout .nhd-header-favorite .wishlist-icon,
body.nhd-global-layout .nhd-header-favorite .nasa-icon {
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
}

body.nhd-global-layout .nhd-header-favorite .icon-text {
  display: block !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.nhd-global-layout .nhd-header-favorite .icon-text::after {
  content: 'Favorite';
  font-size: 9px;
  font-weight: 600;
}

@media (max-width: 767px) {
  /* Pe mobil Favorite ramane in bara nativa Elessi de jos, nu duplicam iconul in header. */
  body.nhd-global-layout .nhd-header-favorite {
    display: none !important;
  }

  /* Previne orice depasire accidentala a viewportului fara sa afecteze off-canvas-ul Elessi. */
  body.nhd-global-layout #main-content,
  body.nhd-global-layout .nhd-home {
    max-width: 100%;
    overflow-x: clip;
  }

  /* Bara Elessi este fixa; lasam spatiu real sub ultimul continut cand este activa. */
  @supports selector(body:has(*)) {
    body.nhd-global-layout:has(.nasa-bottom-bar.nasa-active) #wrapper {
      padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
  }
}

/* =========================================================
   NHD v2.2.0 - final desktop header refinements
   ========================================================= */
@media (min-width: 901px) {
  /* Logo +18% without increasing the header height. */
  body.nhd-global-layout .nhd-header-main {
    min-height: 88px;
    grid-template-columns: 170px minmax(280px, 1fr) auto;
  }

  body.nhd-global-layout .nhd-logo img {
    width: 144px;
    max-height: 64px;
    object-fit: contain;
  }
}
