:root {
  --global-header-height: 76px;
  --rs-header-height: var(--global-header-height);
  --rs-green-900: #203d31;
  --rs-green-800: #315b46;
  --rs-green-700: #47725b;
  --rs-cream: #f7f4ed;
  --rs-warm-white: #fffdf8;
  --rs-mint: #e8f1e8;
  --rs-terracotta: #c96845;
  --rs-terracotta-hover: #ad5236;
  --rs-ink: #222923;
  --rs-muted: #606860;
  --rs-line: #ddd8cd;
  --rs-shadow: 0 14px 32px rgba(32, 61, 49, 0.12);
  --rs-soft-shadow: 0 8px 22px rgba(32, 61, 49, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--global-header-height) + 20px);
}

[id] {
  scroll-margin-top: calc(var(--global-header-height) + 20px);
}

.rs-skip-link,
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--rs-warm-white);
  color: var(--rs-green-900);
  padding: 10px 14px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--rs-shadow);
}

.rs-skip-link:focus,
.skip-link:focus {
  transform: translateY(0);
}

.rs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rs-global-header,
.rs-global-header * {
  box-sizing: border-box;
}

.rs-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--global-header-height);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(221, 216, 205, 0.86);
  color: var(--rs-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(16px);
}

.rs-header-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: var(--global-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--rs-green-900);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.rs-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.rs-brand span {
  display: inline-block;
}

.rs-global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.rs-global-nav a {
  border-radius: 999px;
  padding: 10px 12px;
  color: #33453a;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rs-global-nav a:hover,
.rs-global-nav a[aria-current="page"] {
  background: var(--rs-mint);
  color: var(--rs-green-900);
}

.rs-global-nav a:focus-visible,
.rs-menu-toggle:focus-visible,
.rs-global-footer a:focus-visible {
  outline: 3px solid #e5b36c;
  outline-offset: 3px;
}

.rs-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  background: var(--rs-warm-white);
  color: var(--rs-green-900);
  cursor: pointer;
}

.rs-menu-bars,
.rs-menu-bars::before,
.rs-menu-bars::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.rs-menu-bars::before {
  transform: translateY(-7px);
}

.rs-menu-bars::after {
  transform: translateY(5px);
}

.rs-menu-toggle[aria-expanded="true"] .rs-menu-bars {
  transform: rotate(45deg);
}

.rs-menu-toggle[aria-expanded="true"] .rs-menu-bars::before {
  opacity: 0;
}

.rs-menu-toggle[aria-expanded="true"] .rs-menu-bars::after {
  transform: translateY(-2px) rotate(-90deg);
}

.rs-global-footer,
.rs-global-footer * {
  box-sizing: border-box;
}

.rs-global-footer {
  background: var(--rs-green-900);
  color: #f4f1e8;
  padding: 54px max(20px, calc((100vw - 1240px) / 2)) 24px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rs-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.7fr) minmax(150px, 0.5fr);
  gap: 34px;
}

.rs-footer-brand p,
.rs-footer-bottom {
  color: rgba(244, 241, 232, 0.76);
}

.rs-global-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.rs-global-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-global-footer a {
  color: inherit;
  text-decoration: none;
}

.rs-global-footer a:hover {
  text-decoration: underline;
}

.rs-brand-footer {
  color: #ffffff;
}

.rs-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
  font-size: 0.92rem;
}

.rs-product-cross {
  padding: 64px 20px;
  background: #f3f5ef;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rs-product-cross-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.rs-eyebrow {
  margin: 0 0 8px;
  color: var(--rs-terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rs-product-cross h2 {
  margin: 0 0 24px;
  color: var(--rs-green-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.rs-product-cross-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rs-product-mini {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--rs-line);
  border-radius: 8px;
  background: var(--rs-warm-white);
  padding: 18px;
  color: var(--rs-green-900);
  text-decoration: none;
  box-shadow: var(--rs-soft-shadow);
}

.rs-product-mini span {
  font-weight: 900;
}

.rs-product-mini small {
  color: var(--rs-muted);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .rs-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .rs-global-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--global-header-height) - 6px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid var(--rs-line);
    border-radius: 8px;
    background: var(--rs-warm-white);
    padding: 10px;
    box-shadow: var(--rs-shadow);
  }

  .rs-global-nav.is-open {
    display: flex;
  }

  .rs-global-nav a {
    border-radius: 7px;
    padding: 13px 14px;
  }

  .rs-footer-grid,
  .rs-product-cross-grid {
    grid-template-columns: 1fr;
  }

  .rs-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --global-header-height: 68px;
  }

  .rs-header-shell {
    width: min(100% - 22px, 1240px);
  }

  .rs-brand-logo {
    width: 38px;
    height: 38px;
  }

  .rs-brand span {
    max-width: 150px;
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rs-global-header *,
  .rs-product-cross *,
  .rs-global-footer * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Footer v2 */
.rs-global-footer {
  padding: 58px 20px 26px;
}

.rs-footer-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rs-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.62fr) minmax(180px, 0.46fr);
  gap: 34px;
  align-items: start;
}

.rs-footer-brand p {
  max-width: 560px;
  margin: 16px 0 0;
  line-height: 1.7;
}

.rs-footer-social h2,
.rs-footer-institutional h2,
.rs-footer-recetarios h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rs-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rs-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(244, 241, 232, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.rs-social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rs-social-link.is-disabled {
  cursor: default;
  opacity: 0.62;
}

.rs-footer-institutional ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-footer-separator {
  height: 1px;
  margin: 34px 0 26px;
  background: rgba(244, 241, 232, 0.16);
}

.rs-footer-recetarios {
  text-align: center;
}

.rs-footer-recipe-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.rs-footer-recipe-links a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.rs-footer-recipe-links a:hover,
.rs-footer-institutional a:hover,
.rs-social-link:hover {
  text-decoration: underline;
}

.rs-footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1060px) {
  .rs-footer-top {
    grid-template-columns: 1fr;
  }

  .rs-footer-recetarios {
    text-align: left;
  }

  .rs-footer-recipe-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .rs-footer-recipe-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .rs-social-link {
    flex: 1 1 150px;
    justify-content: center;
  }
}