.jsr-header {
  --jsr-navy: #062557;
  --jsr-orange: #f56600;
  --jsr-ink: #13213a;
  --jsr-muted: #667085;
  --jsr-line: #e7ebf1;
  position: relative;
  z-index: 999;
  width: 100%;
  color: var(--jsr-ink);
  background: #fff;
  box-shadow: 0 3px 18px rgba(6, 37, 87, 0.08);
  font-family: Poppins, Arial, sans-serif;
}

.jsr-header,
.jsr-header * {
  box-sizing: border-box;
}

.jsr-header a {
  text-decoration: none;
}

.jsr-shell {
  width: min(1400px, calc(100% - 36px));
  margin-inline: auto;
}

.jsr-topbar {
  color: #fff;
  background: var(--jsr-navy);
  font-size: 12px;
}

.jsr-topbar .jsr-shell {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jsr-topbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.jsr-topbar a {
  color: #fff;
}

.jsr-topbar a:hover,
.jsr-topbar a:focus-visible {
  color: #ffd1ad;
}

.jsr-topbar .jsr-trade {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: 15px;
  color: #fff;
  background: var(--jsr-orange);
  font-weight: 700;
}

.jsr-main {
  border-bottom: 1px solid var(--jsr-line);
}

.jsr-main-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: 150px minmax(280px, 1fr) 200px auto;
  align-items: center;
  gap: 24px;
}

.jsr-logo {
  height: 62px;
  display: flex;
  align-items: center;
}

.jsr-logo-img {
  display: block;
  width: auto;
  max-width: 135px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.jsr-logo-text {
  color: var(--jsr-navy);
  font: 700 20px/1.1 Georgia, serif;
  white-space: nowrap;
}

.jsr-logo-text b {
  color: var(--jsr-orange);
}

.jsr-search {
  height: 44px;
  display: flex;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  background: #f7f9fc;
}

.jsr-search:focus-within {
  border-color: var(--jsr-orange);
  box-shadow: 0 0 0 3px rgba(245, 102, 0, 0.14);
}

.jsr-search input[type="search"] {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--jsr-ink);
  background: transparent;
  font: 500 13px/1 Poppins, Arial, sans-serif;
}

.jsr-search button {
  width: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: var(--jsr-orange);
  cursor: pointer;
}

.jsr-search button:hover,
.jsr-search button:focus-visible {
  background: #d95800;
}

.jsr-search svg,
.jsr-actions svg,
.jsr-item-head button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jsr-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.jsr-actions a {
  min-width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--jsr-ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.jsr-actions a:hover,
.jsr-actions a:focus-visible {
  color: var(--jsr-orange);
}

.jsr-mobile-toggle {
  display: none;
}

.jsr-nav {
  border-bottom: 3px solid var(--jsr-orange);
  background: #fff;
}

.jsr-menu {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jsr-menu > li {
  position: relative;
  border-left: 1px solid #eef1f5;
}

.jsr-menu > li:last-child {
  border-right: 1px solid #eef1f5;
}

.jsr-item-head {
  height: 48px;
  display: flex;
  align-items: stretch;
}

.jsr-item-head > a,
.jsr-simple > a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--jsr-navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.jsr-item-head > button {
  width: 32px;
  display: grid;
  place-items: center;
  padding: 0 7px 0 0;
  border: 0;
  color: var(--jsr-navy);
  background: transparent;
  cursor: pointer;
}

.jsr-item-head > button svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.jsr-has-sub:hover > .jsr-item-head,
.jsr-has-sub:focus-within > .jsr-item-head,
.jsr-has-sub.jsr-open > .jsr-item-head {
  background: var(--jsr-navy);
}

.jsr-has-sub:hover > .jsr-item-head a,
.jsr-has-sub:hover > .jsr-item-head button,
.jsr-has-sub:focus-within > .jsr-item-head a,
.jsr-has-sub:focus-within > .jsr-item-head button,
.jsr-has-sub.jsr-open > .jsr-item-head a,
.jsr-has-sub.jsr-open > .jsr-item-head button {
  color: #fff;
}

.jsr-has-sub.jsr-open > .jsr-item-head button svg {
  transform: rotate(180deg);
}

.jsr-sub {
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 340px;
  display: none;
  margin: 0;
  padding: 8px 0;
  border-top: 3px solid var(--jsr-orange);
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(6, 37, 87, 0.2);
  list-style: none;
}

.jsr-menu > .jsr-has-sub:nth-last-of-type(-n+3) > .jsr-sub {
  right: 0;
  left: auto;
}

.jsr-has-sub:hover > .jsr-sub,
.jsr-has-sub:focus-within > .jsr-sub,
.jsr-has-sub.jsr-open > .jsr-sub {
  display: block;
}

.jsr-sub a {
  display: block;
  padding: 10px 18px;
  border-bottom: 1px solid #f0f2f6;
  color: #24344f;
  font-size: 13px;
  font-weight: 600;
}

.jsr-sub li:last-child a {
  border-bottom: 0;
}

.jsr-sub a:hover,
.jsr-sub a:focus-visible {
  padding-left: 22px;
  color: var(--jsr-orange);
  background: #f5f8fc;
}

.jsr-simple > a {
  height: 48px;
}

.jsr-simple > a:hover,
.jsr-simple > a:focus-visible {
  color: var(--jsr-orange);
  background: #f5f8fc;
}

.jsr-offers > a {
  height: 36px;
  margin: 6px 8px;
  border-radius: 4px;
  color: #fff;
  background: var(--jsr-orange);
}

.jsr-offers > a:hover,
.jsr-offers > a:focus-visible {
  color: #fff;
  background: #d95800;
}

.jsr-mobile-links {
  display: none;
}

.jsr-header :focus-visible {
  outline: 2px solid var(--jsr-orange);
  outline-offset: 2px;
}

.jsr-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .jsr-item-head > a,
  .jsr-simple > a {
    padding-inline: 10px;
    font-size: 11px;
  }

  .jsr-main-grid {
    grid-template-columns: 130px minmax(240px, 1fr) 178px auto;
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .jsr-topbar nav {
    display: none;
  }

  .jsr-topbar .jsr-shell {
    justify-content: center;
    text-align: center;
  }

  .jsr-main-grid {
    min-height: 70px;
    grid-template-columns: 105px minmax(150px, 1fr) 52px 46px;
    gap: 10px;
  }

  .jsr-logo {
    height: 56px;
  }

  .jsr-logo-img {
    max-width: 100px;
    max-height: 54px;
  }

  .jsr-actions {
    gap: 0;
  }

  .jsr-actions a:not(.jsr-cart) {
    display: none;
  }

  .jsr-actions .jsr-cart {
    min-width: 44px;
  }

  .jsr-actions .jsr-cart span {
    display: none;
  }

  .jsr-mobile-toggle {
    width: 46px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: var(--jsr-navy);
    cursor: pointer;
  }

  .jsr-mobile-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    margin: 2px;
    background: #fff;
  }

  .jsr-nav {
    display: none;
  }

  .jsr-nav.jsr-show {
    display: block;
  }

  .jsr-nav .jsr-shell {
    width: 100%;
  }

  .jsr-menu {
    max-height: calc(100vh - 100px);
    display: block;
    overflow-y: auto;
  }

  .jsr-menu > li {
    border: 0;
    border-bottom: 1px solid var(--jsr-line);
  }

  .jsr-item-head {
    height: 48px;
  }

  .jsr-item-head > a {
    flex: 1;
    padding-inline: 20px;
    font-size: 13px;
  }

  .jsr-item-head > button {
    width: 54px;
    padding: 0;
  }

  .jsr-sub {
    position: static;
    min-width: 0;
    max-width: none;
    display: none;
    padding: 4px 0;
    border-top: 1px solid var(--jsr-line);
    border-radius: 0;
    background: #f7f9fc;
    box-shadow: none;
  }

  .jsr-has-sub:hover > .jsr-sub,
  .jsr-has-sub:focus-within > .jsr-sub {
    display: none;
  }

  .jsr-has-sub.jsr-open > .jsr-sub {
    display: block;
  }

  .jsr-has-sub:hover > .jsr-item-head,
  .jsr-has-sub:focus-within > .jsr-item-head {
    background: #fff;
  }

  .jsr-has-sub:hover > .jsr-item-head a,
  .jsr-has-sub:hover > .jsr-item-head button,
  .jsr-has-sub:focus-within > .jsr-item-head a,
  .jsr-has-sub:focus-within > .jsr-item-head button {
    color: var(--jsr-navy);
  }

  .jsr-has-sub.jsr-open > .jsr-item-head {
    background: var(--jsr-navy);
  }

  .jsr-has-sub.jsr-open > .jsr-item-head a,
  .jsr-has-sub.jsr-open > .jsr-item-head button {
    color: #fff;
  }

  .jsr-sub a {
    padding: 11px 30px;
  }

  .jsr-simple > a {
    height: 48px;
    padding-inline: 20px;
    font-size: 13px;
  }

  .jsr-offers > a {
    width: max-content;
    height: 38px;
    margin: 6px 14px;
    padding-inline: 14px;
  }

  .jsr-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 10px;
    background: var(--jsr-line);
  }

  .jsr-mobile-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--jsr-navy);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 620px) {
  .jsr-shell {
    width: min(100% - 20px, 1400px);
  }

  .jsr-topbar {
    font-size: 10px;
  }

  .jsr-main-grid {
    grid-template-columns: 76px minmax(100px, 1fr) 42px 42px;
    gap: 7px;
  }

  .jsr-logo-img {
    max-width: 74px;
    max-height: 50px;
  }

  .jsr-logo-text {
    font-size: 14px;
  }

  .jsr-search {
    height: 40px;
  }

  .jsr-search input[type="search"] {
    padding-inline: 9px;
    font-size: 11px;
  }

  .jsr-search button {
    width: 40px;
  }

  .jsr-actions .jsr-cart,
  .jsr-mobile-toggle {
    width: 42px;
    min-width: 42px;
    height: 40px;
  }
}
