/* ─── Kjuti chrome: ONE source for the site AND the shop ───────────────────
   The navbar and footer are the shared BrandNavbar / BrandFooter on both
   kjuti.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-kjuti.ts, once the site is
   live). 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;
}
/* Cream paper bar with a burgundy hairline, as on the mockup. */
nav[data-scroll-offset] {
  background: #f7f1de;
  border-bottom: 1px solid rgba(122, 30, 43, 0.35) !important;
}

/* Logo: their traced "Kjuti" (logo.svg), burgundy. */
nav[data-scroll-offset] a[aria-label='Kjuti'] {
  width: 78px;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] a[aria-label='Kjuti'] {
    width: 92px;
  }
}

/* Links: the standard Ordexa nav in the display serif, burgundy, a hairline
   under the active one. */
nav[data-scroll-offset] .ow-nav-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  color: #7a1e2b;
  position: relative;
  padding-block: 6px;
}
nav[data-scroll-offset] .ow-nav-link:hover {
  color: #9c3a45;
}
nav[data-scroll-offset] .ow-nav-link.text-foreground,
nav[data-scroll-offset] .ow-nav-link[aria-current='page'] {
  color: #7a1e2b;
}
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: -2px;
  height: 1px;
  background: #7a1e2b;
}
@media (min-width: 1024px) {
  nav[data-scroll-offset] > div:first-child > div:last-child {
    gap: 40px;
  }
}

/* "Prijavi se": the burgundy outline pill from the mockup's "Poruči". */
nav[data-scroll-offset] .ow-auth-entry {
  border-color: #7a1e2b;
  background: transparent;
  color: #7a1e2b;
}
nav[data-scroll-offset] .ow-auth-entry:hover {
  background: #7a1e2b;
  border-color: #7a1e2b;
  color: #fbf4e4;
}
/* Bare header buttons (menu toggle) in burgundy - not the account avatar:
   on the shop it is a button too, and burgundy initials vanished on its
   burgundy disc. */
nav[data-scroll-offset] button:not(.ow-auth-avatar) {
  color: #7a1e2b;
}
nav[data-scroll-offset] .ow-auth-avatar {
  background: #7a1e2b;
  color: #fbf4e4;
}

/* Footer: cream paper with burgundy type (BrandFooter paints night + milk),
   a hairline on top; a full burgundy block was too much red (owner,
   2026-10-08). */
footer {
  --color-night: #f7f1de;
  --color-milk: #7a1e2b;
  --primary: #7a1e2b;
  border-top: 1px solid rgba(122, 30, 43, 0.25);
}
/* BrandFooter dims its fine print to 65-70%; burgundy at 70% on this cream is
   4.39:1, under the 4.5:1 WCAG floor. 75% clears it (4.98:1); hover still
   lifts links to full strength (hover:opacity-100 outranks this). */
footer .opacity-65,
footer .opacity-70 {
  opacity: 0.75;
}
footer a[aria-label='Kjuti'] {
  width: auto;
}
footer a[aria-label='Kjuti'] img {
  width: 120px;
  height: auto;
}

