/* Stable global navigation; section links are a separate, contextual level. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
/* Keep a fully painted outgoing page behind the incoming one. No white dip. */
::view-transition-group(root), ::view-transition-group(site-header) { animation: none; }
::view-transition-old(root) { animation: none; opacity: 1; mix-blend-mode: normal; }
::view-transition-new(root) { animation: talerum-page-enter .22s ease both; mix-blend-mode: normal; }
::view-transition-old(site-header) { animation: none; opacity: 0; }
::view-transition-new(site-header) { animation: none; opacity: 1; mix-blend-mode: normal; }
@keyframes talerum-page-enter { from { opacity: 0; } to { opacity: 1; } }

/* The page transition owns first-paint motion; don't fade the hero a second time. */
.hero-copy h1, .hero-copy > p, .hero-actions, .hero-note, .hero-media { animation: none; }
.product-panel:not([hidden]) { animation: none; }
.product-panel.is-user-selected:not([hidden]) { animation: productPanelIn .42s cubic-bezier(.22,.61,.36,1) both; }

.site-global-header .header-inner { height: 88px; }
.site-global-header .brand img { width: 162px; }
.site-global-header .desktop-nav { margin-right: 0; gap: 28px; }
.site-global-header .desktop-nav > a[aria-current="page"] { color: var(--brand-text); }
.site-global-header .desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.site-global-cta { margin-left: 12px; }
.site-section-nav { background: #fcfaf8; border-bottom: 1px solid var(--line); }
.site-section-nav > .container { display: flex; align-items: center; gap: 27px; min-width: 0; }
.site-section-label { flex: none; padding-right: 25px; border-right: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-section-links { display: flex; gap: 27px; align-items: center; overflow-x: auto; min-width: 0; }
.site-section-links a { flex: none; padding: 15px 2px; font-size: 12px; line-height: 1.6; color: #5f5954; white-space: nowrap; }
.site-section-links a:hover, .site-section-links a[aria-current="location"] { color: var(--brand-text); }
.site-section-links a:focus-visible { outline-offset: -2px; }
.site-mobile-cta { color: var(--brand-text); font-weight: 600; }
@media (min-width: 951px) and (max-width: 1100px) {
  .site-global-header .header-inner { gap: 20px; }
  .site-global-header .brand img { width: 140px; }
  .site-global-header .desktop-nav { gap: 20px; }
  .site-global-header .header-cta { margin-left: 0; padding-inline: 12px; gap: 8px; font-size: 11px; }
}
@media (max-width: 950px) {
  .site-global-header .header-inner { height: 76px; }
  .site-global-header .desktop-nav { display: none; }
  .site-global-header .header-cta { display: none; }
  .site-global-header .menu-toggle { display: inline-grid; margin-left: auto; }
  .site-section-nav > .container { gap: 16px; }
  .site-section-label { padding-right: 16px; font-size: 10px; }
  .site-section-links { gap: 21px; }
  .site-section-links a { padding-block: 13px; font-size: 11px; }
}
@media (max-width: 680px) {
  .site-global-header .header-inner { height: 71px; }
  .site-global-header .brand img { width: 136px; }
}

.site-header .header-inner { position: relative; }
.site-product-menu > summary {
  display: flex; align-items: center; gap: 7px; padding-block: 12px;
  list-style: none; cursor: pointer; color: #5f5954; font-size: 13px;
}
.site-product-menu > summary::-webkit-details-marker { display: none; }
.site-product-menu > summary:hover, .site-product-menu[open] > summary { color: var(--brand-text); }
.site-product-menu > summary > svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .16s ease;
}
.site-product-menu[open] > summary > svg { transform: rotate(180deg); }
.site-product-panel {
  position: absolute; top: calc(100% - 5px); right: 0; z-index: 2;
  width: min(920px, calc(100vw - var(--gutter) * 2));
  max-height: calc(100svh - 108px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #e6dcd3; border-radius: 12px; padding: 26px 30px 28px;
  background: #fff; box-shadow: 0 18px 45px -20px #39261838;
  animation: product-menu-appear .16s ease-out both;
}
.site-product-overview {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: 20px; margin-bottom: 23px; border-bottom: 1px solid var(--line);
}
.site-header .site-product-overview > a {
  padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.site-header .site-product-overview > a:last-child { color: var(--brand-text); font-size: 12px; font-weight: 500; }
.site-product-groups { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 30px; }
.site-product-group > p {
  color: #88766a; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.6; margin-bottom: 12px;
}
.site-product-group ul { margin: 0; padding: 0; list-style: none; }
.site-header .site-product-group a {
  display: block; padding: 8px 9px; margin-inline: -9px;
  font-size: 13px; line-height: 1.55; color: #3e3731; border-radius: 5px;
}
.site-header .site-product-panel a::after { content: none; }
.site-header .site-product-panel a[aria-current="page"] { color: var(--brand-text); border-bottom: 0; }
.site-header .site-product-group a:hover,
.site-header .site-product-group a[aria-current="page"] { background: #fff3ea; color: var(--brand-text); }
.site-product-panel a:focus-visible { outline-offset: 1px; }
@keyframes product-menu-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 950px) {
  .site-header .mobile-menu { max-height: calc(100svh - 82px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu .site-product-menu > summary { justify-content: space-between; padding-block: 13px; font-size: 15px; color: var(--ink); }
  .mobile-menu .site-product-panel {
    position: static; width: 100%; max-height: none; overflow: visible;
    margin: 0 0 14px; padding: 20px; border-radius: 8px; box-shadow: none; background: #fcfaf7;
  }
  .mobile-menu .site-product-overview { flex-wrap: wrap; gap: 10px 25px; margin-bottom: 20px; padding-bottom: 17px; }
  .mobile-menu .site-product-groups { grid-template-columns: 1fr 1fr; gap: 25px; }
  .mobile-menu .site-product-group a { padding-block: 9px; font-size: 14px; }
}
@media (max-width: 600px) {
  .mobile-menu .site-product-groups { grid-template-columns: 1fr; gap: 22px; }
  .mobile-menu .site-product-overview { display: grid; gap: 12px; }
  .mobile-menu .site-product-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root),
  ::view-transition-group(site-header),
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
  .site-product-panel { animation: none; }
  .product-panel.is-user-selected:not([hidden]) { animation: none; }
  .site-product-menu > summary > svg { transition: none; }
}

