/* ─── Groot Gyros chrome: ONE source for the site AND the shop ─────────────
   The navbar and footer are the shared BrandNavbar / BrandFooter on both
   groot.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-groot.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: #120a06;
  border-bottom: 1px solid #36271b !important;
}

/* Logo: the GROOT / GYROS wordmark, light lettering on the dark bar. */
nav[data-scroll-offset] a[aria-label='Groot Gyros'] {
  width: 96px;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] a[aria-label='Groot Gyros'] {
    width: 116px;
  }
}

/* Links: the standard Ordexa nav - ink, the orange with an underline when
   active. */
nav[data-scroll-offset] .ow-nav-link {
  font-size: 15px;
  color: #f5ecdd;
  position: relative;
  padding-block: 6px;
}
nav[data-scroll-offset] .ow-nav-link:hover {
  color: #f2a12e;
}
nav[data-scroll-offset] .ow-nav-link.text-foreground,
nav[data-scroll-offset] .ow-nav-link[aria-current='page'] {
  color: #f5ecdd;
  font-weight: 600;
}
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: #f2a12e;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] > div:first-child > div:last-child {
    gap: 40px;
  }
}

/* "Prijavi se": the orange pill, as on the mockup. */
nav[data-scroll-offset] .ow-auth-entry {
  border-color: #f2a12e;
  background: #f2a12e;
  color: #1a120b;
  font-weight: 600;
}
nav[data-scroll-offset] .ow-auth-entry:hover {
  background: #f7b655;
  border-color: #f7b655;
  color: #1a120b;
}
/* Mobile menu toggle and sheet on the dark bar. */
nav[data-scroll-offset] button {
  color: #f5ecdd;
}

/* Footer: dark, one step up from the page (BrandFooter paints night + milk). */
footer {
  --color-night: #1d130c;
  --color-milk: #f5ecdd;
  --primary: #f2a12e;
  border-top: 1px solid #36271b;
}
footer a[aria-label='Groot Gyros'] {
  width: auto;
}
footer a[aria-label='Groot Gyros'] img {
  width: 120px;
  height: auto;
}
