/* ─── La Foca chrome: ONE source for the site AND the shop ─────────────────
   The navbar and footer are the shared BrandNavbar / BrandFooter on both
   lafoca.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-lafoca.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;
}
/* The bar is the hero's peach, one hairline under it. */
nav[data-scroll-offset] {
  background: #eccdb3;
  border-bottom: 1px solid #dcb99c !important;
}

/* Logo: their horizontal logo from lafoca.rs (bands + wordmark). */
nav[data-scroll-offset] a[aria-label='La Foca'] {
  width: 132px;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] a[aria-label='La Foca'] {
    width: 176px;
  }
}

/* Links: deep green, tomato underline when active. */
nav[data-scroll-offset] .ow-nav-link {
  font-size: 15px;
  color: #091e0a;
  position: relative;
  padding-block: 6px;
}
nav[data-scroll-offset] .ow-nav-link:hover {
  color: #e04a20;
}
nav[data-scroll-offset] .ow-nav-link.text-foreground,
nav[data-scroll-offset] .ow-nav-link[aria-current='page'] {
  color: #091e0a;
  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: 2px;
  border-radius: 2px;
  background: #e04a20;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] > div:first-child > div:last-child {
    gap: 40px;
  }
}

/* "Prijavi se": quiet, a text link in deep green. */
nav[data-scroll-offset] .ow-auth-entry {
  white-space: nowrap;
  border-color: transparent;
  background: transparent;
  color: #091e0a;
  font-weight: 600;
}
nav[data-scroll-offset] .ow-auth-entry:hover {
  background: rgba(9, 30, 10, 0.06);
  border-color: transparent;
  color: #091e0a;
}
/* Mobile menu toggle on the peach bar. */
nav[data-scroll-offset] button {
  color: #091e0a;
}

/* Footer: deep green with cream text (BrandFooter paints night + milk). */
footer {
  --color-night: #091e0a;
  --color-milk: #f4eddf;
  --primary: #ef5329;
}
footer a[aria-label='La Foca'] {
  width: auto;
}
footer a[aria-label='La Foca'] img {
  width: 190px;
  height: auto;
}
