body.menu-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 92px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(13, 91, 37, .08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  width: 215px;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 33px 0 27px;
  font-weight: 600;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  content: "";
  transition: transform .25s;
  transform: scaleX(0);
  background: var(--green-800);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 19px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  color: white;
  background: var(--green-800);
  border: 2px solid white;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-900);
}

.footer-brand img {
  width: 225px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 23px;
  }
}

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

  .brand {
    width: 175px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    padding: 22px 25px 30px;
    gap: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: .25s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 150px;
  }

  .nav {
    gap: 8px;
  }

  .cart-button {
    width: 41px;
    height: 41px;
  }
}

.site-header {
  height: 98px;
  background: rgba(255,255,255,.94);
}

.nav {
  gap: clamp(18px, 2.4vw, 34px);
}

.brand {
  width: 224px;
}

.nav-links {
  justify-content: center;
  gap: clamp(24px, 2.4vw, 36px);
  margin-inline: auto;
}

.nav-links a {
  padding: 36px 0 31px;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a::after {
  bottom: 27px;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 11px;
}

.cart-button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.footer-brand img {
  width: 205px;
  margin-bottom: 13px;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .brand {
    width: 200px;
  }

  .nav-links {
    gap: 21px;
  }
}

@media (max-width: 820px) {
  .brand {
    width: 175px;
  }
}

@media (max-width: 560px) {
  .footer-brand img {
    width: min(100%, 255px);
  }
}

@media (max-width: 430px) {
  .site-header {
    height: 72px;
  }

  .brand {
    width: 145px;
  }

  .nav-links {
    top: 72px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .cart-button {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .cart-count {
    top: -6px;
    right: -5px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 136px;
  }

  .nav {
    gap: 5px;
  }
}

@media (max-width: 375px) {
  .brand {
    width: 128px;
  }
}

@media (max-width: 320px) {
  .brand {
    width: 112px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .cart-button {
    width: 36px;
    height: 36px;
  }
}

.brand {
  width: 104px;
  height: 72px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin-bottom: 18px;
  filter: none;
}

@media (max-width: 1100px) {
  .brand {
    width: 96px;
    height: 67px;
  }
}

@media (max-width: 820px) {
  .brand {
    width: 86px;
    height: 60px;
  }
}

@media (max-width: 560px) {
  .footer-brand img {
    width: min(100%, 255px);
  }
}

@media (max-width: 430px) {
  .brand {
    width: 74px;
    height: 52px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 70px;
    height: 49px;
  }
}

@media (max-width: 375px) {
  .brand {
    width: 66px;
    height: 46px;
  }
}

@media (max-width: 320px) {
  .brand {
    width: 59px;
    height: 41px;
  }

  .footer-brand img {
    width: min(100%, 235px);
  }
}

.site-header {
  height: 88px;
  border-bottom-color: rgba(7,61,25,.08);
  box-shadow: 0 6px 24px rgba(18,52,25,.035);
}

.brand {
  width: 104px;
  height: 72px;
}

.nav-links a {
  padding-block: 31px 27px;
  color: #26352a;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a::after {
  bottom: 22px;
  height: 2px;
  border-radius: 2px;
}

.header-whatsapp,
.cart-button {
  display: flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.header-whatsapp {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 8px 22px rgba(37,211,102,.25);
}

.header-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37,211,102,.38);
}

.header-whatsapp:focus-visible {
  outline: 3px solid var(--green-800);
  outline-offset: 3px;
}

.cart-button {
  color: var(--green-900);
  background: #f5f7f3;
  border-color: rgba(7,61,25,.1);
}

.cart-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button:hover {
  background: #edf3e9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1100px) {
  .site-header {
    height: 82px;
  }

  .brand {
    width: 92px;
    height: 64px;
  }

  .nav-links a {
    padding-block: 28px 24px;
  }

  .nav-links a::after {
    bottom: 19px;
  }
}

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

  .header-whatsapp {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav-links {
    top: 76px;
    padding: 18px 24px 26px;
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 72px;
  }

  .brand {
    width: 77px;
    height: 54px;
  }

  .header-whatsapp {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .header-whatsapp svg {
    width: 20px;
    height: 20px;
  }

  .nav-links {
    top: 72px;
  }
}

@media (max-width: 390px) {
  .nav-actions {
    gap: 7px;
  }

  .header-whatsapp,
  .cart-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

.site-header {
  height: clamp(70px, 7vw, 88px);
}

.nav {
  gap: clamp(10px, 2.4vw, 28px);
  min-width: 0;
}

.brand {
  width: clamp(76px, 8vw, 104px);
  height: clamp(52px, 5.6vw, 72px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  min-width: 0;
}

.nav-actions {
  flex: 0 0 auto;
  gap: clamp(8px, 1.4vw, 12px);
}

.header-whatsapp,
.cart-button,
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}

.header-whatsapp,
.cart-button {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.cart-count {
  min-width: 20px;
  height: 20px;
  font-size: 11px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    flex: 0 0 44px;
    border-radius: 50%;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    z-index: 999;
    top: clamp(70px, 7vw, 82px);
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: grid;
    max-height: calc(100svh - 92px);
    padding: 12px;
    gap: 4px;
    overflow-y: auto;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(7,61,25,.1);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 22px 48px rgba(8,35,14,.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 44px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(7,61,25,.08);
    border-radius: 10px;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .site-header {
    height: 72px;
  }

  .brand {
    width: 78px;
    height: 54px;
  }

  .header-whatsapp,
  .cart-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .nav-links {
    top: 72px;
  }

  .footer-brand {
    display: grid;
    justify-items: center;
  }

  .footer-brand p {
    max-width: 24rem;
  }
}

@media (max-width: 479.98px) {
  .nav {
    gap: 8px;
  }

  .brand {
    width: 74px;
    height: 52px;
  }

  .nav-actions {
    gap: 7px;
  }

  .header-whatsapp,
  .cart-button,
  .nav-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 70px;
    height: 49px;
  }

  .header-whatsapp,
  .cart-button,
  .nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-basis: 40px;
  }
}

@media (max-width: 375px) {
  .brand {
    width: 66px;
    height: 46px;
  }

  .nav {
    gap: 6px;
  }

  .nav-actions {
    gap: 6px;
  }
}

@media (max-width: 320px) {
  .brand {
    width: 59px;
    height: 41px;
  }

  .header-whatsapp,
  .cart-button,
  .nav-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-basis: 38px;
  }
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #1B5E20;
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2.5px;
  min-width: 24px;
  padding: 0;
  margin: 0;
  flex: 0 0 2.5px;
  background: #1B5E20;
  border-radius: 999px;
  opacity: 1;
  visibility: visible;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .nav-links {
    position: static;
    z-index: auto;
    display: flex;
    max-height: none;
    padding: 0;
    gap: clamp(18px, 2vw, 28px);
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    min-height: 0;
    padding: 28px 0 24px;
    border-bottom: 0;
    border-radius: 0;
  }

  .nav-links a::after {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .nav-toggle {
    display: inline-flex !important;
  }

  .nav-links {
    position: fixed;
    z-index: 999;
    top: 72px;
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: grid;
    max-height: calc(100svh - 88px);
    padding: 12px;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Brand/action icon polish */
.brand-icon {
  fill: currentColor;
  stroke: none;
}

.header-whatsapp {
  color: #fff;
  background: #25D366;
  border: 1px solid rgba(37, 211, 102, .2);
}

.header-whatsapp .brand-icon--whatsapp {
  width: 23px;
  height: 23px;
}

.cart-button {
  color: #073d19;
  background: #f6faf4;
  border: 1px solid rgba(7, 61, 25, .14);
}

.cart-button .lucide-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}
