:root {
  --rabano-header-navy: #0f2033;
  --rabano-header-deep-navy: #08213f;
  --rabano-header-orange: #f26419;
  --rabano-header-light-blue: #eef5fa;
  --rabano-header-border: #dce5ed;
  --rabano-header-muted: #5d6b7a;
  --rabano-header-max-width: 1320px;
}

/* Keep content visually stable while the native header blocks are moved into
   the Rabano header. The animation is only a no-JS/network-failure fallback. */
body:not(.rabano-header-ready) > main#wrapper {
  visibility: hidden;
  animation: rabano-main-failsafe 0s 2s forwards;
}

@keyframes rabano-main-failsafe {
  to {
    visibility: visible;
  }
}

.header-banner:has(.rabano-topbar) {
  margin: 0;
  padding: 0;
  background: var(--rabano-header-light-blue);
}

.rabano-topbar {
  width: 100%;
  min-height: 36px;
  color: var(--rabano-header-navy);
  background: var(--rabano-header-light-blue);
  border-bottom: 1px solid #e1eaf1;
  font-size: 13px;
  line-height: 1.2;
}

.rabano-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: var(--rabano-header-max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 44px;
}

.rabano-topbar__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: inherit;
  font-weight: 500;
  white-space: nowrap;
}

a.rabano-topbar__item:hover,
a.rabano-topbar__item:focus-visible {
  color: var(--rabano-header-orange);
  text-decoration: none;
}

.rabano-topbar__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.rabano-topbar__flag {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7dde2;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(15, 32, 51, .02);
}

.rabano-topbar__flag::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50%;
  content: "";
  background: #dc143c;
}

body.rabano-header-ready #header .header-top {
  display: none !important;
}

body.rabano-header-ready #header .header-bottom {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--rabano-header-border);
  box-shadow: none;
}

body.rabano-header-ready #header .header-bottom__container {
  width: 100%;
  max-width: var(--rabano-header-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

body.rabano-header-ready #header .header-bottom__row {
  display: grid;
  grid-template-areas: "logo search actions";
  grid-template-columns: 250px minmax(360px, 1fr) auto;
  align-items: center;
  min-height: 92px;
  margin: 0;
  gap: 36px;
}

body.rabano-header-ready #header .header-bottom__logo {
  grid-area: logo;
  align-self: center;
  width: 230px;
  height: 72px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.rabano-header-ready #header .header-bottom__logo a {
  display: block;
  width: 100%;
  height: 100%;
}

body.rabano-header-ready #header .header-bottom__logo img {
  display: block;
  width: 230px;
  max-width: none;
  height: auto;
  margin: 0;
  transform: translateY(-17px);
}

body.rabano-header-ready #header #_desktop_ps_mainmenu,
body.rabano-header-ready #header #_desktop_ps_searchbar,
body.rabano-header-ready #header #_mobile_ps_searchbar,
body.rabano-header-ready #header #_mobile_ps_mainmenu,
body.rabano-header-ready #header #_mobile_ps_customersignin,
body.rabano-header-ready #header #_mobile_ps_shoppingcart,
body.rabano-header-ready #header #_desktop_ps_customersignin,
body.rabano-header-ready #header #_desktop_ps_shoppingcart,
body.rabano-header-ready #header .header-bottom__mobile-menu,
body.rabano-header-ready #header .header-bottom__mobile-search {
  display: none !important;
}

.rabano-header__search-target {
  display: flex;
  grid-area: search;
  align-items: center;
  min-width: 0;
  padding: 0 !important;
}

.rabano-header__search-target:empty {
  display: none;
}

.rabano-header__search-target #ps_searchbar,
.rabano-header__search-target .ps-searchbar,
.rabano-header__search-target form {
  width: 100%;
  max-width: none;
  margin: 0;
}

.rabano-header__search-target .search-input,
.rabano-header__search-target input[type="search"],
.rabano-header__search-target input[type="text"] {
  width: 100%;
  height: 48px;
  padding-right: 48px;
  padding-left: 48px;
  color: var(--rabano-header-navy);
  background: #fff;
  border: 1px solid #cfd9e2;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
}

.rabano-header__search-target .search-input:focus,
.rabano-header__search-target input[type="search"]:focus,
.rabano-header__search-target input[type="text"]:focus {
  border-color: #7f94a8;
  box-shadow: 0 0 0 3px rgba(15, 32, 51, .1);
  outline: none;
}

.rabano-header__search-target button[type="submit"] {
  color: var(--rabano-header-navy);
}

.rabano-header__search-target .dropdown-menu,
.rabano-header__search-target .autocomplete-suggestions {
  width: 100% !important;
  max-width: 100%;
}

.rabano-header__actions-target {
  display: flex;
  grid-area: actions;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
  gap: 28px;
  padding: 0 !important;
}

.rabano-header__actions-target:empty {
  display: none;
}

.rabano-header__actions-target > .ps-customersignin,
.rabano-header__actions-target > .ps-shoppingcart,
.rabano-header__actions-target .header-block {
  display: flex !important;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: var(--rabano-header-navy);
}

.rabano-header__actions-target a {
  color: var(--rabano-header-navy);
  cursor: pointer;
  text-decoration: none;
}

.rabano-header__actions-target a:hover,
.rabano-header__actions-target a:focus-visible {
  color: var(--rabano-header-orange);
}

.rabano-header__actions-target .header-block__icon,
.rabano-header__actions-target svg,
.rabano-header__actions-target i {
  color: currentColor;
}

.rabano-header__actions-target .cart-products-count,
.rabano-header__actions-target .cart-products-count-btn,
.rabano-header__actions-target .header-block__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 0 6px;
  color: #fff;
  background: var(--rabano-header-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.rabano-mainnav {
  position: relative;
  z-index: 40;
  width: 100%;
  margin: 0;
  padding: 0 24px 18px;
  background: #fff;
}

.rabano-mainnav__inner {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: var(--rabano-header-max-width);
  min-height: 54px;
  margin: 0 auto;
  padding: 0 28px;
  overflow: visible;
  color: #fff;
  background: var(--rabano-header-deep-navy);
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(8, 33, 63, .12);
  gap: 48px;
}

.rabano-mainnav__all-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.rabano-mainnav__all-button,
.rabano-mainnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.rabano-mainnav__all-button {
  gap: 10px;
  cursor: pointer;
}

.rabano-mainnav__all-button:hover,
.rabano-mainnav__all-button:focus-visible,
.rabano-mainnav__all-button[aria-expanded="true"],
.rabano-mainnav__link:hover,
.rabano-mainnav__link:focus-visible {
  color: #ffb078;
  text-decoration: none;
}

.rabano-mainnav__all-button:focus-visible,
.rabano-mainnav__link:focus-visible,
.rabano-mainnav__dropdown-link:focus-visible,
.rabano-header__actions-target a:focus-visible,
a.rabano-topbar__item:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--rabano-header-orange);
  outline-offset: 3px;
}

.rabano-mainnav__promotion-link {
  margin-left: auto;
  color: #ff7a21;
  font-weight: 700;
}

.rabano-mainnav__hamburger {
  display: inline-flex;
  flex-direction: column;
  width: 17px;
  gap: 3px;
}

.rabano-mainnav__hamburger span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.rabano-mainnav__all-label--short {
  display: none;
}

.rabano-mainnav__chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .18s ease;
}

.rabano-mainnav__all-button[aria-expanded="true"] .rabano-mainnav__chevron {
  transform: rotate(180deg);
}

.rabano-mainnav__dropdown[hidden] {
  display: none !important;
}

.rabano-mainnav__dropdown {
  position: absolute;
  top: calc(100% + 7px);
  left: -18px;
  z-index: 100;
  display: grid;
  width: 420px;
  max-width: calc(100vw - 48px);
  padding: 10px;
  color: var(--rabano-header-navy);
  background: #fff;
  border: 1px solid var(--rabano-header-border);
  border-radius: 9px;
  box-shadow: 0 14px 38px rgba(8, 33, 63, .18);
  gap: 4px;
}

.rabano-mainnav__dropdown-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 18px;
  padding: 12px 38px 12px 14px;
  color: var(--rabano-header-navy);
  border-radius: 7px;
  text-decoration: none;
}

.rabano-mainnav__dropdown-link:hover,
.rabano-mainnav__dropdown-link:focus-visible {
  color: var(--rabano-header-navy);
  background: var(--rabano-header-light-blue);
  text-decoration: none;
}

.rabano-mainnav__dropdown-link strong,
.rabano-mainnav__dropdown-link span {
  grid-column: 1;
}

.rabano-mainnav__dropdown-link strong {
  font-size: 15px;
  font-weight: 700;
}

.rabano-mainnav__dropdown-link span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--rabano-header-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rabano-mainnav__dropdown-link svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.rabano-mainnav__empty {
  padding: 16px;
  color: var(--rabano-header-muted);
}

@media (max-width: 1199.98px) {
  body.rabano-header-ready #header .header-bottom__row {
    grid-template-columns: 210px minmax(260px, 1fr) auto;
    gap: 20px;
  }

  body.rabano-header-ready #header .header-bottom__logo {
    width: 200px;
    height: 64px;
  }

  body.rabano-header-ready #header .header-bottom__logo img {
    width: 200px;
    transform: translateY(-15px);
  }

  .rabano-header__actions-target {
    gap: 18px;
  }

  .rabano-mainnav__inner {
    padding: 0 22px;
    gap: 28px;
  }
}

@media (max-width: 991.98px) {
  .rabano-topbar__inner {
    gap: 28px;
  }

  body.rabano-header-ready #header .header-bottom__row {
    grid-template-columns: 190px minmax(240px, 1fr) auto;
    min-height: 86px;
    gap: 16px;
  }

  body.rabano-header-ready #header .header-bottom__logo {
    width: 185px;
    height: 60px;
  }

  body.rabano-header-ready #header .header-bottom__logo img {
    width: 185px;
    transform: translateY(-14px);
  }

  .rabano-header__actions-target {
    gap: 12px;
  }

  .rabano-header__actions-target .header-block__title {
    font-size: 13px;
  }

  .rabano-mainnav {
    padding-right: 18px;
    padding-left: 18px;
  }

  .rabano-mainnav__inner {
    gap: 22px;
  }
}

@media (max-width: 767.98px) {
  .rabano-topbar {
    min-height: 34px;
    font-size: 12px;
  }

  .rabano-topbar__inner {
    justify-content: space-between;
    min-height: 34px;
    padding: 0 14px;
    gap: 12px;
  }

  .rabano-topbar__item {
    gap: 6px;
  }

  body.rabano-header-ready #header .header-bottom__container {
    padding: 0 14px;
  }

  body.rabano-header-ready #header .header-bottom__row {
    grid-template-areas:
      "logo actions"
      "search search";
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 8px 0 12px;
    column-gap: 10px;
    row-gap: 9px;
  }

  body.rabano-header-ready #header .header-bottom__logo {
    width: 180px;
    height: 56px;
  }

  body.rabano-header-ready #header .header-bottom__logo img {
    width: 180px;
    transform: translateY(-13px);
  }

  .rabano-header__search-target .search-input,
  .rabano-header__search-target input[type="search"],
  .rabano-header__search-target input[type="text"] {
    height: 44px;
    padding-right: 44px;
    padding-left: 44px;
    font-size: 14px;
  }

  .rabano-header__actions-target {
    min-width: 0;
    gap: 10px;
  }

  .rabano-header__actions-target .header-block {
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
  }

  .rabano-header__actions-target .header-block__title,
  .rabano-header__actions-target .header-block__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .rabano-mainnav {
    padding: 0 14px 12px;
  }

  .rabano-mainnav__inner {
    min-height: 48px;
    padding: 0 17px;
    gap: 22px;
  }

  .rabano-mainnav__all-button,
  .rabano-mainnav__link {
    min-height: 48px;
    font-size: 13px;
  }

  .rabano-mainnav__category-link {
    display: none;
  }

  .rabano-mainnav__all-label--full {
    display: none;
  }

  .rabano-mainnav__all-label--short {
    display: inline;
  }

  .rabano-mainnav__promotion-link {
    margin-left: auto;
  }

  .rabano-mainnav__dropdown {
    top: calc(100% + 6px);
    left: -17px;
    width: calc(var(--rabano-document-width, 100vw) - 28px);
    max-width: calc(var(--rabano-document-width, 100vw) - 28px);
  }
}

@media (max-width: 419.98px) {
  .rabano-topbar__security {
    display: none;
  }

  .rabano-topbar__inner {
    justify-content: space-around;
  }
}

@media (max-width: 389.98px) {
  body.rabano-header-ready #header .header-bottom__container {
    padding: 0 12px;
  }

  body.rabano-header-ready #header .header-bottom__logo {
    width: 165px;
    height: 52px;
  }

  body.rabano-header-ready #header .header-bottom__logo img {
    width: 165px;
    transform: translateY(-12px);
  }

  .rabano-header__actions-target {
    gap: 6px;
  }

  .rabano-mainnav {
    padding-right: 12px;
    padding-left: 12px;
  }

  .rabano-mainnav__inner {
    padding: 0 14px;
    gap: 17px;
  }

  .rabano-mainnav__dropdown {
    left: -14px;
    width: calc(var(--rabano-document-width, 100vw) - 24px);
    max-width: calc(var(--rabano-document-width, 100vw) - 24px);
  }
}

/* Canonical logo sizing. The artwork is 2172 x 724 (exactly 3:1).
   Width is controlled by the wrapper; height always follows the source ratio. */
body.rabano-header-ready #header .header-bottom__row {
  grid-template-columns: 255px minmax(360px, 1fr) auto;
}

body.rabano-header-ready #header .header-bottom__logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  width: 255px;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.rabano-header-ready #header .header-bottom__h1 {
  width: 100%;
  margin: 0;
  line-height: 0;
}

body.rabano-header-ready #header .header-bottom__logo .rabano-logo {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}

body.rabano-header-ready #header .header-bottom__logo .rabano-logo picture {
  display: block;
  width: 100%;
}

body.rabano-header-ready #header .header-bottom__logo .rabano-logo__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
  transform: none;
  image-rendering: auto;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
  grid-template-columns: 150px minmax(320px, 1fr) auto auto;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo .rabano-logo {
  width: 150px;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo .rabano-logo__image {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

@media (max-width: 1199.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__row {
    grid-template-columns: 215px minmax(260px, 1fr) auto;
  }

  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo .rabano-logo {
    width: 215px;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__row {
    grid-template-columns: 215px minmax(240px, 1fr) auto;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-columns: 140px minmax(220px, 1fr) 40px auto;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo .rabano-logo {
    width: 140px;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo .rabano-logo {
    width: clamp(165px, 48vw, 190px);
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-columns: 116px minmax(0, 1fr) auto;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo .rabano-logo {
    width: 116px;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 389.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo .rabano-logo {
    width: 160px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-columns: 104px minmax(0, 1fr) auto;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo .rabano-logo {
    width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rabano-mainnav__chevron {
    transition: none;
  }
}
body.rabano-header-ready .ps-searchbar--mobile {
  display: none !important;
}

/* The high-resolution logo keeps its natural 3:1 ratio in every header state. */
body.rabano-header-ready #header .header-bottom__logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 255px;
  height: auto;
  overflow: visible;
}

body.rabano-header-ready #header .header-bottom__logo a {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

body.rabano-header-ready #header .header-bottom__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
  object-position: left center;
  transform: none;
  image-rendering: auto;
}

.rabano-header__compact-phone {
  display: none;
  grid-area: phone;
}

.rabano-header-placeholder {
  display: none;
  width: 100%;
  height: 0;
}

.rabano-header-placeholder.is-active {
  display: block;
}

body.rabano-header-ready #header.rabano-header-compact {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1070;
  width: 100%;
  height: 60px;
  min-height: 60px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--rabano-header-border);
  box-shadow: 0 6px 22px rgba(15, 31, 46, .1);
  backdrop-filter: blur(10px);
}

body.rabano-header-ready #header.rabano-header-compact .header-banner,
body.rabano-header-ready #header.rabano-header-compact .rabano-topbar,
body.rabano-header-ready #header.rabano-header-compact .rabano-mainnav {
  display: none !important;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom {
  height: 60px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__container {
  width: 100%;
  max-width: var(--rabano-header-max-width);
  height: 60px;
  margin: 0 auto;
  padding: 0 24px;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
  display: grid;
  grid-template-areas: "logo search phone actions";
  grid-template-columns: 150px minmax(320px, 1fr) auto auto;
  align-items: center;
  width: 100%;
  height: 60px;
  min-height: 60px;
  margin: 0;
  padding: 0;
  gap: 18px;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo a {
  width: 150px;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
}

body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target {
  height: 60px;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target .search-input,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target input[type="search"],
body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target input[type="text"] {
  height: 40px;
  padding-right: 42px;
  padding-left: 42px;
  border-radius: 8px;
  font-size: 14px;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 7px;
  color: var(--rabano-header-navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone:hover,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone:focus-visible {
  color: var(--rabano-header-orange);
  background: var(--rabano-header-light-blue);
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target {
  height: 60px;
  min-width: 0;
  gap: 8px;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target > .ps-customersignin,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target > .ps-shoppingcart,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block {
  position: relative;
  min-width: 40px;
  width: 40px;
  min-height: 40px;
  height: 40px;
  justify-content: center;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 8px;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__action-btn:hover,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__action-btn:focus-visible {
  background: var(--rabano-header-light-blue);
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__title,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__icon {
  margin: 0;
  font-size: 25px;
}

body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .cart-products-count,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .cart-products-count-btn,
body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 17px;
  height: 17px;
  margin: 0;
  padding: 0 4px;
  font-size: 10px;
}

@media (max-width: 1199.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo a,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo img {
    width: 215px;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo a,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo img {
    width: 215px;
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-columns: 140px minmax(220px, 1fr) 40px auto;
    gap: 12px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo a,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo img {
    width: 140px;
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone {
    width: 40px;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

@media (max-width: 767.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo a,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo img {
    width: clamp(165px, 48vw, 190px);
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__container {
    height: 56px;
    min-height: 56px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__container {
    padding: 0 12px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-areas: "logo search actions";
    grid-template-columns: 116px minmax(0, 1fr) auto;
    height: 56px;
    min-height: 56px;
    gap: 8px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo a,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo img {
    width: 116px;
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__compact-phone {
    display: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target,
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target {
    height: 56px;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target .search-input,
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target input[type="search"],
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__search-target input[type="text"] {
    height: 36px;
    padding-right: 38px;
    padding-left: 38px;
    font-size: 12px;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target {
    gap: 4px;
  }

  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target > .ps-customersignin,
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target > .ps-shoppingcart,
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block,
  body.rabano-header-ready #header.rabano-header-compact .rabano-header__actions-target .header-block__action-btn {
    min-width: 36px;
    width: 36px;
    min-height: 36px;
    height: 36px;
  }
}

@media (max-width: 389.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo a,
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__logo img {
    width: 160px;
    height: auto;
    max-width: none;
    max-height: none;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__row {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 6px;
  }

  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo a,
  body.rabano-header-ready #header.rabano-header-compact .header-bottom__logo img {
    width: 104px;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  body.rabano-header-ready #header:not(.rabano-header-compact) .header-bottom__row {
    grid-template-areas:
      "logo actions"
      "search search";
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Dynamic multi-level category navigation. */
.rabano-mainnav {
  z-index: 1050;
  overflow: visible;
}

.rabano-mainnav__inner,
.rabano-mainnav__all-wrap {
  overflow: visible;
}

.rabano-mainnav__dropdown {
  z-index: 1060;
  display: block;
  width: 330px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  overflow: visible;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 31, 46, .16);
}

.rabano-category-level {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rabano-category-level--submenu[hidden] {
  display: none !important;
}

.rabano-category-item {
  position: relative;
  width: 100%;
}

.rabano-category-item__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 7px 8px 7px 14px;
  border-radius: 9px;
  gap: 8px;
}

.rabano-category-item:hover > .rabano-category-item__row,
.rabano-category-item.is-open > .rabano-category-item__row,
.rabano-category-item:focus-within > .rabano-category-item__row {
  background: var(--rabano-header-light-blue);
}

.rabano-category-item__link {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  color: var(--rabano-header-navy);
  line-height: 1.3;
  text-decoration: none;
}

.rabano-category-item__link:hover,
.rabano-category-item__link:focus-visible {
  color: var(--rabano-header-navy);
  text-decoration: none;
}

.rabano-category-item__name {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rabano-category-item__summary {
  margin-top: 3px;
  overflow: hidden;
  color: var(--rabano-header-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rabano-category-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: var(--rabano-header-navy);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.rabano-category-item__toggle:hover,
.rabano-category-item__toggle:focus-visible,
.rabano-category-item__toggle[aria-expanded="true"] {
  color: var(--rabano-header-orange);
  background: #fff;
}

.rabano-category-item__link:focus-visible,
.rabano-category-item__toggle:focus-visible {
  outline: 3px solid var(--rabano-header-orange);
  outline-offset: 2px;
}

.rabano-category-item__toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .15s ease;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .rabano-category-level--submenu {
    position: absolute;
    top: -10px;
    left: calc(100% + 10px);
    z-index: 1070;
    width: 300px;
    min-height: 84px;
    margin: 0;
    padding: 10px;
    color: var(--rabano-header-navy);
    background: #fff;
    border: 1px solid var(--rabano-header-border);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 31, 46, .15);
  }

  .rabano-category-item.open-left > .rabano-category-level--submenu {
    right: calc(100% + 10px);
    left: auto;
  }

  .rabano-category-item:not(.is-open) > .rabano-category-level--submenu {
    display: none;
  }
}

@media (max-width: 991.98px), (hover: none), (pointer: coarse) {
  .rabano-mainnav__dropdown {
    left: 0;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: min(70vh, 560px);
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .rabano-category-item__row {
    min-height: 58px;
  }

  .rabano-category-level--submenu {
    position: static;
    width: 100%;
    margin: 2px 0 6px;
    padding: 4px 0 4px 16px;
    background: #f8fafc;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
  }

  .rabano-category-level--submenu .rabano-category-item__row {
    min-height: 52px;
  }

  .rabano-category-item.is-open > .rabano-category-item__row {
    background: var(--rabano-header-light-blue);
  }

  .rabano-category-item__toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rabano-category-item__toggle svg {
    transition: none;
  }
}
