/* ==========================================================================
   Header V2 — OH-041
   Colours come only from the --oh-* variables (inc/customizer/customizer-colors.php).
   Field and button heights follow the checkout (42px), not the demo (44px):
   where a demo value differs from the live shop, the live shop wins.
   ========================================================================== */

:root {
  --oh-hdr-info-h: 38px;
  --oh-hdr-main-h: 74px;
  --oh-hdr-nav-h: 52px;
  --oh-hdr-field-h: 42px;
  --oh-hdr-radius: 5px;
  --oh-hdr-z: 9000;
}

.oh-skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  margin: 0;
  padding: 10px 16px;
  background: var(--oh-color7);
  border: 1px solid var(--oh-primary);
  border-radius: var(--oh-hdr-radius);
}

/*
 * The whole header is the sticky element, pulled up by exactly the height of the
 * info bar. That is what makes row 1 scroll away while rows 2 and 3 stay put.
 *
 * Sticking .oh-hdr__sticky instead would not work: a sticky element cannot leave
 * its parent's box, and .oh-hdr is only as tall as the header itself, so it
 * would unstick immediately.
 */
.oh-hdr {
  position: sticky;
  top: calc(var(--oh-hdr-info-h) * -1);
  z-index: var(--oh-hdr-z);
  background: var(--oh-color7);
}

.admin-bar .oh-hdr {
  top: calc(32px - var(--oh-hdr-info-h));
}

.oh-hdr--checkout {
  top: 0;
}

.admin-bar .oh-hdr--checkout {
  top: 32px;
}

/* --------------------------------------------------------------------------
   Row 1 — info bar. Scrolls away; only rows 2 and 3 are sticky.
   -------------------------------------------------------------------------- */
.oh-hdr__info {
  background: var(--oh-primary);
  color: var(--oh-color7);
  height: var(--oh-hdr-info-h);
  font-size: 12px;
}

.oh-hdr__info-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--oh-hdr-info-h);
  gap: 20px;
}

.oh-hdr__info-note {
  font-size: 12px;
  color: rgba(250, 250, 247, .75);
  margin: 0;
}

.oh-hdr__usp {
  position: relative;
  height: var(--oh-hdr-info-h);
  min-width: 320px;
  text-align: center;
}

.oh-hdr__usp-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--oh-color7);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  font-size:12px;
}

.oh-hdr__usp-item.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.oh-hdr__usp-icon {
  display: inline-flex;
  opacity: .85;
}
.oh-hdr__usp-icon svg {
  width: 16px;
  height: 16px;
}

/* A missing icon must leave no gap at all — not even an empty inline box. */
.oh-hdr__usp-item > span:only-child {
  margin: 0;
}

.oh-hdr__info-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 600;
}

.oh-hdr__info-links a {
  color: var(--oh-color7);
  opacity: .9;
}

.oh-hdr__info-links a:hover {
  color: var(--oh-color7);
  opacity: 1;
}

.oh-hdr__lang {
  position: relative;
}

.oh-hdr__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid rgba(250, 250, 247, .22);
  border-radius: 20px;
  background: none;
  color: var(--oh-color7);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.oh-hdr__lang-btn svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .18s ease;
}

.oh-hdr__lang-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.oh-hdr__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  background: var(--oh-color7);
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  z-index: 111;
}

.oh-hdr__lang-menu[hidden] {
  display: none;
}

.oh-hdr__lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--oh-hdr-radius);
  color: var(--oh-color4);
  font-size: 13px;
}

.oh-hdr__lang-menu a:hover,
.oh-hdr__lang-menu a.is-current {
  color: var(--oh-primary);
}

/* --------------------------------------------------------------------------
   Rows 2 and 3 — sticky block.
   -------------------------------------------------------------------------- */
.oh-hdr__sticky {
  position: relative; /* containing block for the search dropdown */
  z-index: 60;
  background: var(--oh-color7);
  border-bottom: 1px solid var(--oh-color6);
}

.oh-hdr__main-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px) 1fr;
  align-items: center;
  height: var(--oh-hdr-main-h);
  gap: 32px;
}

.oh-hdr__logo img {
  max-width: 220px;
  width: 100%;
  height: 34px;
  object-fit: contain;
  display: block;
}

.oh-hdr__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: var(--oh-hdr-field-h);
  padding: 0 15px;
  border: 1px solid var(--oh-color6);
  border-radius: var(--oh-hdr-radius);
  background: var(--oh-color7);
  transition: border-color .15s ease;
}

.oh-hdr__search:hover {
  border-color: var(--oh-secondary);
}

.oh-hdr__search:focus-within {
  border-color: var(--oh-primary);
  outline: none;
  box-shadow: none;
}

.oh-hdr__search-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.oh-hdr__search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--oh-color4);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

/* The container's :focus-within border is the single focus indicator; the input
 * itself must never draw its own ring (browser default focus outline), or the
 * field shows a doubled/boxed look on focus. */
.oh-hdr__search input[type="search"]:focus,
.oh-hdr__search input[type="search"]:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
}

.oh-hdr__search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.oh-hdr__search input::placeholder {
  color: var(--oh-color5);
}

.oh-hdr__search-clear {
  flex-shrink: 0;
  display: inline-flex;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--oh-color5);
  cursor: pointer;
}

/*
 * The browser's own [hidden] rule is a UA style, so any author `display` beats
 * it. Every element in the header that toggles via the hidden attribute needs
 * this, or it stays on screen with hidden set — which is what made the clear
 * button appear next to an empty field.
 */
.oh-hdr [hidden] {
  display: none !important;
}

.oh-hdr__search-clear svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.oh-hdr__icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.oh-hdr__icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--oh-color3);
}

.oh-hdr__icon:hover {
  color: var(--oh-primary);
}

/* Checkout: logo only, centred, no navigation. */
.oh-hdr--checkout .oh-hdr__main {
  border-bottom: 1px solid var(--oh-color6);
}

.oh-hdr__main--checkout .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--oh-hdr-main-h);
}

/* --------------------------------------------------------------------------
   Row 3 — menu bar.
   -------------------------------------------------------------------------- */
.oh-hdr__nav {
  border-top: 1px solid var(--oh-color6);
  position: relative;
}

.oh-hdr__nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oh-hdr__bar {
  display: flex;
  gap: 32px;
}

.oh-hdr__bar-item {
  position: static;
}

.oh-hdr__bar-link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--oh-hdr-nav-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--oh-color3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease;
}

.oh-hdr__bar-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
  transition: transform .18s ease;
}

.oh-hdr__bar-item.is-open > .oh-hdr__bar-link,
.oh-hdr__bar-link:hover {
  color: var(--oh-primary);
  border-bottom-color: var(--oh-primary);
}

.oh-hdr__bar-item.is-open > .oh-hdr__bar-link::after {
  transform: rotate(225deg) translateY(1px);
}

.oh-hdr__service {
  display: flex;
  gap: 24px;
}

/* "Angebote" gets no colour highlight — deliberately the same as its siblings. */
.oh-hdr__service a {
  font-size: 13px;
  font-weight: 600;
  color: var(--oh-color5);
}

.oh-hdr__service a:hover {
  color: var(--oh-primary);
}

/* --------------------------------------------------------------------------
   Mega panel.
   -------------------------------------------------------------------------- */
.oh-hdr__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--oh-color7);
  border-top: 1px solid var(--oh-color6);
  border-bottom: 1px solid var(--oh-color6);
  z-index: 55;
}

.oh-hdr__panel[hidden] {
  display: none;
}

.oh-hdr__panel-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  /* The panel must not close tighter at the bottom than it opens at the top. */
  padding: 36px 0 32px;
}

/* No tiles means the columns take the full width. */
.oh-hdr__panel-top:not(:has(.oh-hdr__tiles)) {
  grid-template-columns: 1fr;
}

.oh-hdr__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 264px));
  gap: 10px 72px;
  align-content: start;
  justify-content: start;
}

.oh-hdr__cols[data-columns="1"] { grid-template-columns: minmax(0, 264px); }
.oh-hdr__cols[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 264px)); }
.oh-hdr__cols[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 190px)); }

.oh-hdr__col-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--oh-secondary);
}

a.oh-hdr__col-title:hover {
  color: var(--oh-primary);
}

.oh-hdr__col-title svg {
  width: 18px;
  height: 18px;
}

.oh-hdr__col-list a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--oh-color4);
  transition: color .15s ease, padding-left .15s ease;
}

.oh-hdr__col-list a:hover {
  color: var(--oh-primary);
  padding-left: 4px;
}

.oh-hdr__tiles {
  display: flex;
  gap: 20px;
}

.oh-hdr__tile {
  display: block;
  width: 200px;
}

.oh-hdr__tile-img {
  display: block;
  overflow: hidden;
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: var(--oh-color7);
}

.oh-hdr__tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.oh-hdr__tile:hover .oh-hdr__tile-img img {
  transform: scale(1.04);
}

.oh-hdr__overline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--oh-secondary);
  margin: 12px 0 4px;
}

.oh-hdr__tile-title {
  display: block;
  font-size: 14px;
  color: var(--oh-color3);
  line-height: 1.35;
}

.oh-hdr__tile-price {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--oh-primary);
}

.oh-hdr__panel-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--oh-color6);
}

.oh-hdr__brandwrap .oh-hdr__overline {
  margin: 0 0 10px;
  line-height: 1;
}

.oh-hdr__brands {
  display: grid;
  grid-template-columns: repeat(6, 98px);
  gap: 10px;
}

.oh-hdr__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height:56px;
  padding: 6px 10px;
  background: var(--oh-color7);
  border: 1px solid var(--oh-color6);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s ease;
}

.oh-hdr__brand:hover {
  border-color: var(--oh-primary);
}

/* Logos fill the tile without being cropped. */
.oh-hdr__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* 18 brands have no logo — the wordmark stays on one line, never wraps. */
.oh-hdr__brand-wordmark {
  font-size: 11px;
  font-weight: 600;
  color: var(--oh-color3);
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.oh-hdr__all {
  font-size: 13px;
  font-weight: 600;
  color: var(--oh-primary);
}

.oh-hdr__all:hover {
  color: var(--oh-hover);
}

/* --------------------------------------------------------------------------
   Search dropdown. Starts under the search row and lies OVER the menu row,
   so the mouse never crosses a menu item on the way down.
   -------------------------------------------------------------------------- */
.oh-hdr__search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--oh-hdr-main-h);
  background: var(--oh-color7);
  border-top: 1px solid var(--oh-color6);
  border-bottom: 1px solid var(--oh-color6);
  z-index: 58;
  max-height: calc(100vh - var(--oh-hdr-main-h) - 20px);
  overflow-y: auto;
}

.oh-hdr__search-panel[hidden] {
  display: none;
}

.oh-hdr__search-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  padding: 32px 0;
}

.oh-hdr__search-inner.is-single {
  grid-template-columns: 1fr;
}

.oh-hdr__search-hint,
.oh-hdr__search-empty {
  font-size: 14px;
  color: var(--oh-color5);
  padding: 24px 0;
}

.oh-hdr__sside {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.oh-hdr__sblock-title {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--oh-secondary);
}

.oh-hdr__sblock a {
  color: var(--oh-color4);
}

.oh-hdr__sblock a:hover {
  color: var(--oh-primary);
}

.oh-hdr__scat {
  display: block;
  padding: 5px 0;
  font-size: 14px;
}

.oh-hdr__spath {
  display: block;
  font-size: 11px;
  color: var(--oh-color5);
  letter-spacing: .02em;
}

.oh-hdr__search-panel mark {
  padding: 0;
  background: transparent;
  color: var(--oh-primary);
  font-weight: 600;
}

.oh-hdr__spills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oh-hdr__spill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--oh-color6);
  border-radius: 999px;
  background: var(--oh-color7);
  font-family: inherit;
  font-size: 13px;
  color: var(--oh-color4);
  cursor: pointer;
}

.oh-hdr__spill:hover {
  border-color: var(--oh-primary);
  color: var(--oh-primary);
}

.oh-hdr__slogos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.oh-hdr__slogo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 8px;
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  background: var(--oh-color7);
}

.oh-hdr__slogo:hover {
  border-color: var(--oh-primary);
}

.oh-hdr__slogo img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.oh-hdr__sgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.oh-hdr__scard {
  display: flex;
  gap: 12px;
  align-items: center;
}

.oh-hdr__scard img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  object-fit: cover;
}

.oh-hdr__scard-body {
  min-width: 0;
}

.oh-hdr__scard-brand {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--oh-color5);
}

.oh-hdr__scard-title {
  display: block;
  font-size: 13px;
  color: var(--oh-color3);
  line-height: 1.3;
}

.oh-hdr__scard-price {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--oh-primary);
}

/* Keyboard highlight for arrow-key navigation through the suggestions. */
.oh-hdr__scard.is-active,
.oh-hdr__scat.is-active {
  outline: 2px solid var(--oh-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Mini cart dropdown (desktop only).
   -------------------------------------------------------------------------- */
.oh-hdr-cart__link {
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

.oh-hdr-cart__link-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oh-hdr-cart__count {
  position: absolute;
  top: -6px;
  left: 13px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--oh-primary);
  color: var(--oh-color7);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.oh-hdr-cart__total {
  font-size: 13px;
  font-weight: 600;
  color: var(--oh-color4);
}

.oh-hdr-cart__pop {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 340px;
  background: var(--oh-color7);
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  z-index: 85;
  text-align: left;
  cursor: default;
}

.oh-hdr-cart:not(.is-open) .oh-hdr-cart__pop {
  display: none;
}

/* Bridge the gap so moving the mouse from icon to panel does not close it. */
.oh-hdr-cart__pop::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.oh-hdr-cart__items {
  max-height: 280px;
  overflow: auto;
  padding: 6px 0;
}

.oh-hdr-cart__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
}

.oh-hdr-cart__thumb img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--oh-color6);
  border-radius: 6px;
  object-fit: cover;
}

.oh-hdr-cart__info {
  flex: 1;
  min-width: 0;
}

.oh-hdr-cart__name {
  display: block;
  font-size: 13px;
  color: var(--oh-color3);
  line-height: 1.3;
}

.oh-hdr-cart__variation {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--oh-color5);
}

.oh-hdr-cart__meta {
  margin-top: 5px;
}

.oh-hdr-cart__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--oh-color6);
  border-radius: var(--oh-hdr-radius);
}

.oh-hdr-cart__step {
  width: 22px;
  height: 22px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  color: var(--oh-color4);
  cursor: pointer;
}

.oh-hdr-cart__step:hover {
  color: var(--oh-primary);
}

.oh-hdr-cart__qty-value {
  min-width: 22px;
  font-size: 12px;
  text-align: center;
}

.oh-hdr-cart__price {
  margin-left: auto;
  font-size: 13px;
  color: var(--oh-primary);
}

.oh-hdr-cart__remove {
  flex-shrink: 0;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--oh-secondary);
  cursor: pointer;
}

.oh-hdr-cart__remove svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.oh-hdr-cart__remove:hover {
  color: var(--oh-error);
}

.oh-hdr-cart__ship {
  padding: 12px 16px 13px;
  border-top: 1px solid var(--oh-color6);
}

.oh-hdr-cart__ship p {
  margin-bottom: 7px;
  font-size: 12px;
}

.oh-hdr-cart__ship p.is-reached {
  color: var(--oh-primary);
  font-weight: 600;
}

.oh-hdr-cart__bar {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--oh-color6);
  overflow: hidden;
}

.oh-hdr-cart__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--oh-primary);
  transition: width .3s ease;
}

.oh-hdr-cart__sum {
  padding: 12px 16px 0;
  font-size: 13px;
}

.oh-hdr-cart__sum strong {
  font-size: 15px;
  color: var(--oh-color3);
}

.oh-hdr-cart__actions {
  padding: 12px 16px 16px;
}

.oh-hdr-cart__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--oh-color5);
}

.oh-hdr-cart__empty a {
  display: inline-block;
  margin-top: 10px;
  color: var(--oh-primary);
  font-weight: 600;
}

.oh-hdr-cart.is-busy {
  opacity: .6;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Scrim behind any open overlay.
   -------------------------------------------------------------------------- */
.oh-hdr__scrim {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, .25);
  z-index: 40;
}

.oh-hdr__scrim[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Focus states — same treatment everywhere in the header.
   -------------------------------------------------------------------------- */
.oh-hdr a:focus-visible,
.oh-hdr button:focus-visible,
.oh-hdr input:focus-visible {
  outline: 2px solid var(--oh-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Mobile — below 820px the desktop rows step aside entirely.
   -------------------------------------------------------------------------- */
.oh-hdr__mobile {
  display: none;
}

@media (max-width: 1400px) {
  .oh-hdr__panel-top { gap: 40px; }
  .oh-hdr__tile { width: 170px; }
  .oh-hdr__cols { gap: 10px 48px; grid-template-columns: repeat(3, minmax(0, 250px)); }
}

@media (max-width: 1100px) {
  .oh-hdr__panel-top { grid-template-columns: 1fr; }
  .oh-hdr__search-inner { grid-template-columns: 1fr; gap: 28px; }
  .oh-hdr__sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-hdr__tiles { border-top: 1px solid var(--oh-color6); padding-top: 24px; }
}

@media (max-width: 820px) {
  /* Info bar stays on mobile (rotating USP only); the base sticky pull-up makes
     it scroll away while the mobile rows below stay put. The WP admin bar is
     46px tall on mobile, not 32px. */
  .admin-bar .oh-hdr { top: calc(46px - var(--oh-hdr-info-h)); }

  .oh-hdr__main,
  .oh-hdr__nav,
  .oh-hdr__search-panel { display: none; }

  .oh-hdr__info-grid { grid-template-columns: 1fr; gap: 0; }
  .oh-hdr__info-note,
  .oh-hdr__info-links { display: none; }
  .oh-hdr__usp { min-width: 0; width: 100%; }

  .oh-hdr__mobile {
    display: block;
    background: var(--oh-color7);
    border-bottom: 1px solid var(--oh-color6);
  }

  .oh-hdr__mrow-grid {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    height: 56px;
    gap: 10px;
  }

  .oh-hdr__mrow-actions {
    display: flex;
    align-items: center;
  }

  /* Search magnifier in the bar: hidden until the search row scrolls away. */
  .oh-hdr__msearch-icon {
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: width .22s ease, opacity .18s ease;
  }

  body.oh-msearch-collapsed .oh-hdr__msearch-icon {
    width: 44px;
    min-width: 44px;
    opacity: 1;
    pointer-events: auto;
  }

  /* The bar sits above the search row with an opaque background, so the row can
     slide up and tuck behind it. */
  .oh-hdr__mrow {
    position: relative;
    z-index: 2;
    background: var(--oh-color7);
  }

  /* The full-width search row collapses on scroll-down, freeing vertical space
     (56px instead of ~111px), and returns on scroll-up. It slides up behind the
     bar (transform, GPU-smooth) while its height collapses so content rises. */
  .oh-hdr__msearch-row {
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-height: 72px;
    opacity: 1;
    transform: translateY(0);
    transition: transform .28s ease, max-height .28s ease, opacity .2s ease, padding .28s ease;
    will-change: transform, max-height;
  }

  body.oh-msearch-collapsed .oh-hdr__msearch-row {
    transform: translateY(-100%);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }

  /* Every tappable area is at least 44px. */
  .oh-hdr__mtoggle,
  .oh-hdr__micon,
  .oh-hdr__mclose,
  .oh-hdr__mback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--oh-color3);
    cursor: pointer;
  }

  .oh-hdr__mtoggle {
    flex-direction: column;
    gap: 5px;
  }

  .oh-hdr__mtoggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--oh-color3);
  }

  .oh-hdr__mlogo {
    display: flex;
    justify-content: flex-start;
  }
  .oh-hdr__mlogo a{
    display: flex;
  }

  .oh-hdr__mlogo img {
    max-width: 160px;
    height: 26px;
    object-fit: contain;
  }


  .oh-hdr__msearch-row {
    padding-bottom: 10px;
  }

  .oh-hdr__msearch-open {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--oh-color6);
    border-radius: var(--oh-hdr-radius);
    background: var(--oh-color7);
    font-family: inherit;
    font-size: 14px;
    color: var(--oh-color5);
    text-align: left;
    cursor: pointer;
  }

  .oh-hdr__msearch-open svg {
    width: 18px;
    height: 18px;
  }

  /* ---- Two-level menu ---- */
  .oh-hdr__mmenu {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: var(--oh-color7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .3s ease;
    will-change: transform;
  }

  .oh-hdr__mmenu.is-open { transform: translateX(0); }

  .oh-hdr__mmenu[hidden] { display: none; }

  .oh-hdr__mmenu-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    min-height: 56px;
    border-bottom: 1px solid var(--oh-color6);
  }

  /* Pin each head item to its column so hiding the back button (display:none on
     level 1) does not let the title and close shift left into columns 1 and 2. */
  .oh-hdr__mback { grid-column: 1; justify-self: start; }
  .oh-hdr__mmenu-title { grid-column: 2; }
  .oh-hdr__mclose { grid-column: 3; justify-self: end; }

  .oh-hdr__mback {
    justify-content: flex-start;
    gap: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
  }

  .oh-hdr__mback[hidden] { display: none; }

  .oh-hdr__mback svg,
  .oh-hdr__mclose svg,
  .oh-hdr__mchevron {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
  }

  .oh-hdr__mmenu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--oh-color3);
    text-align: center;
  }

  /* Levels are stacked and slid horizontally: level 1 sits at 0, tapping a
     category slides level 2 in from the right (and level 1 out to the left).
     Positioned below the fixed head (min-height 56px). */
  .oh-hdr__mlevel {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0px 40px;
    background: var(--oh-color7);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s .3s;
  }

  .oh-hdr__mlevel.is-active {
    transform: translateX(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s 0s;
  }

  .oh-hdr__mlevel.is-behind {
    transform: translateX(-100%);
    visibility: visible;
    transition: transform .3s ease, visibility 0s 0s;
  }

  .oh-hdr__mrow-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 6px 16px;
    border: 0;
    border-bottom: 1px solid var(--oh-color6);
    background: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--oh-color3);
    text-align: left;
    cursor: pointer;
  }

  .oh-hdr__mrow-link.is-service {
    font-size: 14px;
    color: var(--oh-color4);
  }

  .oh-hdr__mservice {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 18px 16px 6px;
  }

  .oh-hdr__mservice a {
    font-size: 14px;
    color: var(--oh-color5);
    text-decoration: none;
  }

  .oh-hdr__mservice a:hover {
    color: var(--oh-primary);
  }

  .oh-hdr__mlang {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 16px 20px;
  }

  .oh-hdr__mlang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--oh-color6);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--oh-color5);
    text-decoration: none;
  }

  .oh-hdr__mlang-pill.is-current {
    background: var(--oh-primary);
    border-color: var(--oh-primary);
    color: var(--oh-color7);
  }

  .oh-hdr__mrow-link > span:not(.oh-hdr__micon-inline) { flex: 1; }

  .oh-hdr__micon-inline {
    display: inline-flex;
    flex-shrink: 0;
  }

  .oh-hdr__micon-inline svg {
    width: 18px;
    height: 18px;
  }

  .oh-hdr__mall {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--oh-primary);
  }

  .oh-hdr__mgroup { margin-bottom: 18px; }

  .oh-hdr__mgroup-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--oh-secondary);
    padding:0px 16px;
  }

  .oh-hdr__mshop { margin: 8px 0 20px; width:calc(100% - 32px); margin-left:16px; }

  /* Bestseller teaser: full-width image card (image on top, caption below), to
     match the demo — not a thumbnail row. */
  .oh-hdr__mtile {
    display: block;
    margin: 16px 0 8px;
    border: 1px solid var(--oh-color6);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
        width: calc(100% - 32px);
    margin-left: 16px;
  }

  .oh-hdr__mtile-img {
    display: block;
  }

  .oh-hdr__mtile-img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 0;
    border-radius: 0;
  }

  .oh-hdr__mtile-body {
    display: block;
    padding: 10px 12px 12px;
  }

  .oh-hdr__mtile .oh-hdr__overline { margin: 0 0 2px; }

  .oh-hdr__mtile-title {
    display: block;
    font-size: 14px;
    color: var(--oh-color3);
  }

  .oh-hdr__mtile .oh-hdr__tile-price {
    display: block;
    margin-top: 2px;
    color: var(--oh-primary);
  }

  .oh-hdr__mbrands {
    padding-top: 16px;
    border-top: 1px solid var(--oh-color6);
    padding-left:16px; 
    padding-right:16px; 
  }

  .oh-hdr__mbrands .oh-hdr__brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ---- Full-screen search ---- */
  .oh-hdr__msearch {
    position: fixed;
    inset: 0;
    z-index: 9600;
    background: var(--oh-color7);
    display: flex;
    flex-direction: column;
  }

  .oh-hdr__msearch[hidden] { display: none; }

  .oh-hdr__msearch-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--oh-color6);
  }

  .oh-hdr__msearch-close {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--oh-primary);
    cursor: pointer;
  }

  .oh-hdr__msearch-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 15px 40px;
  }

  /* One column on mobile, same logic and same order as desktop. */
  .oh-hdr__msearch-body .oh-hdr__search-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  .oh-hdr__msearch-body .oh-hdr__sgrid {
    grid-template-columns: 1fr;
  }

  .oh-hdr__msearch-body .oh-hdr__slogos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Respect reduced motion: no rotation, no transforms, first message only.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .oh-hdr__usp-item,
  .oh-hdr__tile-img img,
  .oh-hdr-cart__bar i,
  .oh-hdr__col-list a {
    transition: none;
  }

  .oh-hdr__usp-item {
    transform: none;
  }

  .oh-hdr__mmenu,
  .oh-hdr__mlevel,
  .oh-hdr__msearch-row,
  .oh-hdr__msearch-icon {
    transition: none;
  }
}
