:root {
  color-scheme: light;
  --cocoa: #4c2a22;
  --forest: #284e3c;
  --cream: #fff8ec;
  --gold: #b99050;
  --terra: #76422c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--cocoa);
  background: var(--cream);
  font: 1rem/1.6 system-ui, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  transform: translateY(-150%);
  background: white;
  padding: 0.5rem;
}

.skip:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.top {
  border-bottom: 1px solid #dacbb6;
}

.nav, nav, .foot, .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.nav, .foot {
  justify-content: space-between;
  padding-block: 0.85rem;
}

nav a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

nav a:not([aria-current]) {
  text-decoration: none;
}

.brand, h1, h2, h3 {
  font-family: Georgia, serif;
  line-height: 1.1;
}

.brand {
  font-weight: bold;
  font-size: 2.4rem;
  text-decoration: none;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.4rem;
}

.hero {
  background: #efe4d1;
}

.hero-inner, .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 8vw, 7rem);
}

.hero-copy p, .lead {
  font-size: 1.2rem;
  max-width: 34rem;
}

.hero-image, .split img {
  width: 100%;
  height: auto;
  display: block;
}

.split img {
  max-width: 19rem;
  justify-self: center;
}

.button, button {
  display: inline-block;
  border: 0;
  background: var(--forest);
  color: white;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.section {
  padding-block: clamp(2rem, 6vw, 5rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.2rem;
}

.card {
  border: 1px solid #ddcbb5;
  background: #fffcf5;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.3rem;
}

.card h2, .card h3 {
  margin: 0;
}

.card h2 {
  font-size: 1.65rem;
}

.price, .manage {
  font-weight: 650;
}

.manage {
  display: inline-block;
  margin-top: 2rem;
}

.ingredients {
  font-size: 0.9rem;
}

.story, footer {
  background: var(--forest);
  color: var(--cream);
}

footer {
  border-top: 1px solid rgba(255, 248, 236, 0.2509803922);
}

.prose {
  max-width: 48rem;
}

.prose article + article {
  margin-top: 3rem;
}

label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
}

input, select, textarea {
  display: block;
  width: 100%;
  max-width: 34rem;
  border: 1px solid var(--terra);
  padding: 0.55rem;
  font: inherit;
  background: #fffcf5;
  color: inherit;
}

.actions {
  margin-block: 1rem;
}

@media (max-width: 700px) {
  .hero-inner, .split {
    grid-template-columns: 1fr;
  }
  .nav {
    align-items: flex-start;
  }
  nav {
    gap: 0.5rem 1rem;
  }
}
.product-link {
  display: block;
}

.product-group + .product-group {
  margin-top: 2rem;
}

.product-group[id], #catalog .card[id], #valor-nutricional {
  scroll-margin-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}