/* ─── ZOET Protein Fantasy chrome: ONE source for the site AND the shop ────
   The navbar and footer are the shared BrandNavbar / BrandFooter on both
   zoetprotein.ordexa.rs and the marketplace shop. This file styles them, and
   both load it: the site through _document.tsx, the shop through
   marketplace.branding.chromeCssUrls (provision-zoet-protein.ts). Change it
   here and the two headers stay identical. Literal colours on purpose: the
   shop has the theme map, not this site's palette tokens. */

/* Bar height = the site's tall bar (64px phone / 80px desktop); the shop's
   sticky category slider reads these to sit flush under it. */
:root {
  --shop-nav-h: 64px;
  --shop-nav-h-lg: 80px;
}
nav[data-scroll-offset] .h-12 {
  height: 64px;
}
nav[data-scroll-offset] .h-14 {
  height: 80px;
}
/* No SR/EN utility strip: the site has none. */
div:has(+ nav[data-scroll-offset]) {
  display: none;
}
nav[data-scroll-offset] {
  background: #faf7f2;
  border-bottom: 2px solid #111111 !important;
  font-family: var(--font-sans), 'Courier New', monospace;
}

/* Logo: the round seal, square, by width. */
nav[data-scroll-offset] a[aria-label='ZOET Protein Fantasy'] {
  width: 52px;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] a[aria-label='ZOET Protein Fantasy'] {
    width: 66px;
  }
}

/* Links: ink typewriter, a raspberry underline when active. */
nav[data-scroll-offset] .ow-nav-link {
  font-size: 16px;
  color: #111111;
  position: relative;
  padding-block: 6px;
  font-weight: 400;
}
nav[data-scroll-offset] .ow-nav-link:hover {
  color: #b3123a;
}
nav[data-scroll-offset] .ow-nav-link.text-foreground,
nav[data-scroll-offset] .ow-nav-link[aria-current='page'] {
  color: #111111;
  font-weight: 700;
}
nav[data-scroll-offset] .ow-nav-link.text-foreground::after,
nav[data-scroll-offset] .ow-nav-link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: #b3123a;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] > div:first-child > div:last-child {
    gap: 40px;
  }
}

/* "Prijavi se": quiet underlined text, secondary to ordering. */
nav[data-scroll-offset] .ow-auth-entry {
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  color: #111111;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}
nav[data-scroll-offset] .ow-auth-entry:hover {
  background: transparent;
  border-color: transparent;
  color: #b3123a;
}
@media (max-width: 1023px) {
  nav[data-scroll-offset] .ow-auth-entry {
    padding-inline: 8px;
    color: #5e5a54;
  }
}
nav[data-scroll-offset] button {
  color: #111111;
}

/* Footer: ink with the label white (BrandFooter paints night + milk). */
footer {
  --color-night: #111111;
  --color-milk: #faf7f2;
  --primary: #b3123a;
  font-family: var(--font-sans), 'Courier New', monospace;
}
footer a[aria-label='ZOET Protein Fantasy'] {
  width: auto;
}
footer a[aria-label='ZOET Protein Fantasy'] img {
  width: 96px;
  height: auto;
}

/* No accent strip on top of the footer: the last section's rule meets the
   ink directly. */
footer > div:first-child {
  display: none;
}
