.site-header.header-concept {
  grid-template-columns: minmax(220px, 1fr) auto auto;
  grid-template-areas: "brand contacts tools";
  gap: clamp(16px, 2vw, 32px);
  padding: 24px clamp(24px, 2.8vw, 40px);
  color: #1f2936;
}
.header-concept .brand { grid-area: brand; margin: 0; width: min(100%, 383px); }
.header-concept .contacts { grid-area: contacts; }
.header-tools { grid-area: tools; display: flex; align-items: center; gap: 14px; }
.header-concept .menu { position: relative; grid-area: auto; }
.header-account { display: flex; align-items: center; gap: 4px; }
.header-action {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 46px; min-height: 46px; padding: 9px; border: 0; border-radius: 14px;
  color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.header-action > svg { display: block; width: 27px; height: 27px; flex-shrink: 0; transition: transform 160ms cubic-bezier(.2,.8,.2,1); }
.header-action-label { display: none; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.header-cart-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; background: #b60718; color: #fff; font-size: 10px; line-height: 18px; font-weight: 700; text-align: center; }
.header-cart-count[hidden] { display: none; }
.header-inline .header-account { padding-left: 20px; border-left: 1px solid #1f293626; }
.header-capsule .header-account { padding: 6px; gap: 6px; background: #ffffffb3; border-radius: 22px; box-shadow: 0 2px 8px #1f293605; }
.header-capsule .header-action-cart { color: #fff; background: linear-gradient(110deg, #087f9c, #4d63d4); box-shadow: 0 3px 8px #297cb314; }
.site-header.header-center { grid-template-columns: minmax(0,1fr) minmax(250px,340px) minmax(0,1fr); grid-template-areas: "contacts brand tools"; }
.header-center .brand { justify-self: center; }
.header-center .header-tools { justify-self: end; gap: 12px; }
.header-center .header-account { gap: 6px; }
.header-center .header-action { width: 64px; min-height: 66px; }
.header-center .header-action-label { display: block; }
.header-center .header-action > svg { width: 25px; height: 25px; }
@media (hover:hover) and (pointer:fine) {
  .header-action:hover { background-color: #dde5ed; }
  .header-action:hover > svg { transform: scale(1.1); }
  .header-capsule .header-action-cart:hover { filter: brightness(1.08); }
}
.header-action:focus-visible > svg { transform: scale(1.1); }
.header-action:active > svg { transform: scale(.95); transition-duration: 80ms; }
.header-variant-switcher { width: calc(100% - clamp(10px,2.2vw,32px)*2); max-width: 1600px; margin: 16px auto 0; display: flex; align-items: center; gap: 20px; padding-inline: 8px; font-size: 12px; }
.header-variant-switcher nav { display: flex; gap: 5px; }
.header-variant-switcher nav a { padding: 9px 12px; border-radius: 10px; color: #6b7885; }
.header-variant-switcher nav a[aria-current] { background: #eaf0f6; color: #1f2936; font-weight: 700; }
.header-back { color: #356e95; }
.header-preview-note { margin-left: auto; color: #89929c; }
.header-comparison-main { width: calc(100% - 64px); max-width: 1380px; margin: 44px auto; }
.header-comparison-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 46px; }
.header-kicker { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #718294; }
.header-comparison-heading h1 { margin: 0 0 12px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.header-comparison-heading p:not(.header-kicker) { margin: 0; color: #72808e; font-size: 14px; }
.header-original-link { flex-shrink: 0; color: #456d91; font-size: 13px; padding-block: 10px; }
.header-example { margin-bottom: 34px; }
.header-example-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 6px; margin-bottom: 13px; }
.header-example-name { display: flex; align-items: center; gap: 12px; }
.header-example-name > span { color: #8a97a4; font-size: 12px; letter-spacing: .04em; }
.header-example-name h2 { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 650; }
.header-example-name small { padding: 5px 9px; border-radius: 8px; background: #eaf4f6; color: #367987; font-size: 10px; font-weight: 600; }
.header-example-open { font-size: 12px; color: #367294; padding: 8px 11px; border-radius: 9px; background: #f4f7fa; flex-shrink: 0; }
.header-example-open span { margin-left: 12px; }
.header-comparison .header-concept { width: 100%; min-height: 124px; border-radius: 28px; }
.header-example-note { padding: 0 6px; margin: 11px 0 0; color: #7d8894; font-size: 12px; }
.header-comparison-footer { color: #85909b; font-size: 12px; line-height: 1.8; margin: 40px 6px 0; }
.header-demo-dialog { position: fixed; margin: auto; width: min(430px,calc(100% - 28px)); max-height: calc(100dvh - 28px); border: 0; border-radius: 32px; padding: 48px 32px 34px; background: #eff3f7; color: #1f2936; box-shadow: 0 24px 80px #1f293626; }
.header-demo-dialog::backdrop { background: #1f293642; backdrop-filter: blur(3px); }
.header-demo-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 20px; display: grid; place-items: center; border: 0; background: linear-gradient(135deg,#e5e9ee,#e8e2f0); color: inherit; cursor: pointer; }
.header-demo-close:hover { background: linear-gradient(135deg,#dbe1e8,#dbd2e9); }
.header-demo-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #fff9; margin-bottom: 22px; }
.header-demo-icon svg { width: 29px; height: 29px; }
.header-demo-eyebrow { font-size: 10px; letter-spacing: .1em; color: #7b8794; font-weight: 700; }
.header-demo-dialog h2 { margin: 8px 0 14px; font-size: 25px; }
.header-demo-dialog #header-demo-description { font-size: 14px; line-height: 1.65; margin: 0; }
.header-demo-link { display: inline-block; margin-top: 22px; font-size: 14px; color: #1c7796; font-weight: 600; }
.header-demo-link[hidden] { display: none; }
body:has(.header-demo-dialog[open]) { overflow: hidden; }
@media (max-width: 1050px) and (min-width: 761px) {
  .site-header.header-concept { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "brand contacts" "brand tools"; row-gap: 8px; padding: 20px 24px; }
  .header-concept .brand { max-width: 340px; }
  .header-concept .contacts, .header-concept .header-tools { justify-self: end; }
  .header-inline .header-account { border: 0; padding-left: 0; }
  .header-center .header-action { min-height: 62px; }
}
@media (max-width: 760px) {
  .site-header.header-concept { grid-template-columns: minmax(0,1fr) 44px; grid-template-areas: "brand brand" "contacts menu" "account account"; gap: 12px; padding: 20px 18px 16px; min-height: 0; border-radius: 0 0 28px 28px; }
  .header-concept .brand { grid-area: brand; justify-self: center; width: min(100%,340px); margin: 0 0 4px; }
  .header-concept .contacts { grid-area: contacts; justify-self: start; }
  .header-concept .header-tools { display: contents; }
  .header-concept .menu { grid-area: menu; position: static; }
  .header-concept .menu-panel { top: calc(100% + 8px); width: 100%; right: 0; }
  .header-concept .header-account { grid-area: account; justify-self: stretch; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 14px 0 0; border: 0; border-top: 1px solid #1f293617; }
  .header-concept .header-action { width: 100%; min-height: 60px; padding: 6px; gap: 7px; }
  .header-concept .header-action > svg { width: 25px; height: 25px; }
  .header-concept .header-action-label { display: block; font-size: 11px; }
  .header-capsule .header-account { padding: 6px; border: 0; border-radius: 21px; }
  .header-capsule .header-action { border-radius: 15px; }
  .header-center .header-account { gap: 7px; border: 0; padding: 0; }
  .header-center .header-action { background: #ffffff80; border-radius: 16px; }
  .header-variant-switcher { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .header-variant-switcher nav { flex: 1; justify-content: end; }
  .header-variant-switcher nav a { padding: 8px 10px; }
  .header-variant-switcher nav a span, .header-preview-note { display: none; }
  .header-comparison-main { width: calc(100% - 20px); margin: 28px auto; }
  .header-comparison-heading { display: block; margin: 0 8px 32px; }
  .header-comparison-heading h1 { font-size: 26px; }
  .header-original-link { display: inline-block; margin-top: 12px; }
  .header-example { margin-bottom: 32px; }
  .header-example-name { flex-wrap: wrap; column-gap: 8px; row-gap: 4px; }
  .header-example-name h2 { font-size: 15px; }
  .header-example-name small { display: none; }
  .header-example-open { font-size: 11px; padding: 8px; }
  .header-example-open span { margin-left: 3px; }
  .header-example-note { line-height: 1.6; }
  .header-comparison .header-concept { border-radius: 26px; }
}
@media (prefers-reduced-motion:reduce) {
  .header-action, .header-action > svg { transition: none; transform: none !important; }
}
