/* Makhanley consolidated stylesheet. Source order is intentional. */


/* Shared header cart: hidden until the cart contains at least one item. */
.site-header__cart {
  position: relative;
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(26 59 40 / 12%);
  border-radius: 50%;
  background: var(--makhanley-green, #1a3b28);
  color: var(--makhanley-cream, #f7f5f0);
  text-decoration: none;
  box-shadow: 0 3px 10px rgb(26 59 40 / 12%);
  transition: transform .18s ease, background-color .18s ease;
}
.site-header__cart:hover { transform: translateY(-1px); background: #245337; color: #fff; }
/* Keep the shared cart icon legible even when a page defines broad link colours (for example, .export-page a). */
.site-header .site-header__cart { color: var(--makhanley-cream, #f7f5f0); }
.site-header .site-header__cart:hover { color: #fff; }
.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[hidden] { display: none !important; }
.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(--makhanley-cream, #f7f5f0);
  border-radius: 999px;
  background: #d7aa54;
  color: #173524;
  font: 700 .68rem/1 Inter, Arial, sans-serif;
}
.site-header__cart-count[hidden] { display: none !important; }
.site-header__cart:focus-visible { outline: 3px solid #d8bd91; outline-offset: 3px; }
@media (max-width: 600px) {
  .site-header__cart { flex-basis: 36px; width: 36px; height: 36px; }
  .site-header__cart svg { width: 17px; height: 17px; }
}

/* ===== Source: site-header.css ===== */
:root {
  --makhanley-cream: #f7f5f0;
  --makhanley-sand: #e8e3d9;
  --makhanley-green: #1a3b28;
  --makhanley-terracotta: #a64b2a;
  --site-header-height: 90px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 18px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { width: 0; height: 0; display: none; }

body { padding-top: var(--site-header-height); }

[data-site-header] {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: block;
  width: 100%;
  margin: 0;
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgb(26 59 40 / 10%);
  border-radius: 0;
  background: var(--makhanley-cream);
  box-shadow: 0 4px 18px rgb(17 32 22 / 8%);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: var(--site-header-height);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}
.site-header__brand { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-start; width: 160px; height: 82px; overflow: hidden; }
.site-header__brand img { display: block; width: 148px; height: 78px; object-fit: contain; }
.site-header__actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.site-header__links { display: flex; align-items: center; gap: 1.5rem; }
.site-header__links a, .site-header__mobile-links a {
  color: var(--makhanley-green);
  font: 600 .92rem/1.4 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .18s ease;
}
.site-header__links a:hover, .site-header__mobile-links a:hover { color: var(--makhanley-terracotta); }
.site-header__links a[aria-current="page"], .site-header__mobile-links a[aria-current="page"] { color: var(--makhanley-terracotta); }
.site-header__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--makhanley-green);
  color: var(--makhanley-cream);
  font: 600 .9rem/1 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.site-header__cta:hover { transform: translateY(-1px); background: var(--makhanley-terracotta); }
.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(26 59 40 / 20%);
  border-radius: 50%;
  background: transparent;
  color: var(--makhanley-green);
  font: 500 1.45rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
}
.site-header__mobile { display: none; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid var(--makhanley-terracotta); outline-offset: 3px; }

html body { transition: opacity .32s ease, transform .32s ease; }
.page-entering body { opacity: 0; transform: translateY(6px); }
.page-leaving body { opacity: 0; transform: translateY(-3px); }

/* Keep full-screen hero sections full-screen while the fixed header occupies its own layer. */
.home-page #home { min-height: calc(100vh - var(--site-header-height)); height: calc(100vh - var(--site-header-height)); }

@media (max-width: 800px) {
  :root { --site-header-height: 76px; }
  .site-header__inner { min-height: var(--site-header-height); gap: .5rem; padding: 0 .8rem; }
  .site-header__brand { width: 118px; height: 68px; }
  .site-header__brand img { width: 112px; height: 64px; }
  .site-header__links { display: none; }
  .site-header__actions { gap: .5rem; }
  .site-header__cta { min-height: 40px; padding: .65rem .9rem; font-size: .82rem; }
  .site-header__toggle { display: inline-flex; }
  .site-header__mobile[data-open="true"] { display: block; border-top: 1px solid var(--makhanley-sand); }
  .site-header__mobile-links { display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-inline: auto; padding: 1rem 1.2rem 1.25rem; }
  .home-page #home { min-height: calc(100vh - var(--site-header-height)); height: calc(100vh - var(--site-header-height)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .site-header__links a, .site-header__mobile-links a, .site-header__cta { transition: none; }
  html body { transition: none; }
  .page-entering body, .page-leaving body { opacity: 1; transform: none; }
}

/* ===== Source: site-footer.css ===== */
.site-footer {
  background: #173524;
  color: #f7f3e9;
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: 2.5rem 1.5rem 1.25rem;
}
.site-footer__inner { width: min(100%, 1280px); margin-inline: auto; }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.site-footer__wordmark {
  display: inline-block;
  color: #f7f3e9;
  text-decoration: none;
  font: 700 1.55rem/1.15 "Inter", Arial, sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.site-footer__wordmark span { color: #a64b2a; }
.site-footer__brand p {
  color: rgb(232 227 217 / 65%);
  font-weight: 300;
  line-height: 1.5;
  max-width: 28rem;
  margin: 0;
}
.site-footer h2 {
  color: #d8bd91;
  font: 600 .78rem/1.3 Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .65rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  color: rgb(232 227 217 / 72%);
  font-weight: 300;
}
.site-footer li { display: flex; align-items: flex-start; gap: .55rem; line-height: 1.4; }
.site-footer li i { flex: 0 0 auto; margin-top: .15rem; }
.site-footer a { color: inherit; text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding-top: .9rem;
  color: rgb(232 227 217 / 42%);
  font-size: .78rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; gap: 1.25rem; }

@media(max-width: 1080px) {
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media(max-width: 1080px) {
  .site-footer--consumer .site-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media(max-width: 720px) {
  .site-footer { padding: 2rem 1.25rem 1rem; }
  .site-footer__top,
  .site-footer--consumer .site-footer__top { grid-template-columns: 1fr; gap: 1.35rem; margin-bottom: 1.35rem; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media(prefers-reduced-motion:reduce) { .site-footer a { transition: none; } }


/* Floating WhatsApp action: circular brand button with a soft, repeating ripple. */
.whatsapp-fab {
  position: fixed;
  right: calc(40px + env(safe-area-inset-right, 0px));
  bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  z-index: 10001;
  display: block;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #25D366;
  background-image: url("/assets/images/icons/whatsapp-fab-mark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 57% 57%;
  box-shadow: 0 4px 14px rgb(12 74 35 / 22%);
  color: #fff;
  isolation: isolate;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.whatsapp-fab::before,
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid rgb(37 211 102 / 58%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  animation: whatsapp-fab-ripple 2.6s ease-out infinite;
}
.whatsapp-fab::after {
  animation-delay: 1.3s;
}
@keyframes whatsapp-fab-ripple {
  0% { opacity: .62; transform: scale(.96); }
  70% { opacity: .18; }
  100% { opacity: 0; transform: scale(2.65); }
}
.whatsapp-fab:hover {
  background-color: #25D366;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.03);
  box-shadow: 0 6px 18px rgb(12 74 35 / 28%);
}
.whatsapp-fab:focus-visible {
  outline: 2px solid #d8bd91;
  outline-offset: 4px;
}
.whatsapp-fab:active {
  transform: scale(.97);
}
@media (max-width: 720px) {
  .whatsapp-fab {
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: none; }
  .whatsapp-fab::before,
  .whatsapp-fab::after { display: none; animation: none; }
}
.whatsapp-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Compact icon-only social links; each link keeps an accessible text label. */
.site-footer__social { margin-top: 1.15rem; }
.site-footer__social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.site-footer .site-footer__social-links li {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.site-footer__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  color: #f7f3e9;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, color .18s ease;
}
.site-footer__social-icon { display: block; width: 1.65rem; height: 1.65rem; }
.site-footer__social-links a:hover {
  color: #fff;
  background: rgb(255 255 255 / 12%);
  transform: translateY(-1px);
}
.site-footer__social-links a:focus-visible {
  outline: 2px solid #d8bd91;
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .site-footer__social-links { gap: .65rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .site-footer__social-links a { width: 2.55rem; height: 2.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__social-links a { transition: none; }
}


/* Override the general .site-footer ul column layout for social icons. */
.site-footer ul.site-footer__social-links { flex-direction: row; }


/* Instagram's outlined SVG has more internal whitespace than the other social marks.
   Slightly enlarge and optical-center it so it aligns visually inside the footer pill. */
.site-footer__social-icon--instagram {
  width: 1.8rem;
  height: 1.8rem;
  transform: translateY(1px);
}

/* Consumer pages add one Shop column while retaining the same global footer theme. */


/* Inline WhatsApp mark used on every visible click-to-chat CTA. */
.has-whatsapp-icon { display:inline-flex; align-items:center; gap:.48rem; vertical-align:middle; }
.whatsapp-inline-icon { display:inline-block; width:1.12em; height:1.12em; flex:0 0 1.12em; vertical-align:-.16em; }
.site-header__cta.has-whatsapp-icon { gap:.45rem; }

/* Temporary Export menu visibility control: keep all source links/content intact. */
.site-header__links > a[href="/export/"],
.site-header__mobile-links > a[href="/export/"] {
  display: none !important;
}
.site-footer li:has(> a[href="/export/"]) {
  display: none !important;
}
.site-footer li > a[href="/export/"] {
  display: none !important;
}
