body {
  padding-top: 0;
}

.rhm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--rhm-color-outline);
  background: var(--rhm-color-surface);
  box-shadow: none;
  --rhm-header-hide-distance: 100%;
  transform: translateY(0);
  transition: transform 240ms ease, box-shadow 180ms ease;
}

.rhm-header.is-hidden {
  transform: translateY(calc(0px - var(--rhm-header-hide-distance)));
}

body.single-product header.rhm-header.rhm-header {
  opacity: 1;
}

body.admin-bar .rhm-header,
body.admin-bar .rhm-mobile-menu {
  top: 46px;
}

.rhm-header__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: var(--wp--preset--spacing--small);
  min-height: 64px;
  height: auto;
  padding-top: var(--wp--preset--spacing--xs);
  padding-bottom: var(--wp--preset--spacing--xs);
}

.rhm-header__menu-toggle,
.rhm-header__account,
.rhm-header__cart,
.rhm-mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rhm-color-ink);
  cursor: pointer;
  text-decoration: none;
}

.rhm-header__menu-toggle:hover,
.rhm-header__account:hover,
.rhm-header__cart:hover,
.rhm-mobile-menu__close:hover {
  background: var(--rhm-color-surface-subtle);
  color: var(--rhm-color-brand-strong);
}

.rhm-header__menu-toggle:focus-visible,
.rhm-header__account:focus-visible,
.rhm-header__cart:focus-visible,
.rhm-mobile-menu__close:focus-visible,
.rhm-header a:focus-visible,
.rhm-mobile-menu a:focus-visible,
.rhm-promo-bar__cta:focus-visible,
.rhm-footer a:focus-visible,
.rhm-footer summary:focus-visible {
  outline: 3px solid var(--rhm-color-info);
  outline-offset: 2px;
}

.rhm-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rhm-hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
}

.rhm-icon {
  width: 20px;
  height: 20px;
}

.rhm-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  line-height: 0;
  text-align: center;
}

.rhm-header__logo-link,
.rhm-header__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: min(180px, 100%);
  color: var(--rhm-color-ink);
  text-decoration: none;
}

.rhm-header__logo-picture {
  display: block;
  max-width: 100%;
}

.rhm-header__logo img,
.rhm-header__logo .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

.rhm-header__logo-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.rhm-header__nav {
  display: none;
}

.rhm-header__actions {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--xs);
  justify-content: flex-end;
}

.rhm-header__account {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  min-width: 84px;
  gap: 6px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--rhm-color-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.rhm-header__cart {
  position: relative;
}

.rhm-header__cart-count {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--rhm-color-surface);
  border-radius: 9px;
  background: var(--rhm-color-brand);
  color: var(--rhm-color-surface);
  font-size: 10px;
  font-weight: 700;
}

.rhm-primary-menu,
.rhm-primary-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhm-primary-menu {
  display: flex;
  align-items: stretch;
}

.rhm-primary-menu li,
.rhm-primary-menu .sub-menu li {
  list-style: none;
}

.rhm-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.rhm-primary-menu a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.rhm-primary-menu .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  margin-left: var(--wp--preset--spacing--xs);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  opacity: 0.66;
  transform: rotate(45deg) translateY(-1px);
}

.rhm-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  min-width: 200px;
  padding: var(--wp--preset--spacing--xs);
  border: 1px solid var(--rhm-color-outline);
  border-radius: 8px;
  background: var(--rhm-color-surface);
  box-shadow: 0 8px 24px rgba(23, 24, 23, 0.12);
}

.rhm-primary-menu .sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 0 var(--wp--preset--spacing--small);
  border-radius: 8px;
  color: var(--rhm-color-ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.rhm-primary-menu .sub-menu a:hover {
  background: var(--rhm-color-brand-soft);
  color: var(--rhm-color-brand-strong);
}

.rhm-primary-menu > li:hover > .sub-menu,
.rhm-primary-menu > li:focus-within > .sub-menu {
  display: grid;
}

.rhm-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}

.rhm-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.rhm-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(23, 24, 23, 0.44);
  opacity: 0;
  cursor: default;
  transition: opacity 180ms ease;
}

.rhm-mobile-menu.is-open .rhm-mobile-menu__overlay {
  opacity: 1;
}

.rhm-mobile-menu__panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  max-width: 100%;
  overflow-y: auto;
  border: 0;
  border-right: 1px solid var(--rhm-color-outline);
  border-radius: 0;
  background: var(--rhm-color-surface);
  box-shadow: 12px 0 28px rgba(23, 24, 23, 0.14);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.rhm-mobile-menu__panel::before,
.rhm-mobile-menu__panel::after {
  content: none;
}

.rhm-mobile-menu.is-open .rhm-mobile-menu__panel {
  transform: translateX(0);
}

.rhm-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--medium);
  border-bottom: 1px solid var(--rhm-color-outline);
}

.rhm-mobile-menu__title {
  color: var(--rhm-color-ink);
  font-size: 16px;
  font-weight: 700;
}

.rhm-mobile-menu__close {
  font-size: 26px;
  box-shadow: none;
}

.rhm-mobile-menu__nav {
  flex: 1;
  padding: var(--wp--preset--spacing--medium);
}

.rhm-mobile-menu__account {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--small);
  min-height: 48px;
  margin: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--medium) 0;
  padding: 0 var(--wp--preset--spacing--small);
  border: 1px solid var(--rhm-color-outline);
  border-radius: 8px;
  background: var(--rhm-color-surface-subtle);
  color: var(--rhm-color-ink);
  font-weight: 700;
  text-decoration: none;
}

.rhm-mobile-menu__account:hover {
  border-color: var(--rhm-color-brand);
  color: var(--rhm-color-brand-strong);
}

.rhm-mobile-menu__list,
.rhm-mobile-menu__list .sub-menu {
  display: grid;
  gap: var(--wp--preset--spacing--2-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhm-mobile-menu__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--small);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--rhm-color-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.rhm-mobile-menu__list .current-menu-item > a,
.rhm-mobile-menu__list .current_page_item > a,
.rhm-mobile-menu__list a:hover {
  background: var(--rhm-color-brand-soft);
  color: var(--rhm-color-brand-strong);
}

.rhm-mobile-menu__list .sub-menu {
  margin: var(--wp--preset--spacing--2-xs) 0 var(--wp--preset--spacing--xs);
  padding-left: var(--wp--preset--spacing--medium);
}

.rhm-mobile-menu__list .sub-menu a {
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
}

body.rhm-menu-open {
  overflow: hidden;
}

.rhm-footer {
  border-top: 1px solid var(--rhm-color-outline);
  background: var(--rhm-color-surface-subtle);
}

.rhm-footer__main {
  padding: var(--wp--preset--spacing--xlarge) 0 var(--wp--preset--spacing--large);
}

.rhm-footer .rhm-footer__inner {
  display: grid;
  gap: var(--wp--preset--spacing--large);
}

.rhm-footer__brand {
  display: grid;
  gap: 6px;
  align-content: start;
}

.rhm-footer__brand-link,
.rhm-footer .custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  max-width: 170px;
}

.rhm-footer__brand-picture {
  display: block;
  width: 100%;
  max-width: 100%;
}

.rhm-footer__brand-logo,
.rhm-footer .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

.rhm-footer__brand-text {
  color: var(--rhm-color-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.rhm-footer__tagline {
  max-width: 32ch;
  margin: 0;
  color: var(--rhm-color-ink-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-line;
}

.rhm-footer__social-block {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.rhm-footer__social-title {
  margin: 0;
  color: var(--rhm-color-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}

.rhm-footer__navigation-title {
  color: var(--rhm-color-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.rhm-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
}

.rhm-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rhm-color-outline);
  border-radius: 50%;
  background: var(--rhm-color-surface);
  color: var(--rhm-color-ink);
  text-decoration: none;
}

.rhm-footer__social a:hover {
  border-color: var(--rhm-color-brand);
  background: var(--rhm-color-brand-soft);
  color: var(--rhm-color-brand-strong);
}

.rhm-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.rhm-footer__navigation-grid {
  display: grid;
  border-top: 1px solid var(--rhm-color-outline);
}

.rhm-footer__navigation-group {
  border-bottom: 1px solid var(--rhm-color-outline);
}

.rhm-footer__navigation-title {
  min-height: 52px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.rhm-footer__navigation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: inherit;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.rhm-footer__navigation-title::-webkit-details-marker {
  display: none;
}

.rhm-footer__navigation-title svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-left: var(--wp--preset--spacing--small);
  transition: transform 180ms ease;
}

.rhm-footer__navigation-group[open] > .rhm-footer__navigation-title svg {
  transform: rotate(180deg);
}

.rhm-footer__navigation {
  padding: 0 0 var(--wp--preset--spacing--small) 16px;
}

.rhm-footer__menu {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhm-footer__menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--rhm-color-ink-muted);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
  text-decoration: none;
}

.rhm-footer__menu a:hover {
  color: var(--rhm-color-brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rhm-footer__utility {
  border-top: 1px solid var(--rhm-color-outline);
  background: var(--rhm-color-surface);
}

.rhm-footer__utility-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.rhm-footer__copyright {
  margin: 0;
  color: var(--rhm-color-ink-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

body.rhm-has-promo-bar {
  padding-bottom: var(--rhm-promo-reserve, 88px);
}

.rhm-promo-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  padding: var(--wp--preset--spacing--small) 0 calc(var(--wp--preset--spacing--small) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rhm-color-outline);
  background: var(--rhm-color-surface);
  box-shadow: 0 -8px 24px rgba(23, 24, 23, 0.1);
  --rhm-promo-hide-distance: 100%;
  visibility: visible;
  transition: transform 240ms ease, visibility 0s linear 0s;
}

.rhm-promo-bar.is-hidden {
  visibility: hidden;
  pointer-events: none;
  transform: translateY(var(--rhm-promo-hide-distance));
  transition: transform 240ms ease, visibility 0s linear 240ms;
}

.rhm-promo-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--medium);
  min-height: 56px;
}

.rhm-promo-bar__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.rhm-promo-bar__eyebrow {
  color: var(--rhm-color-brand-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.rhm-promo-bar__copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rhm-color-ink);
  font-size: 16px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rhm-promo-bar__copy > span:last-child {
  color: var(--rhm-color-ink-muted);
  font-size: 13px;
  line-height: 1.35;
}

.rhm-promo-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--2-xs);
  min-height: 44px;
  margin-left: auto;
  padding: 0 var(--wp--preset--spacing--medium);
  border-radius: 8px;
  background: var(--rhm-color-brand-strong);
  color: var(--rhm-color-surface);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rhm-promo-bar__cta:hover {
  background: var(--rhm-color-ink);
}

.rhm-promo-bar__cta svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1023.98px) {
  .rhm-header__account {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body.rhm-has-promo-bar {
    padding-bottom: var(--rhm-promo-reserve, 76px);
  }

  .rhm-footer .rhm-footer__inner {
    gap: var(--wp--preset--spacing--medium);
  }

  .rhm-promo-bar {
    padding: var(--wp--preset--spacing--xs) 0 calc(var(--wp--preset--spacing--xs) + env(safe-area-inset-bottom));
  }

  .rhm-promo-bar__inner {
    min-height: 60px;
    gap: var(--wp--preset--spacing--small);
  }

  .rhm-promo-bar__copy > span:last-child {
    display: none;
  }

  .rhm-promo-bar__copy strong {
    font-size: 14px;
  }

  .rhm-promo-bar__cta {
    min-width: 96px;
    padding: 0 var(--wp--preset--spacing--small);
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .rhm-header__inner {
    display: flex;
    min-height: 68px;
  }

  .rhm-header__menu-toggle {
    display: none;
  }

  .rhm-header__logo {
    flex: 0 0 auto;
    margin-right: var(--wp--preset--spacing--large);
    text-align: left;
  }

  .rhm-header__nav {
    display: block;
    min-width: 0;
    margin-right: auto;
  }

  .rhm-primary-menu {
    gap: var(--wp--preset--spacing--large);
  }

  .rhm-primary-menu a {
    min-height: 40px;
    color: var(--rhm-color-ink);
    font-size: 14px;
  }

  .rhm-primary-menu .current-menu-item > a,
  .rhm-primary-menu .current_page_item > a {
    color: var(--rhm-color-brand-strong);
  }

  .rhm-footer__main {
    padding: var(--wp--preset--spacing--2-xl) 0 var(--wp--preset--spacing--xlarge);
  }

  .rhm-footer .rhm-footer__inner {
    grid-template-columns: minmax(240px, 1.1fr) minmax(360px, 1.9fr);
    align-items: start;
    column-gap: var(--wp--preset--spacing--2-xl);
  }

  .rhm-footer__navigation-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(150px, 0.8fr);
    gap: var(--wp--preset--spacing--large);
    border-top: 0;
  }

  .rhm-footer__navigation-group {
    border-bottom: 0;
  }

  .rhm-footer__navigation-group:not([open]) > .rhm-footer__navigation {
    display: block;
  }

  .rhm-footer__navigation-title {
    min-height: auto;
    margin-bottom: var(--wp--preset--spacing--xs);
    padding: 0;
    font-size: 15px;
    cursor: default;
    pointer-events: none;
  }

  .rhm-footer__navigation-heading {
    min-height: auto;
  }

  .rhm-footer__navigation-title svg {
    display: none;
  }

  .rhm-footer__navigation {
    padding: 0;
  }

  .rhm-footer__menu a {
    min-height: 36px;
    padding: 6px 0;
  }

  .rhm-footer__social a {
    width: 40px;
    height: 40px;
  }

  .rhm-footer__brand-link,
  .rhm-footer .custom-logo-link {
    min-height: 40px;
  }

  .rhm-footer__utility-inner {
    justify-content: flex-start;
  }

  .rhm-footer__copyright {
    text-align: left;
  }
}

@media (min-width: 783px) {
  body.admin-bar .rhm-header,
  body.admin-bar .rhm-mobile-menu {
    top: 32px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .rhm-header,
  .rhm-promo-bar,
  .rhm-footer__navigation-title svg,
  .rhm-mobile-menu__overlay,
  .rhm-mobile-menu__panel {
    transition: none;
  }
}
