/* Floating island navigation. Loaded last so the page content can begin at the top
   and flow underneath the fixed, translucent header without reserving header space. */
:root {
  --site-header-height: 84px;
}

html {
  scroll-padding-top: 6.25rem;
}

body {
  padding-top: 0 !important;
}

.site-header {
  position: fixed;
  inset: .75rem auto auto 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  margin: 0;
  border: 1px solid rgb(26 59 40 / 15%);
  border-radius: 999px;
  background: rgb(247 245 240 / 90%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 34px rgb(26 59 40 / 16%);
  overflow: visible;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: max-content;
  max-width: 100%;
  min-height: 70px;
  padding: 0 .8rem 0 .65rem;
  gap: .7rem;
}

.site-header__brand {
  width: 128px;
  height: 64px;
}

.site-header__brand img {
  width: 120px;
  height: 62px;
  object-fit: contain;
}

.site-header__actions {
  gap: .7rem;
}

.site-header__links {
  gap: .9rem;
}

.site-header__links a {
  white-space: nowrap;
  font-size: .86rem;
}

.site-header__cta {
  min-height: 40px;
  padding: .65rem .95rem;
  font-size: .84rem;
  white-space: nowrap;
}

/* The hero's background/image now begins at viewport top, beneath the island. */
.home-page #home {
  height: auto !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
}

/* Keep breadcrumb text clear of the floating island without adding a global page gap. */
.blog-breadcrumb,
.ex-breadcrumb,
.process-breadcrumb,
.grade-breadcrumbs,
.guide-breadcrumb {
  padding-top: 5.5rem !important;
}

.origin-breadcrumbs {
  margin-top: 5.5rem !important;
}

@media (max-width: 900px) {
  :root { --site-header-height: 76px; }

  .site-header {
    inset: .6rem auto auto 50%;
    width: max-content;
    max-width: calc(100vw - 1rem);
    border-radius: 24px;
  }

  .site-header__inner {
    width: max-content;
    max-width: 100%;
    min-height: 64px;
    padding: 0 .65rem;
    gap: .45rem;
  }

  .site-header__brand {
    width: 108px;
    height: 60px;
  }

  .site-header__brand img {
    width: 102px;
    height: 58px;
  }

  .site-header__links { display: none; }
  .site-header__actions { gap: .4rem; }

  .site-header__cta {
    min-height: 38px;
    padding: .58rem .78rem;
    font-size: .8rem;
  }

  .site-header__toggle {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .site-header__mobile {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: rgb(247 245 240 / 94%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-radius: 0 0 22px 22px;
  }

  .site-header__mobile[data-open="true"] {
    display: block;
    border-top: 1px solid var(--makhanley-sand);
  }

  .site-header__mobile-links {
    gap: 0;
  }

  .home-page #home {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
  }
}

@media (max-width: 340px) {
  .site-header__brand { width: 80px; }
  .site-header__brand img { width: 76px; }
  .site-header__cta { padding-inline: .5rem; font-size: .72rem; }
  .site-header__toggle { flex-basis: 36px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}


/* Homepage hero spacing below the floating island */
.home-page #home > .z-10 {
  transform: translateY(1.25rem);
}

/* Page heads that no longer display visible breadcrumb rows */
.export-main .ex-hero {
  padding-top: 7rem;
}
.blog-page .blog-hero {
  padding-top: 7rem;
}

/* The bulk page begins at the viewport top beneath the floating island. */
.bulk-page #contact-information {
  padding-top: clamp(7rem, 9vw, 8rem) !important;
}

@media (max-width: 900px) {
  .bulk-page #contact-information {
    padding-top: 6rem !important;
  }
}

@media (max-width: 620px) {
  .home-page #home > .z-10 {
    transform: translateY(.75rem);
  }
  .export-main .ex-hero {
    padding-top: 6rem;
  }
  .blog-page .blog-hero {
    padding-top: 6rem;
  }
  .bulk-page #contact-information {
    padding-top: 5.5rem !important;
  }
}


/* Curved active-navigation flourish: a soft hand-drawn sweep, not a straight underline. */
.site-header__links a,
.site-header__mobile-links a {
  position: relative;
}
.site-header__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.48rem;
  width: min(68%, 3.65rem);
  height: .48rem;
  border-bottom: 2px solid #d5a66b;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%) rotate(-2.2deg);
  pointer-events: none;
}
.site-header__mobile-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .35rem;
  bottom: .38rem;
  width: 2.9rem;
  height: .42rem;
  border-bottom: 2px solid #d5a66b;
  border-radius: 50%;
  background: transparent;
  transform: rotate(-2.2deg);
  pointer-events: none;
}

/* Shared footer: brand, Business, Shop, and Contact. */
.site-footer__top {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 1080px) {
  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer__top,
  .site-footer--consumer .site-footer__top {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__column--contact a { overflow-wrap: anywhere; }


/* Shared blog-guide breadcrumb: Home icon > Blog > current article.
   Keep the same fixed-header clearance used by the How Makhana Is Made guide. */
.guide-breadcrumb {
  width: min(calc(100% - 2.5rem), 1240px);
  margin: 0 auto;
  padding-top: 5.5rem !important;
  color: #687168;
  font-size: .84rem;
  line-height: 1.5;
}
.guide-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-breadcrumb li { display: inline-flex; align-items: center; }
.guide-breadcrumb a { color: #1a3b28; text-decoration: underline; text-underline-offset: 3px; }
.guide-breadcrumb .breadcrumb-home a { display: inline-flex; width: 1.15rem; height: 1.15rem; align-items: center; justify-content: center; }
.guide-breadcrumb .breadcrumb-home svg { display: block; width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-breadcrumb .breadcrumb-separator { color: #9a9f94; }
.guide-breadcrumb .breadcrumb-separator svg { display: block; width: .78rem; height: .78rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-breadcrumb [aria-current="page"] { color: #687168; }


/* Desktop-only Shop shortcut: the mobile menu retains its text label. */
.site-header .site-header__shop {
  display: inline-flex !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgb(26 59 40 / 14%) !important;
  border-radius: 50% !important;
  background: rgb(232 227 217 / 88%) !important;
  color: var(--makhanley-green, #1a3b28) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease !important;
}
.site-header .site-header__shop svg {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.site-header .site-header__shop:hover {
  background: #ded3bf !important;
  color: var(--makhanley-green, #1a3b28) !important;
  transform: translateY(-1px) !important;
}
.site-header .site-header__shop[aria-current="page"] {
  border-color: rgb(200 154 69 / 65%) !important;
  background: #f3ead8 !important;
  color: var(--makhanley-terracotta, #a64b2a) !important;
}
.site-header .site-header__shop:focus-visible {
  outline: 3px solid #d8bd91 !important;
  outline-offset: 3px !important;
}
@media (max-width: 1040px) {
  .site-header .site-header__shop { display: none !important; }
}

/* Temporary visibility toggle: hide Private Label from the floating storefront header.
   The navigation anchors remain in each page's HTML; remove this rule to show them again. */
.site-header .site-header__links a[href="/private-label-makhana-manufacturer/"],
.site-header .site-header__mobile-links a[href="/private-label-makhana-manufacturer/"] {
  display: none !important;
}
