/* Colors inherit the existing main.css theme variables; no second brand palette. */
/* Navigation based on Shoptet HeaderNew: 44px utility bar, 77px navigation row. */
.header-refresh,.header-refresh-topbar {
  --hr-ink: var(--dark);
  --hr-muted: var(--secondary);
  --hr-line: color-mix(in srgb, var(--primary) 8%, var(--white));
  --hr-soft: color-mix(in srgb, var(--primary) 6%, var(--white));
  --hr-blue: var(--accent);
  color: var(--hr-ink);
  box-sizing: border-box;
}
.header-refresh *,.header-refresh-topbar * { box-sizing: border-box; }
.header-refresh a,.header-refresh-topbar a { color: inherit; text-decoration: none; }
.header-refresh-topbar { position: relative; border-top: 4px solid var(--primary); background: var(--white); }
.header-refresh-topbar__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1440px; min-height: 44px; margin: auto; padding: 0 44px; }
.header-refresh-topbar__claim { min-width: 0; font-size: 13px; line-height: 1.4; color: var(--hr-muted); }
.header-refresh-topbar__claim strong { color: color-mix(in srgb, var(--primary) 60%, var(--dark)); font-weight: 600; }
.header-refresh-topbar__links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 13px; line-height: 1.4; }
.header-refresh-topbar__link { display: inline-flex; align-items: center; min-height: 32px; }
.header-refresh-topbar a:hover { color: var(--hr-blue); }
.header-refresh-topbar__link:hover { text-decoration: underline; }
.header-refresh {
  --hr-menu-top: 48px;
  position: relative;
  z-index: 101;
  width: calc(100% - 32px);
  max-width: 1408px;
  margin: 0 auto 16px;
  border: 0;
  background: transparent;
}
.header-refresh__row {
  display: grid;
  grid-template-columns: 184px minmax(0,1fr) 184px;
  align-items: center;
  min-height: 77px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 20px #00000014;
}
.header-refresh__brand { display: flex; justify-self: start; padding-left: 25px; }
.header-refresh__brand img { display: block; width: auto; height: 44px; }
.header-refresh__navigation { display: flex; align-items: center; justify-content: center; gap: 28px; min-width: 0; }
.header-refresh__summary { display: flex; align-items: center; gap: 5px; min-height: 77px; margin: 0; padding: 0; border: 0; background: none; font-size: 15px; line-height: 1.4; list-style: none; cursor: pointer; white-space: nowrap; }
.header-refresh__summary::-webkit-details-marker { display: none; }
.header-refresh__summary>.header-refresh__icon:last-child { width: 13px; height: 13px; font-size: 10px; flex: none; color: var(--hr-muted); transition: transform .15s; }
.header-refresh__disclosure[open]>.header-refresh__summary>.header-refresh__icon:last-child { transform: rotate(180deg); }
.header-refresh__dropdown--stay>.header-refresh__summary { font-weight: 600; color: var(--hr-blue); }
.header-refresh__summary[data-active] { color: var(--hr-blue); }
.header-refresh__icon { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; flex: none; font-size: 18px; line-height: 1; }
.header-refresh__dropdown { position: relative; display: flex; align-items: center; }
.header-refresh__toggle { justify-content: center; min-width: 28px; }
.header-refresh__disclosure { flex: none; }
.header-refresh__dropdown:last-of-type .header-refresh__panel { left: auto; right: -24px; }
.header-refresh__panel { position: absolute; top: calc(100% + 8px); left: -24px; width: min(var(--header-refresh-panel-width),calc(100vw - 48px)); display: grid; grid-template-columns: repeat(var(--header-refresh-columns),minmax(0,1fr)); gap: 20px 24px; max-height: calc(100vh - var(--hr-menu-top) - 101px); max-height: calc(100dvh - var(--hr-menu-top) - 101px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: var(--white); border: 0; border-radius: 16px; box-shadow: 0 4px 20px #00000014; }
/* The bridge lets a pointer travel from the row to its dropdown without closing it. */
.header-refresh__disclosure[open]::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.header-refresh__disclosure:not([open])>.header-refresh__panel { display: none; }
.header-refresh__group h2 { margin: 0 0 10px; padding: 0 10px; color: var(--hr-muted); font-size: 13px; line-height: 1.5; letter-spacing: .2px; }
.header-refresh__group-summary { display: none; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; margin-bottom: 10px; padding-right: 10px; cursor: pointer; list-style: none; }
.header-refresh__group-summary::-webkit-details-marker { display: none; }
.header-refresh__group-summary h2 { margin: 0; }
.header-refresh__group-summary>.header-refresh__icon { width: 12px; height: 12px; font-size: 9px; color: var(--hr-muted); }
.header-refresh__group[open]>.header-refresh__group-summary>.header-refresh__icon { transform: rotate(180deg); }
.header-refresh__group a { display: flex; align-items: center; min-height: 44px; padding: 10px; border-radius: 8px; font-size: 14px; line-height: 1.4; }
.header-refresh__group .header-refresh__group-overview { color: var(--hr-blue); font-weight: 600; }
.header-refresh__group .header-refresh__group-overview--mobile { display: none; }
.header-refresh__group .header-refresh__group-heading a { min-height: 0; gap: 8px; padding: 0; border-radius: 0; color: var(--hr-muted); font: inherit; }
.header-refresh__group-heading .fa-arrow-right { flex: none; font-size: 10px; }
.header-refresh__group .header-refresh__group-heading a:hover { background: transparent; color: var(--hr-blue); text-decoration: none; }
.header-refresh__subnav>summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px; border-radius: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; list-style: none; }
.header-refresh__subnav>summary::-webkit-details-marker { display: none; }
.header-refresh__subnav>summary>.header-refresh__icon { width: 12px; height: 12px; font-size: 9px; color: var(--hr-muted); }
.header-refresh__subnav[open]>summary { background: var(--hr-soft); }
.header-refresh__subnav[open]>summary>.header-refresh__icon { transform: rotate(180deg); }
.header-refresh__subnav>summary:hover { background: var(--hr-soft); color: var(--hr-blue); }
.header-refresh__subnav-links { margin: 4px 0 10px 10px; padding-left: 8px; border-left: 1px solid var(--hr-line); }
.header-refresh__panel-footer { grid-column: 1/-1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 12px 10px 0; border-top: 1px solid var(--hr-line); }
.header-refresh__panel-footer a { display: flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.4; color: var(--hr-muted); }
.header-refresh__panel-footer a:first-child { font-weight: 600; font-size: 14px; color: var(--hr-blue); gap: 12px; }
.header-refresh__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header-refresh__button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.header-refresh__tools>.header-refresh__button,.header-refresh__tools>.header-refresh__button:focus-visible { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; }
.header-refresh__button:hover,.header-refresh__group a:hover,.header-refresh__mobile-links a:hover { background: var(--hr-soft); color: var(--hr-blue); }
.header-refresh__summary:hover,.header-refresh__panel-footer a:hover { color: var(--hr-blue); }
.header-refresh :focus-visible,.header-refresh-topbar :focus-visible { outline: 3px solid var(--hr-blue); outline-offset: 3px; border-radius: 6px; }
.header-refresh__hamburger,.header-refresh__mobile-links,.header-refresh__close-icon { display: none; }
.header-refresh__menu-icon { display: flex; }
.header-refresh__hamburger[aria-expanded="true"] .header-refresh__menu-icon { display: none; }
.header-refresh__hamburger[aria-expanded="true"] .header-refresh__close-icon { display: flex; }
.header-refresh__search { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 16px; background: var(--white); }
.header-refresh__search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--hr-line); border-radius: 9px; background: var(--hr-soft); color: var(--hr-ink); font-size: 16px; line-height: 1.4; }
.header-refresh__search input::placeholder { color: var(--hr-muted); }
.header-refresh.is-enhanced .header-refresh__search { position: absolute; top: calc(100% + 8px); right: 0; width: 440px; max-width: 100%; box-shadow: 0 4px 20px #00000014; }
.header-refresh.is-enhanced .header-refresh__search:not(.is-open) { display: none; }
.header-refresh__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.header-refresh-backdrop { display: none; }
html.header-refresh-menu-open { overflow: hidden; overscroll-behavior: none; }
@media (min-width:1024px) {
  /* Keep Safari from retaining the absolute panel's paint after details closes. */
  .header-refresh__panel { transform: translateZ(0); }
  /* Match the circle's right inset to its 16.5px vertical inset in the 77px row. */
  .header-refresh__tools { padding-right: 8.5px; }
}
@media (min-width:1024px) and (max-width:1399px) {
  .header-refresh__navigation { gap: 18px; }
}
@media (min-width:1024px) and (max-width:1199px) {
  .header-refresh__row { grid-template-columns: 184px minmax(0,1fr) 56px; }
  .header-refresh__navigation { gap: 8px; }
}
@media (max-width:1023px) {
  .header-refresh-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(0,0,0,.3); touch-action: none; }
  .header-refresh.has-mobile-menu { z-index: 1041; }
  .header-refresh { --hr-menu-top: 38px; }
  .header-refresh-topbar__inner { min-height: 34px; gap: 12px; padding: 4px 30px; }
  .header-refresh-topbar__links { display: none; }
  .header-refresh__row { grid-template-columns: 1fr auto; grid-template-areas: 'brand tools' 'nav nav'; padding: 0 14px 0 24px; gap: 0 12px; background: var(--white); }
  .header-refresh.is-enhanced .header-refresh__row { grid-template-areas: 'brand tools'; }
  .header-refresh__brand { grid-area: brand; padding: 0; }
  .header-refresh__tools { grid-area: tools; }
  .header-refresh__hamburger { display: flex; }
  .header-refresh__navigation { grid-area: nav; display: block; width: 100%; padding: 12px 0; }
  .header-refresh.is-enhanced .header-refresh__navigation { grid-area: auto; position: absolute; top: calc(100% + 8px); left: 0; right: 0; width: auto; padding: 10px 20px 16px; border-radius: 24px; background: var(--white); box-shadow: 0 4px 20px #00000014; max-height: calc(100vh - var(--hr-menu-top) - 101px); max-height: calc(100dvh - var(--hr-menu-top) - 101px); overflow-y: auto; overscroll-behavior: contain; }
  .header-refresh.is-enhanced .header-refresh__navigation:not(.is-open) { display: none; }
  .header-refresh__dropdown { display: block; }
  .header-refresh__root-link { margin-right: 48px; }
  .header-refresh__disclosure>.header-refresh__toggle { position: absolute; top: 0; right: 0; min-width: 48px; min-height: 54px; justify-content: center; border-radius: 8px; }
  .header-refresh__toggle:hover { background: var(--hr-soft); }
  .header-refresh__dropdown,.header-refresh__link { border-bottom: 1px solid var(--hr-line); }
  .header-refresh__disclosure[open]::after { display: none; }
  .header-refresh__summary { justify-content: space-between; min-height: 54px; font-size: 16px; white-space: normal; gap: 10px; }
  .header-refresh__panel { position: static; width: auto; grid-template-columns: 1fr 1fr; gap: 18px; padding: 8px 0 18px; border-radius: 0; box-shadow: none; max-height: none; overflow: visible; }
  .header-refresh__panel--single,.header-refresh__panel--sections { grid-template-columns: 1fr; }
  .header-refresh__group-summary { display: flex; min-height: 44px; margin-bottom: 0; border-radius: 8px; }
  .header-refresh__group-heading { display: none; }
  .header-refresh__group .header-refresh__group-overview--mobile { display: flex; }
  .header-refresh__group-summary h2 { color: var(--hr-ink); font-size: 14px; }
  .header-refresh__group-summary:hover { background: var(--hr-soft); }
  .header-refresh__group h2 { font-size: 12px; }
  .header-refresh__panel-footer { padding-top: 8px; gap: 0 24px; align-items: flex-start; }
  .header-refresh__mobile-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px; padding: 12px 0 0; }
  .header-refresh__mobile-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; border-radius: 8px; }
}
@media (max-width:479px) {
  .header-refresh__panel { grid-template-columns: 1fr; }
}
@media (max-width:359px) { .header-refresh__row { padding-left: 16px; } }
@media (prefers-reduced-motion:reduce) { .header-refresh__summary>.header-refresh__icon { transition: none; } }

/* Shared page intro: content-width heading and original controls, without a decorative panel. */
.page-header-refresh { padding-top: 8px; }
.page-header--plain { padding: 16px 0; border: 0; background: transparent; }
.page-header--plain::before { content: none; }
.page-header--plain .page-header__inner { width: 100%; margin-right: auto; margin-left: auto; }
.page-header--plain .page-header-title { margin-top: 0; }
.page-header--plain>.breadcrumb { padding: 0; margin-bottom: 16px; background: transparent; }
.page-header--plain>.breadcrumb>.container { max-width: none; padding: 0; }

/* Premium and app keep their original artwork and content in an independent hero box. */
.hero-refresh { padding-top: 8px; padding-bottom: 24px; }
.hero-refresh__box { border-radius: 20px; overflow: hidden; }
.hero-refresh__inner { box-sizing: border-box; width: 100%; margin-right: auto; margin-left: auto; padding-right: 32px; padding-left: 32px; }
.hero-refresh__actions { flex-wrap: wrap; row-gap: 12px; }
.hero-refresh__box .mobile-app-hero-badge--2 { right: -10%; }
@media (max-width:767px) {
  .hero-refresh__box { border-radius: 16px; }
  .hero-refresh__inner { padding-right: 20px; padding-left: 20px; }
  .hero-refresh__box .mobile-app-hero-copy h1 { font-size: clamp(2rem,9vw,2.5rem); }
}
