/* One opaque Graphite masthead. Only the preview header is in this scope. */
.inside-header.mc-header {
  position: relative; z-index: 200; width: 100%;
  background: #f4efe9; color: #1c1714; border-bottom: 1px solid #d8cabe;
  font: 500 13px/1.5 Manrope, system-ui, sans-serif;
}
.mc-header .mc-nav-row {
  width: min(1440px, calc(100% - 48px)); min-height: 88px; padding: 0;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 24px;
}
.mc-header .mc-nav-brand { margin: 0 auto 0 0; gap: 10px; }
.mc-header .mc-nav-brand img { width: 58px; height: 46px; object-fit: contain; }
.mc-header .mc-nav-brand > span { color: #1c1714; font-size: 10px; line-height: 1.5; letter-spacing: .1em; }
.mc-header .mc-nav {
  display: flex; align-items: center; gap: 18px; width: auto; padding: 0;
  border: 0; overflow: visible; background: #f4efe9; color: #1c1714;
}
.mc-header .mc-nav-item { position: relative; border: 0; }
.mc-header .mc-nav-item > summary,
.mc-header .mc-nav-contact {
  display: flex; gap: 6px; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 0; white-space: nowrap;
  font: 500 13px/1.5 Manrope, system-ui, sans-serif; color: #1c1714;
}
.mc-header summary { cursor: pointer; list-style: none; }
.mc-header summary::-webkit-details-marker { display: none; }
.mc-header summary::after { display: none; }
.mc-header summary > svg { width: 14px; height: 14px; flex: 0 0 14px; }
.mc-header details[open] > summary > svg { transform: rotate(180deg); }
.mc-header .mc-nav :is(a, summary):is(:hover, :focus-visible),
.mc-header .mc-nav .is-active > summary,
.mc-header .mc-nav a[aria-current="page"] { color: #a84a1a; }
.mc-header :is(a, summary, button):focus-visible { outline: 2px solid #a84a1a; outline-offset: 3px; }
.mc-header .mc-nav-panel {
  position: absolute; top: calc(100% + 4px); left: -18px; z-index: 1;
  display: grid; gap: 0; width: 310px; min-width: 0; max-width: calc(100vw - 48px);
  max-height: min(720px, calc(100dvh - 140px)); overflow-y: auto;
  padding: 14px; border: 1px solid #d8cabe; border-radius: 6px;
  background: #f4efe9; color: #1c1714; opacity: 1;
  box-shadow: 0 16px 32px #1c17141a; backdrop-filter: none;
  scrollbar-color: #aa9787 #ebe1d6; scrollbar-width: thin;
}
.mc-header .mc-nav-item:nth-last-of-type(-n+2) > .mc-nav-panel { left: auto; right: -16px; }
.mc-header .mc-nav-panel .mc-nav-link {
  display: flex; align-items: center; min-height: 44px; margin: 0; padding: 10px 12px;
  border: 0; border-radius: 3px; color: #1c1714; font-size: 13px; line-height: 1.5;
  white-space: normal; text-decoration: none; text-underline-offset: 4px;
}
.mc-header .mc-nav-panel .mc-nav-link:is(:hover, :focus-visible, [aria-current="page"]) { color: #a84a1a; background: #ebe1d6; }
.mc-header .mc-nav-catalog > .mc-nav-panel { width: 680px; }
.mc-header .mc-nav-quick { display: flex; gap: 4px; padding: 0 0 12px; border-bottom: 1px solid #d8cabe; }
.mc-header .mc-nav-quick .mc-nav-link { flex: 1; padding-inline: 10px; }
.mc-header .mc-nav-catalog-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 12px; }
.mc-header .mc-nav-category { position: static; min-width: 0; }
.mc-header .mc-nav-category > summary { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 12px; color: #1c1714; font-weight: 700; }
.mc-header .mc-nav-category-links { padding: 0; }
.mc-header .mc-nav-category-links .mc-nav-overview { color: #6f665e; }
.mc-header .mc-nav-category-links .mc-nav-embossing { margin-top: 6px; padding-top: 15px; border-top: 1px solid #d8cabe; border-radius: 0; }
.mc-header .mc-nav-actions { gap: 8px; flex: 0 0 auto; }
.mc-header .mc-nav-search, .mc-header .mc-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
  width: 44px; height: 44px; padding: 0; border: 1px solid #d8cabe; border-radius: 6px;
  background: transparent; color: #1c1714; cursor: pointer;
}
.mc-header .mc-nav-search svg, .mc-header .mc-nav-toggle svg { width: 21px; height: 21px; }
.mc-header .mc-nav-toggle { display: none; }
.mc-header .mc-nav-close-icon { display: none; }
.mc-header .mc-nav-toggle[aria-expanded="true"] .mc-nav-menu-icon { display: none; }
.mc-header .mc-nav-toggle[aria-expanded="true"] .mc-nav-close-icon { display: block; }
.mc-header .mc-nav-search:hover, .mc-header .mc-nav-toggle:hover { background: #ebe1d6; color: #a84a1a; }
.mc-header .mc-nav .mc-nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 46px; margin-left: 4px; padding: 11px 16px;
  border: 0; border-radius: 3px; background: #e2703a; color: #1c1714;
  font: 600 13px/1.5 Manrope, system-ui, sans-serif; white-space: nowrap;
}
.mc-header .mc-nav .mc-nav-cta:hover { background: #ee905e; color: #1c1714; }
.mc-header .mc-nav-cta svg { width: 15px; height: 15px; flex: 0 0 15px; }
@media (min-width: 1201px) {
  .mc-header .mc-nav-category > summary { cursor: default; pointer-events: none; }
  .mc-header .mc-nav-category > summary > svg { display: none; }
}
@media (max-width: 1200px) {
  .inside-header.mc-header { position: sticky; top: 0; z-index: 200; }
  .mc-header .mc-nav-row { width: calc(100% - 40px); min-height: 72px; gap: 14px; flex-wrap: nowrap; }
  .mc-header .mc-nav-brand img { width: 50px; height: 42px; }
  .mc-header .mc-nav-toggle { display: inline-flex; }
  .mc-header.nav-ready .mc-nav { display: none; }
  .mc-header.nav-ready.is-menu-open .mc-nav {
    position: fixed; top: var(--mc-menu-top, 72px); bottom: 0; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; max-height: calc(100dvh - var(--mc-menu-top, 72px));
    padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
    border-top: 1px solid #d8cabe; background: #f4efe9; color: #1c1714;
    box-shadow: 0 14px 24px #1c171414; animation: none;
    scrollbar-color: #aa9787 #ebe1d6; scrollbar-width: thin;
  }
  .mc-header .mc-nav > .mc-nav-item, .mc-header .mc-nav > .mc-nav-contact { flex: 0 0 auto; border-bottom: 1px solid #d8cabe; }
  .mc-header .mc-nav-item > summary, .mc-header .mc-nav-contact { min-height: 52px; padding: 12px 2px; font-size: 16px; }
  .mc-header .mc-nav-item > summary > svg { width: 18px; height: 18px; flex-basis: 18px; }
  .mc-header .mc-nav-panel, .mc-header .mc-nav-catalog > .mc-nav-panel,
  .mc-header .mc-nav-item:nth-last-of-type(-n+2) > .mc-nav-panel {
    position: static; width: 100%; max-width: none; max-height: none; overflow: visible;
    margin: 0; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none;
    background: #f4efe9; animation: none;
  }
  .mc-header .mc-nav-panel .mc-nav-link { min-height: 46px; padding: 11px 12px; font-size: 14px; }
  .mc-header .mc-nav-quick { flex-wrap: wrap; gap: 0; padding: 0 0 8px; margin-bottom: 4px; }
  .mc-header .mc-nav-quick .mc-nav-link { flex: 1 1 auto; min-height: 44px; padding-inline: 10px; white-space: nowrap; }
  .mc-header .mc-nav-catalog-groups { display: block; padding-top: 0; }
  .mc-header .mc-nav-category { border-bottom: 1px solid #d8cabe; }
  .mc-header .mc-nav-category:last-child { border-bottom: 0; }
  .mc-header .mc-nav-category > summary { min-height: 50px; padding: 12px; font-size: 14px; justify-content: space-between; }
  .mc-header .mc-nav-category-links { padding: 0 0 10px 8px; }
  .mc-header .mc-nav-category-links .mc-nav-link { padding-left: 16px; }
  .mc-header .mc-nav .mc-nav-cta { flex: 0 0 auto; min-height: 48px; margin: 8px 0 14px; align-self: flex-start; padding-inline: 20px; font-size: 15px; }
}
@media (max-width: 360px) {
  .mc-header .mc-nav-row { width: calc(100% - 32px); gap: 10px; }
  .mc-header .mc-nav-brand { gap: 8px; }
  .mc-header .mc-nav-brand > span { font-size: 9px; letter-spacing: .08em; }
  .mc-header .mc-nav-actions { gap: 6px; }
  .mc-header.nav-ready.is-menu-open .mc-nav { padding-inline: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .mc-header :is(a, button, summary) { transition: color 150ms ease, background-color 150ms ease; }
  .mc-header summary > svg { transition: transform 150ms ease; }
}
