/* Makhanley unified header + footer — Nov 2026
   Loaded last on every page except the three flavoured jar PDPs. */
:root {
  --mk-forest: #1a3b28;
  --mk-deep-forest: #173524;
  --mk-ivory: #f7f5f0;
  --mk-warm-white: #fffdf8;
  --mk-sand: #e8e3d9;
  --mk-brown: #3a2b24;
  --mk-gold: #c89a45;
  --mk-terracotta: #a64b2a;
  --mk-shell-shadow: 0 14px 38px rgb(23 53 36 / 15%);
}

/* ===================== HEADER ===================== */
html { scroll-padding-top: 7.25rem !important; }
.site-header,
html body .site-header {
  position: fixed !important;
  inset: 12px auto auto 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10000 !important;
  display: block !important;
  width: max-content !important;
  max-width: calc(100vw - 28px) !important;
  margin: 0 !important;
  border: 1px solid rgb(26 59 40 / 14%) !important;
  border-radius: 999px !important;
  background: rgb(255 253 248 / 94%) !important;
  color: var(--mk-forest) !important;
  box-shadow: var(--mk-shell-shadow) !important;
  -webkit-backdrop-filter: blur(20px) saturate(145%) !important;
  backdrop-filter: blur(20px) saturate(145%) !important;
  overflow: visible !important;
  isolation: isolate;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 72px !important;
  padding: 0 12px 0 15px !important;
  margin: 0 !important;
}
.site-header__brand {
  display: inline-flex !important;
  flex: 0 0 128px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 128px !important;
  height: 66px !important;
  overflow: hidden !important;
  text-decoration: none !important;
}
.site-header__brand img {
  display: block !important;
  width: 120px !important;
  height: 62px !important;
  max-width: none !important;
  object-fit: contain !important;
}
.site-header__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .85rem !important;
}
.site-header__links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(.65rem, 1.15vw, 1.05rem) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-header__links a,
.site-header__mobile-links a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--mk-forest) !important;
  font-family: Inter, "Manrope", Arial, sans-serif !important;
  font-size: .86rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .18s ease, background-color .18s ease !important;
}
.site-header__links a:hover,
.site-header__mobile-links a:hover { color: var(--mk-terracotta) !important; }
.site-header__links a[aria-current="page"] { color: var(--mk-terracotta) !important; }
.site-header__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.55rem;
  width: 68%;
  height: .42rem;
  border-bottom: 2px solid var(--mk-gold);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}
.site-header__cart {
  position: relative !important;
  display: inline-flex !important;
  flex: 0 0 40px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgb(26 59 40 / 14%) !important;
  border-radius: 50% !important;
  background: var(--mk-sand) !important;
  color: var(--mk-forest) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, transform .18s ease !important;
}
.site-header__cart:hover { background: #ded3bf !important; color: var(--mk-forest) !important; transform: translateY(-1px); }
.site-header__cart[hidden], .site-header__cart-count[hidden] { display: none !important; }
.site-header__cart svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header__cart-count { position: absolute; top: -5px; right: -5px; display: grid; min-width: 19px; height: 19px; padding: 0 4px; place-items: center; border: 1.5px solid var(--mk-warm-white); border-radius: 999px; background: var(--mk-gold); color: var(--mk-deep-forest); font: 750 .68rem/1 Inter, Arial, sans-serif; }
.site-header__cta {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .48rem !important;
  min-height: 42px !important;
  padding: .68rem 1.1rem !important;
  border: 1px solid var(--mk-forest) !important;
  border-radius: 999px !important;
  background: var(--mk-forest) !important;
  color: var(--mk-warm-white) !important;
  font-family: Inter, "Manrope", Arial, sans-serif !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgb(23 53 36 / 12%) !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.site-header__cta:hover {
  background: var(--mk-terracotta) !important;
  border-color: var(--mk-terracotta) !important;
  color: #fffdf8 !important;
  transform: translateY(-1px) !important;
}
.site-header__cta .whatsapp-inline-icon { display: block; width: 17px; height: 17px; flex: 0 0 17px; }
.site-header__toggle { display: none !important; }
.site-header__mobile { display: none !important; }
.site-header a:focus-visible,
.site-header button:focus-visible { outline: 3px solid var(--mk-gold) !important; outline-offset: 3px !important; }

/* Tablet and mobile navigation: same capsule, with a tidy 2-column drop panel. */
@media (max-width: 1040px) {
  .site-header,
  html body .site-header {
    width: min(620px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    border-radius: 25px !important;
  }
  .site-header__inner {
    width: 100% !important;
    min-height: 66px !important;
    padding: 0 10px 0 12px !important;
    gap: .45rem !important;
  }
  .site-header__brand { flex-basis: 108px !important; width: 108px !important; height: 60px !important; }
  .site-header__brand img { width: 102px !important; height: 56px !important; }
  .site-header__links { display: none !important; }
  .site-header__actions { gap: .5rem !important; }
  .site-header__cta { min-height: 39px !important; padding: .62rem .88rem !important; font-size: .8rem !important; }
  .site-header__cart { flex-basis: 36px !important; width: 36px !important; height: 36px !important; }
  .site-header__cart svg { width: 17px; height: 17px; }
  .site-header__toggle {
    display: inline-flex !important;
    flex: 0 0 38px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgb(26 59 40 / 18%) !important;
    border-radius: 50% !important;
    background: var(--mk-ivory) !important;
    color: var(--mk-forest) !important;
    font: 500 1.35rem/1 Inter, Arial, sans-serif !important;
    cursor: pointer !important;
  }
  .site-header__mobile {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid rgb(26 59 40 / 10%) !important;
    border-radius: 0 0 23px 23px !important;
    background: rgb(255 253 248 / 98%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  .site-header__mobile[data-open="true"] { display: block !important; }
  .site-header:has(.site-header__mobile[data-open="true"]) { border-radius: 25px !important; }
  .site-header__mobile-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: .45rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: .85rem !important;
  }
  .site-header__mobile-links a {
    display: flex !important;
    min-height: 46px !important;
    align-items: center !important;
    padding: .7rem .8rem !important;
    border: 1px solid rgb(26 59 40 / 8%) !important;
    border-radius: 13px !important;
    background: var(--mk-ivory) !important;
    color: var(--mk-forest) !important;
    font-size: .88rem !important;
    white-space: normal !important;
  }
  .site-header__mobile-links a[aria-current="page"] { border-color: rgb(200 154 69 / 60%) !important; background: #f3ead8 !important; color: var(--mk-terracotta) !important; }
}
@media (max-width: 380px) {
  .site-header, html body .site-header { max-width: calc(100vw - 16px) !important; width: calc(100vw - 16px) !important; }
  .site-header__inner { padding-inline: 8px !important; }
  .site-header__brand { flex-basis: 88px !important; width: 88px !important; }
  .site-header__brand img { width: 84px !important; }
  .site-header__cta { padding-inline: .68rem !important; font-size: .75rem !important; }
  .site-header__toggle { flex-basis: 35px !important; width: 35px !important; height: 35px !important; }
}

/* ===================== FOOTER — FOUR-COLUMN BRAND SYSTEM ===================== */
html body .site-footer.site-footer--unified {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.1rem, 3.5vw, 3.5rem) 1.2rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--mk-deep-forest) !important;
  color: var(--mk-ivory) !important;
  box-shadow: none !important;
}
.site-footer--unified * { box-sizing: border-box; }
.site-footer--unified .site-footer__inner { width: min(100%, 1320px) !important; max-width: 1320px !important; margin: 0 auto !important; }
.site-footer--unified .site-footer__ribbon {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  margin: 0 0 clamp(2.6rem, 4vw, 3.8rem) !important;
  padding: clamp(1.35rem, 2.6vw, 2.1rem) clamp(1.35rem, 3vw, 2.5rem) !important;
  border: 1px solid rgb(232 227 217 / 17%) !important;
  border-radius: 24px !important;
  background: linear-gradient(105deg, rgb(255 255 255 / 7%), rgb(200 154 69 / 9%)) !important;
}
.site-footer--unified .site-footer__eyebrow {
  display: block !important;
  margin: 0 0 .55rem !important;
  color: var(--mk-gold) !important;
  font: 750 .68rem/1.3 Inter, Arial, sans-serif !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}
.site-footer--unified .site-footer__ribbon h2 {
  margin: 0 0 .45rem !important;
  color: var(--mk-ivory) !important;
  font: 750 clamp(1.25rem, 2.3vw, 1.85rem)/1.16 Inter, "Manrope", Arial, sans-serif !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}
.site-footer--unified .site-footer__ribbon p {
  max-width: 49rem !important;
  margin: 0 !important;
  color: rgb(247 245 240 / 72%) !important;
  font: 450 .92rem/1.65 Inter, Arial, sans-serif !important;
}
.site-footer--unified .site-footer__ribbon-cta {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .75rem !important;
  min-height: 48px !important;
  padding: .8rem 1.2rem !important;
  border: 1px solid var(--mk-gold) !important;
  border-radius: 999px !important;
  background: var(--mk-gold) !important;
  color: var(--mk-deep-forest) !important;
  font: 750 .88rem/1 Inter, Arial, sans-serif !important;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease !important;
}
.site-footer--unified .site-footer__ribbon-cta span { font-size: 1.1rem; }
.site-footer--unified .site-footer__ribbon-cta:hover { transform: translateY(-2px) !important; background: var(--mk-ivory) !important; border-color: var(--mk-ivory) !important; color: var(--mk-deep-forest) !important; }

/* One brand-description column plus exactly three link columns. */
.site-footer--unified .site-footer__top {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: clamp(1.4rem, 2.8vw, 3rem) !important;
  margin: 0 0 2.5rem !important;
  padding: 0 !important;
}
.site-footer--unified .site-footer__brand { min-width: 0 !important; grid-column: auto !important; }
.site-footer--unified .site-footer__wordmark {
  display: inline-block !important;
  margin: 0 0 .85rem !important;
  color: var(--mk-ivory) !important;
  font: 780 1.72rem/1.1 Inter, Arial, sans-serif !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}
.site-footer--unified .site-footer__wordmark sup {
  position: relative !important;
  top: -.42em !important;
  margin-left: .12em !important;
  color: var(--mk-gold) !important;
  font: 800 .42em/1 Inter, Arial, sans-serif !important;
  letter-spacing: -.01em !important;
  vertical-align: baseline !important;
}
.site-footer--unified .site-footer__brand p {
  max-width: 24rem !important;
  margin: 0 0 1.15rem !important;
  color: rgb(247 245 240 / 72%) !important;
  font: 430 .86rem/1.72 Inter, Arial, sans-serif !important;
}
.site-footer--unified .site-footer__company-meta {
  display: grid !important;
  gap: .58rem !important;
  margin: 0 0 1.15rem !important;
  color: rgb(247 245 240 / 72%) !important;
  font: 430 .79rem/1.55 Inter, Arial, sans-serif !important;
}
.site-footer--unified .site-footer__company-meta > div { display: flex !important; align-items: flex-start !important; gap: .6rem !important; }
.site-footer--unified .site-footer__company-meta a { color: inherit !important; text-decoration: none !important; }
.site-footer--unified .site-footer__company-meta a:hover { color: var(--mk-gold) !important; }
.site-footer--unified .site-footer__contact-label {
  display: inline-block !important;
  flex: 0 0 2.7rem !important;
  margin-top: .08rem !important;
  color: var(--mk-gold) !important;
  font: 750 .57rem/1.5 Inter, Arial, sans-serif !important;
  letter-spacing: .1em !important;
}
.site-footer--unified .site-footer__column { min-width: 0 !important; }
.site-footer--unified .site-footer__column h2 {
  margin: .25rem 0 1.05rem !important;
  color: var(--mk-gold) !important;
  font: 750 .7rem/1.3 Inter, Arial, sans-serif !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}
.site-footer--unified .site-footer__column ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: .68rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: rgb(247 245 240 / 74%) !important;
}
.site-footer--unified .site-footer__column li {
  display: flex !important;
  align-items: flex-start !important;
  gap: .5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: 430 .84rem/1.55 Inter, Arial, sans-serif !important;
}
.site-footer--unified .site-footer__column a,
.site-footer--unified .site-footer__bottom a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color .18s ease !important;
}
.site-footer--unified .site-footer__column a:hover,
.site-footer--unified .site-footer__bottom a:hover { color: var(--mk-gold) !important; }
.site-footer--unified .site-footer__social { margin-top: 1.1rem !important; }
.site-footer--unified .site-footer__social-links { display: flex !important; flex-direction: row !important; align-items: center !important; gap: .55rem !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.site-footer--unified .site-footer__social-links li { display: block !important; margin: 0 !important; }
.site-footer--unified .site-footer__social-links a { display: grid !important; width: 38px !important; height: 38px !important; place-items: center !important; border: 1px solid rgb(247 245 240 / 20%) !important; border-radius: 50% !important; background: rgb(247 245 240 / 6%) !important; color: var(--mk-ivory) !important; }
.site-footer--unified .site-footer__social-links a:hover { border-color: var(--mk-gold) !important; background: rgb(200 154 69 / 15%) !important; color: var(--mk-gold) !important; }
.site-footer--unified .site-footer__social-icon { display: block !important; width: 18px !important; height: 18px !important; }
.site-footer--unified .site-footer__bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 1.1rem 0 .15rem !important;
  border-top: 1px solid rgb(247 245 240 / 14%) !important;
  color: rgb(247 245 240 / 58%) !important;
  font: 430 .75rem/1.5 Inter, Arial, sans-serif !important;
}
.site-footer--unified .site-footer__bottom p { margin: 0 !important; color: inherit !important; }
.site-footer--unified .site-footer__legal-links { display: flex !important; flex-wrap: wrap !important; align-items: center !important; column-gap: 1.1rem !important; row-gap: .55rem !important; }

@media (max-width: 1080px) {
  .site-footer--unified .site-footer__top { grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr)) !important; gap: 1.35rem !important; }
}
@media (max-width: 900px) {
  .site-footer--unified .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 2rem 1.6rem !important; }
  .site-footer--unified .site-footer__brand { grid-column: 1 / -1 !important; }
  .site-footer--unified .site-footer__brand p { max-width: 40rem !important; }
}
@media (max-width: 760px) {
  html body .site-footer.site-footer--unified { padding: 2.6rem 1.1rem 1rem !important; }
  .site-footer--unified .site-footer__ribbon { flex-direction: column !important; align-items: flex-start !important; gap: 1.1rem !important; padding: 1.35rem !important; border-radius: 19px !important; }
  .site-footer--unified .site-footer__ribbon-cta { min-height: 45px !important; }
  .site-footer--unified .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.8rem 1.2rem !important; margin-bottom: 1.8rem !important; }
  .site-footer--unified .site-footer__brand { grid-column: 1 / -1 !important; }
  .site-footer--unified .site-footer__bottom { flex-direction: column !important; align-items: flex-start !important; gap: .7rem !important; }
}
@media (max-width: 420px) {
  .site-footer--unified .site-footer__top { grid-template-columns: 1fr !important; gap: 1.45rem !important; }
  .site-footer--unified .site-footer__brand { grid-column: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-footer--unified * { transition: none !important; }
}
