:root {
  --niawell-red: var(--nw-red, #c92f35);
  --niawell-red-dark: var(--nw-red-strong, #9f1f25);
  --niawell-yellow: var(--nw-gold, #efc54a);
  --niawell-ink: var(--nw-ink, #17202d);
  --niawell-muted: var(--nw-muted, #687384);
  --niawell-line: var(--nw-line, #e4e8ee);
  --niawell-surface: #fff;
  --niawell-soft: var(--nw-soft, #f5f7fa);
  --niawell-shadow: var(--nw-shadow-md, 0 20px 54px rgba(23, 32, 45, .11));
}

@font-face {
  font-family: Dodger;
  src: url('/static/fonts/dodger3_2.ttf') format('truetype');
  font-display: swap;
}

.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(31, 42, 57, .08);
  box-shadow: 0 10px 30px rgba(23, 32, 45, .04);
  backdrop-filter: blur(16px);
}
.site-header .colored-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--niawell-red-dark), var(--niawell-red) 55%, var(--niawell-yellow));
}
.site-header .content {
  width: min(1360px, calc(100% - 40px));
  min-height: 124px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 156px 94px;
  grid-template-areas: "logo buttons language signs";
  align-items: center;
  gap: 20px;
}
.site-header .logo { grid-area: logo; }
.site-header .logo a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--niawell-red-dark);
  text-decoration: none;
}
.site-header .logo img { width: auto; height: 66px; object-fit: contain; }
.site-header .logo span { margin-top: 4px; font: 400 24px/1 Dodger, Arial, sans-serif; letter-spacing: .01em; }
.site-header .buttons {
  grid-area: buttons;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.site-header .top { display: flex; justify-content: flex-end; }
.site-header .search-base {
  position: relative;
  width: 100%;
  margin: 0;
}
.site-header .search-base input {
  width: 100%;
  height: 50px;
  padding: 0 50px 0 16px;
  border: 1px solid #ccd3dc;
  border-radius: 14px;
  background: #fff;
  color: var(--niawell-ink);
  outline: none;
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease;
}
[dir="rtl"] .site-header .search-base input { padding: 0 16px 0 50px; }
.site-header .search-base input:focus { border-color: var(--niawell-red); box-shadow: 0 0 0 4px rgba(201, 47, 53, .1); }
.site-header .search-base button {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #687384;
}
.site-header .search-base button:hover { background: var(--niawell-red-soft); color: var(--niawell-red); }
.site-header .search-base svg { width: 21px; height: 21px; }

.site-header .search-suggestions {
  position: absolute;
  z-index: 120;
  top: calc(100% + 9px);
  inset-inline: 0;
  max-height: min(440px, 68vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #d9dee6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(24, 31, 42, .18);
}
.site-header .search-suggestions[hidden] { display: none !important; }
.site-header .search-suggestion {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  color: var(--niawell-ink);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.site-header .search-suggestion:hover,
.site-header .search-suggestion:focus-visible,
.site-header .search-suggestion.is-active {
  background: var(--niawell-red-soft);
  color: var(--niawell-red-dark);
  outline: none;
}
.site-header .search-suggestion + .search-suggestion { border-top: 1px solid #edf0f4; }
.site-header .search-suggestion__image {
  width: 66px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  background: #f6f7f9;
}
.site-header .search-suggestion__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.site-header .search-suggestion__copy { min-width: 0; text-align: start; }
.site-header .search-suggestion__copy strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-header .search-suggestion__copy small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #707b8b;
  font-size: .7rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-header .search-suggestion > i { font-size: .8rem; color: #8993a1; }
.site-header .search-suggestions__state {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  color: #687384;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
}
.site-header .search-suggestions__all {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
  border-radius: 11px;
  background: #f5f6f8;
  color: var(--niawell-red-dark);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 850;
}
.site-header .search-suggestions__all:hover,
.site-header .search-suggestions__all:focus-visible { background: var(--niawell-red); color: #fff; outline: none; }

.site-header .bottom {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  border-top: 1px solid var(--niawell-line);
}
.site-header .bottom > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 11px;
  color: #465163;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}
.site-header .bottom > a:hover,
.site-header .bottom > a.is-active { background: var(--niawell-red-soft); color: var(--niawell-red-dark); }
.site-header .bottom > a svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

.site-header .language { grid-area: language; display: flex; align-items: center; justify-content: center; }
.site-header .custom-select { position: relative; }
.site-header .selected-option {
  width: 144px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid #d3d9e1;
  border-radius: 13px;
  background: #fff;
  color: #3f4a5a;
  font-size: .8rem;
  font-weight: 750;
}
.site-header .selected-option img,
.site-header .options-list img { width: 25px; height: 17px; object-fit: cover; border-radius: 3px; }
.site-header .options-list {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 1200;
  width: 190px;
  display: none;
  margin: 0;
  padding: 7px;
  list-style: none;
  border: 1px solid var(--niawell-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--niawell-shadow);
}
.site-header .custom-select.is-open .options-list { display: block; }
.site-header .options-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #465163;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
}
.site-header .options-list a:hover { background: var(--niawell-soft); }
.site-header .signs { grid-area: signs; display: flex; align-items: center; justify-content: center; }
.site-header .signs a { display: block; }
.site-header .signs img { width: 78px; height: 66px; object-fit: contain; }

.site-mobile-menu {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--niawell-line);
  border-radius: 13px;
  background: #fff;
  color: var(--niawell-ink);
}
.site-mobile-menu span { display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 99px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.site-mobile-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-mobile-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-mobile-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header .navbar-dropdown,
.site-header .sub-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  z-index: 1300;
  min-width: 230px;
  display: none;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--niawell-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--niawell-shadow);
}
.site-header .navbar-dropdown { inset-inline-start: 0; }
.site-header .navbar-dropdown.is-open,
.site-header .sub-dropdown.is-open { display: flex; }
.site-header .navbar-dropdown a,
.site-header .sub-dropdown a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #394555;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
}
.site-header .navbar-dropdown a:hover,
.site-header .sub-dropdown a:hover { background: var(--niawell-red-soft); color: var(--niawell-red-dark); }
.site-header .sub-dropdown { top: 0; inset-inline-start: calc(100% + 8px); }

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #182231;
  color: #dbe1e9;
  border-top: 5px solid var(--niawell-red);
}
.site-footer .region-footer {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
  padding: 58px 0 42px;
  display: grid;
  grid-template-columns: minmax(310px, 1.55fr) .8fr .8fr 210px;
  gap: 30px;
}
.site-footer .footer-section { min-width: 0; padding-inline-end: 28px; border-inline-end: 1px solid rgba(255, 255, 255, .1); }
.site-footer .footer-section:last-child { padding-inline-end: 0; border-inline-end: 0; }
.site-footer .location { display: flex; align-items: flex-start; gap: 20px; }
.site-footer .logo-footer { width: 76px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.site-footer .address { display: flex; flex-direction: column; gap: 8px; color: #aeb8c5; font-size: .78rem; line-height: 1.9; }
.site-footer .default-font-xlarge-semibold { display: block; margin-bottom: 17px; color: #fff; font-size: 1rem; font-weight: 900; }
.site-footer .menu--footer,
.site-footer .wrapper-social { display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #b4becb; text-decoration: none; font-size: .8rem; }
.site-footer a:hover { color: #fff; }
.site-footer .badges { display: flex; align-items: center; justify-content: center; gap: 12px; }
.site-footer .badges img { width: 86px; max-height: 84px; object-fit: contain; padding: 6px; border-radius: 12px; background: #fff; }
.site-footer .region-footer-bottom {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.site-footer .region-footer-bottom p { margin: 0; color: #8994a4; font-size: .72rem; line-height: 1.8; }

@media (max-width: 1080px) {
  .site-header .content { grid-template-columns: 112px minmax(0, 1fr) 148px; grid-template-areas: "logo buttons language"; }
  .site-header .signs { display: none; }
  .site-footer .region-footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer .badges { grid-column: 1 / -1; justify-content: flex-start; padding-top: 20px; border-inline-end: 0; }
}

@media (max-width: 760px) {
  .site-header { position: sticky; top: 0; }
  .site-header .content {
    width: min(100% - 24px, 100%);
    min-height: auto;
    padding: 12px 0 14px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    grid-template-areas:
      "menu logo language"
      "search search search"
      "nav nav nav";
    gap: 11px 10px;
  }
  .site-header .logo { grid-area: logo; min-width: 0; }
  .site-header .logo a { flex-direction: row; justify-content: center; gap: 8px; }
  .site-header .logo img { height: 45px; }
  .site-header .logo span { margin: 0; font-size: 21px; white-space: nowrap; }
  .site-header .buttons { display: contents; }
  .site-header .top { grid-area: search; width: 100%; }
  .site-header .search-base { width: 100%; }
  .site-header .search-base input { height: 52px; border-radius: 14px; font-size: .94rem; }
  .site-header .search-suggestions { max-height: min(390px, 58vh); border-radius: 14px; }
  .site-header .search-suggestion { min-height: 68px; grid-template-columns: 58px minmax(0, 1fr) 24px; gap: 10px; }
  .site-header .search-suggestion__image { width: 58px; height: 50px; }
  .site-mobile-menu { grid-area: menu; display: block; align-self: center; justify-self: start; }
  .site-header .language { grid-area: language; align-self: center; justify-self: end; }
  .site-header .selected-option { width: 48px; min-height: 48px; justify-content: center; padding: 0; }
  .site-header .selected-option span { display: none; }
  .site-header .options-list { inset-inline-end: 0; }
  .site-header .bottom {
    grid-area: nav;
    display: none;
    width: 100%;
    max-height: calc(100dvh - 150px);
    overflow: auto;
    padding: 9px;
    border: 1px solid var(--niawell-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--niawell-shadow);
  }
  .site-header .bottom.is-open { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .site-header .bottom > a { width: 100%; min-height: 50px; justify-content: flex-start; padding: 11px 14px; font-size: .93rem; }
  .site-header .navbar-dropdown,
  .site-header .sub-dropdown { position: static; display: none; width: 100%; min-width: 0; margin: 4px 0; box-shadow: none; }
  .site-header .navbar-dropdown.is-open,
  .site-header .sub-dropdown.is-open { display: flex; }
  .site-header .navbar-dropdown a,
  .site-header .sub-dropdown a { min-height: 48px; font-size: .88rem; }

  .site-footer .region-footer { width: min(100% - 24px, 1360px); padding: 42px 0 30px; grid-template-columns: 1fr; gap: 0; }
  .site-footer .footer-section { padding: 22px 0; border-inline-end: 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .site-footer .footer-section:first-child { padding-top: 0; }
  .site-footer .footer-section:last-child { border-bottom: 0; }
  .site-footer .location { flex-direction: column; }
  .site-footer .badges { grid-column: auto; justify-content: flex-start; }
  .site-footer .region-footer-bottom { width: min(100% - 24px, 1360px); align-items: flex-start; flex-direction: column; padding: 18px 0 24px; }
}

@media (max-width: 360px) {
  .site-header .content { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .site-header .logo img { height: 40px; }
  .site-header .logo span { font-size: 18px; }
}

/* Final accessibility pass: visible controls keep a comfortable hit area. */
.site-header .search-base button { width: 44px; height: 44px; inset-inline-end: 4px; }
.site-footer .logo-footer { filter: none; padding: 8px; border-radius: 18px; background: #fff; }
@media (max-width: 760px) {
  .site-header .search-base button { width: 44px; height: 44px; }
}

/* V4 brand lockup and accessible footer actions. */
.site-header .logo span{font-family:"Dodger",sans-serif!important;font-weight:400!important;letter-spacing:.01em!important;text-transform:lowercase}
.site-footer .menu--footer .menu-item a,
.site-footer .wrapper-social .item a{min-height:48px;display:flex;align-items:center;padding:10px 14px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.065);color:#f4f7fa;font-size:.88rem;font-weight:800;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.site-footer .menu--footer .menu-item a:hover,
.site-footer .wrapper-social .item a:hover{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.14);color:#fff;transform:translateY(-2px)}
.site-footer .wrapper-social .item:nth-child(2) a{border-color:rgba(71,211,120,.34);background:rgba(30,155,78,.17)}
.site-footer .wrapper-social .item:last-child a{border-color:rgba(238,93,98,.38);background:rgba(201,47,53,.2)}
@media(max-width:760px){
  .site-header .logo{position:absolute;inset-inline:50%;top:13px;transform:translateX(50%);width:max-content;z-index:2}
  [dir="ltr"] .site-header .logo{transform:translateX(-50%)}
  .site-header .logo a{gap:7px}
  .site-header .logo img{height:44px}
  .site-header .logo span{font-size:22px!important}
  .site-footer .menu--footer,.site-footer .wrapper-social{gap:11px}
  .site-footer .menu--footer .menu-item a,.site-footer .wrapper-social .item a{min-height:54px;font-size:.95rem;padding-inline:17px}
}
@media(max-width:360px){.site-header .logo img{height:39px}.site-header .logo span{font-size:19px!important}}

/* V4.2 local iconography, RTL inputs and direction-safe contact data. */
.site-header .search-base button > i,
.site-header .bottom > a > i {
  width: 22px;
  min-width: 22px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-size: 1.08rem;
}
.site-header .search-base button > i { font-size: 1rem; }
.site-header .dropdown-icon { font-size: .72rem; transition: transform .2s ease; }
[dir="ltr"] .site-header .dropdown-icon { transform: rotate(180deg); }

[dir="rtl"] .site-header input[type="search"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .site-header input[type="search"]::placeholder {
  direction: rtl;
  text-align: right;
}
[dir="ltr"] .site-header input[type="search"] {
  direction: ltr;
  text-align: left;
}

.phone-ltr,
a.phone-ltr,
bdi.phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  white-space: nowrap;
  text-align: left;
}

.site-footer .address strong,
.site-footer .address > span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.site-footer .address i {
  width: 20px;
  min-width: 20px;
  margin-top: .38em;
  color: #efc54a;
  text-align: center;
}
.site-footer .menu--footer a,
.site-footer .wrapper-social a { gap: 10px; }
.site-footer .menu--footer a > i,
.site-footer .wrapper-social a > i {
  width: 21px;
  min-width: 21px;
  color: #efc54a;
  text-align: center;
  font-size: 1rem;
}
.site-footer .wrapper-social .item:nth-child(2) a > i { color: #59dc86; }
.site-footer .wrapper-social .item:last-child a > i { color: #ff8f93; }

/* V4.3 live product search direction helpers. */
[dir="ltr"] .site-header .search-suggestion > i { transform: rotate(180deg); }
