/* Open text navigation. Keep the router's marker geometry and scroll ownership. */
body .catalog-nav.shell > div {
  width: min(720px, 100%);
  margin-inline: auto;
  gap: clamp(16px, 3vw, 34px);
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scroll-padding-inline: 8px;
}
body .catalog-nav.shell a {
  --nav-label-size: 14px;
  flex: 1 0 120px;
  min-width: 0;
  min-height: 50px;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: var(--nav-label-size);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .005em;
  color: #785868;
  text-shadow: none;
  transition: color .3s ease;
}
body .catalog-nav.shell a[aria-current="page"],
body .catalog-nav.shell > .has-selection a[aria-current="page"],
body .catalog-nav.shell a:hover,
body .catalog-nav.shell > .has-selection a:hover {
  color: #633b50;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}
/* Navigation labels retain fixed metrics through hover, focus and selection. */
body .catalog-nav.shell a:focus-visible {
  outline: 2px solid #a66e88;
  outline-offset: -5px;
}
body .catalog-nav.shell .catalog-nav-selection {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body .catalog-nav.shell .catalog-nav-selection::after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 4px;
  height: 1.5px;
  border-radius: 1px;
  background: #a16885;
  box-shadow: none;
}
body .catalog-nav.shell > div:not(.has-selection) a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 4px;
  height: 1.5px;
  background: #a16885;
}

/* The smaller cake collections use the same quiet, clearly selected language. */
.bakery-gallery .gallery-filters {
  gap: 22px;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bakery-gallery .gallery-filters button {
  position: relative;
  min-height: 48px;
  padding: 10px 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #826070;
  font-size: 13px;
  font-weight: 600;
  text-shadow: none;
  transition: color .4s ease;
}
.bakery-gallery .gallery-filters button::after {
  content: '';
  position: absolute;
  inset: auto 8% 4px;
  height: 1.5px;
  background: #a16885;
  transform: scaleX(.3);
  opacity: 0;
  transition: opacity .45s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.bakery-gallery .gallery-filters button[aria-pressed="true"] {
  color: #633b50;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.bakery-gallery .gallery-filters button[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.bakery-gallery .gallery-filters button:focus-visible {
  outline: 2px solid #a66e88;
  outline-offset: 1px;
}
@media (max-width: 700px) {
  body .catalog-nav.shell > div { width: 100%; gap: 8px; }
  body .catalog-nav.shell a { --nav-label-size: 12px; flex: 1 1 0; padding-inline: 0; white-space: nowrap; }
  .bakery-gallery .gallery-filters { gap: 20px; }
  .bakery-gallery .gallery-filters button { font-size: 12px; padding-inline: 3px; }
}
@media (max-width: 359px) {
  body .catalog-nav.shell > div { gap: 6px; }
  body .catalog-nav.shell a { --nav-label-size: 10.5px; }
  .bakery-gallery .gallery-filters { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body .catalog-nav.shell a,
  .bakery-gallery .gallery-filters button,
  .bakery-gallery .gallery-filters button::after { transition: none; }
  body .catalog-nav.shell a:hover { font-size: var(--nav-label-size); letter-spacing: .005em; }
}
