:root {
  --accent: #c60920;
  --accent-dark: #99091c;
  --ink: #20282d;
  --muted: #464646;
  --rose: #fff1f0;
  --line: #ecd4d3;
  --gutter: clamp(1rem, 3.2vw, 2.25rem);
  --heading-font: system-ui, sans-serif;
  --body-font: system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body-font);
  line-height: 1.45;
}

:focus-visible {
  outline: 2px solid #20282d;
  outline-offset: 4px;
}

:target {
  scroll-margin-top: 1rem;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3;
  transform: translateY(-150%);
}

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

.header-inner,
.hero-inner,
.products,
.pipeline,
.content-section,
.business,
.footer-inner,
.footer-bottom {
  width: min(100%, 82.5rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding-block: 0.5rem;
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: clamp(6rem, 9vw, 8rem);
}

.wordmark img,
.footer-wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: clamp(0.6rem, 1.2vw, 1.1rem);
  font-size: 0.9rem;
  font-weight: 650;
}

.main-nav a {
  padding-block: 0.5rem;
}

.plain-link {
  color: inherit;
  text-decoration: none;
}

.current-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.55rem;
}

.header-actions {
  flex: 0 0 auto;
  gap: 0.2rem;
}

.icon-button,
.cart-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover,
.cart-button:hover {
  background: var(--rose);
}

.menu-toggle {
  display: none;
  color: var(--accent);
}

.cart-button {
  position: relative;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: 0.1rem;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 1.15rem;
  min-height: 1.15rem;
  padding-inline: 0.15rem;
  border-radius: 2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.primary-button,
.outline-button,
.white-button,
.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.primary-button,
.shop-button {
  background: var(--accent);
  color: #fff;
}

.shop-button {
  border-radius: 2rem;
  white-space: nowrap;
}

.outline-button,
.white-button {
  background: #fff;
  color: var(--accent);
}

.outline-button {
  border-color: var(--accent);
}

.primary-button:hover,
.shop-button:hover {
  background: var(--accent-dark);
}

.outline-button:hover,
.white-button:hover {
  background: var(--rose);
}

button.primary-button,
button.outline-button,
.dialog-close,
.quantity-button {
  cursor: pointer;
}

.hero {
  background: linear-gradient(105deg, #fffaf8 0%, #fbf1ed 54%, #ede1db 100%);
}

.hero-inner {
  display: grid;
  grid-template:
    "copy photo" auto
    "benefits photo" auto / minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  column-gap: 0.75rem;
  padding-right: 0;
}

.hero-copy {
  grid-area: copy;
  padding-block: clamp(1.35rem, 2.5vw, 2.2rem) 0.65rem;
}

.hero-title,
.products-title,
.pipeline-title,
.about-title,
.recipes-title,
.retailer-title,
.distributor-title {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  line-height: 1.04;
}

.hero-title-line {
  display: block;
}

.accent {
  color: var(--accent);
}

.hero-description {
  max-width: 40ch;
  margin: 0.65rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.hero-photo {
  grid-area: photo;
  align-self: stretch;
  display: grid;
  align-items: center;
  min-width: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(90deg, transparent, #000 7%);
}

.hero-benefits,
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.hero-benefits {
  grid-area: benefits;
  padding-block: 0.2rem 0.85rem;
}

.hero-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding-inline: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-benefit + .hero-benefit,
.benefit + .benefit {
  border-inline-start: 1px solid var(--line);
}

.hero-benefit svg {
  color: var(--accent);
}

.products,
.pipeline,
.content-section {
  padding-block: clamp(1rem, 1.6vw, 1.35rem);
}

.products-title,
.pipeline-title,
.about-title,
.recipes-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.products-title,
.products-intro,
.pipeline-title,
.pipeline-intro,
.about-title,
.about-intro {
  text-align: center;
}

.products-intro,
.pipeline-intro,
.about-intro,
.retailer-description,
.distributor-description {
  margin: 0.35rem 0 0;
}

.products-intro,
.pipeline-intro,
.about-intro,
.retailer-description {
  color: var(--muted);
}

.product-grid,
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-grid {
  margin-top: 0.9rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem;
  border-radius: 0.85rem;
  background: linear-gradient(130deg, #fff5f4, #fcebea);
}

.product-copy,
.recipe-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}

.product-title,
.recipe-name {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.product-description,
.recipe-description {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.product-link,
.recipe-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.product-link,
.recipe-link {
  margin-top: auto;
}

.product-photo {
  display: block;
  justify-self: center;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 8.5rem;
  border-radius: 0.45rem;
  object-fit: contain;
}

.product-photo-group {
  width: 100%;
}

.product-photo-status {
  justify-self: center;
  padding: 0.32rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: #63464a;
  font-size: 0.825rem;
  text-align: center;
}

.pipeline {
  padding-top: 0;
}

.pipeline-inner {
  padding: clamp(0.75rem, 1.4vw, 1.15rem);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fff5f4, #fae8e7);
}

.pipeline-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.pipeline-title::before,
.pipeline-title::after {
  content: "";
  width: clamp(0.85rem, 4vw, 2.75rem);
  height: 1px;
  background: var(--accent);
}

.pipeline-content {
  display: grid;
  grid-template-columns: minmax(6.25rem, 0.85fr) minmax(0, 5fr);
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.pipeline-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-size: clamp(1rem, 1.85vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pipeline-item {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
  gap: 0.35rem;
  padding-inline: 0.35rem;
  text-align: center;
}

.pipeline-item + .pipeline-item {
  border-inline-start: 1px solid var(--line);
}

.pipeline-photo {
  display: block;
  width: auto;
  height: clamp(5.75rem, 11vw, 8rem);
  max-width: 100%;
  border-radius: 0.45rem;
  object-fit: contain;
}

.pipeline-name {
  font-size: 0.9rem;
  font-weight: 800;
}

#about {
  padding-top: 0;
}

.benefits {
  margin-top: 0.85rem;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-inline: 0.6rem;
}

.benefit-name {
  font-weight: 800;
}

.benefit-detail {
  max-width: 25ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.business {
  display: grid;
  gap: 0.55rem;
}

.retailer-banner,
.distributor-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem clamp(0.8rem, 4vw, 3rem);
  border-radius: 0.85rem;
}

.retailer-banner {
  background: var(--rose);
}

.distributor-banner {
  background: linear-gradient(105deg, var(--accent), #b0041b 62%, #cf0b24);
  color: #fff;
}

.banner-copy {
  border-inline-start: 1px solid currentColor;
  padding-inline-start: 0.85rem;
}

.retailer-title,
.distributor-title {
  font-size: clamp(1.08rem, 2vw, 1.6rem);
}

.retailer-description,
.distributor-description {
  font-size: 0.95rem;
}

.recipes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-bottom: 0.45rem;
}

.recipe-card {
  display: flex;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fffbfa;
}

.recipe-name {
  font-size: 1rem;
}

.plain-link:hover,
.product-link:hover,
.recipe-link:hover,
.text-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-footer {
  border-top: 2px solid var(--accent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
  gap: 1rem;
  padding-block: 1.1rem;
}

.footer-brand,
.footer-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.footer-wordmark {
  width: min(100%, 8rem);
}

.footer-tagline {
  max-width: 20ch;
  color: var(--muted);
}

.footer-column + .footer-column {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 1rem;
}

.footer-heading {
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 0.8rem 3.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.whatsapp {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 2rem;
  background: #075e54;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.whatsapp:hover {
  background: #064c44;
}

#site-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid #f0d6d6;
  border-radius: 20px;
  color: inherit;
  background: #fff;
}

#site-dialog::backdrop {
  background: rgb(26 26 26 / 55%);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dialog-header h2,
#dialog-content h3 {
  margin: 0;
  font-family: var(--heading-font);
}

.dialog-header h2:focus {
  outline: none;
}

.dialog-close,
.quantity-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #e8c9c9;
  border-radius: 10px;
  background: #fff5f5;
  color: #1a1a1a;
}

.dialog-close {
  font-size: 22px;
}

.quantity-button:disabled {
  cursor: default;
  opacity: 0.5;
}

#dialog-content p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.55;
}

#dialog-content [role="status"]:empty {
  margin: 0;
}

.dialog-form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.search-label,
.dialog-form label {
  display: block;
  font-weight: 600;
}

#dialog-content input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #a66e76;
  border-radius: 10px;
  font: inherit;
  color: inherit;
  background: #fff;
}

#site-search {
  margin-bottom: 16px;
}

.dialog-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.dialog-list li {
  border-bottom: 1px solid #f0d6d6;
}

.dialog-list a {
  display: block;
  padding: 10px 0;
}

.cart-row,
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-row {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}

.recipe-steps {
  margin: 8px 0 16px;
  padding-left: 24px;
  line-height: 1.55;
}

.recipe-steps li + li {
  margin-top: 6px;
}

@media (min-width: 68rem) {
  .hero-copy {
    padding-inline-start: clamp(0.75rem, 2vw, 1.65rem);
  }

  .hero-photo img {
    aspect-ratio: 1.94;
    object-fit: cover;
  }

  .product-photo {
    max-height: 7.5rem;
  }
}

@media (max-width: 67.99rem) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.35rem;
  }

  .menu-toggle:not([hidden]) {
    display: grid;
  }

  .wordmark {
    grid-column: 2;
    justify-self: center;
    width: min(100%, clamp(5rem, 13vw, 7rem));
  }

  .header-actions {
    grid-column: 3;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
    padding-top: 0.3rem;
    border-top: 1px solid var(--line);
  }

  .menu-toggle:not([hidden])[aria-expanded="false"] ~ .main-nav {
    display: none;
  }

  .main-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 63.99rem) {
  .hero-inner {
    grid-template:
      "copy photo" auto
      "benefits benefits" auto / minmax(0, 2fr) minmax(0, 3fr);
  }

  .hero-copy {
    padding-bottom: 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 4.05vw, 2.65rem);
  }

  .hero-benefits {
    margin-left: calc(-1 * var(--gutter));
    padding: 0.75rem var(--gutter);
    background: #fff9f8;
  }

  .product-grid,
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    padding-inline: 0.85rem;
  }
}

@media (max-width: 40rem) {
  .header-inner {
    padding-inline: 0.65rem;
  }

  .header-actions {
    gap: 0.05rem;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.65rem;
  }

  .shop-button {
    padding-inline: 0.55rem;
    font-size: 0.875rem;
  }

  .hero-benefit {
    font-size: 0.825rem;
  }

  .pipeline-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 0.4rem;
  }

  .pipeline-grid {
    display: contents;
  }

  .pipeline-item + .pipeline-item {
    border-inline-start: 0;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0;
  }

  .benefit:nth-child(odd) {
    border-inline-start: 0;
  }

  .retailer-banner,
  .distributor-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem 0.7rem;
  }

  .retailer-banner > a,
  .distributor-banner > a {
    grid-column: 2;
    justify-self: start;
  }

  .banner-copy {
    padding-inline-start: 0.7rem;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column + .footer-column {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .footer-inner > :nth-child(even) {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 0.7rem;
  }

  .footer-column a {
    padding-block: 0.12rem;
  }

  .whatsapp {
    width: 48px;
    height: 48px;
    padding: 0;
  }

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

@media (max-width: 33.99rem) {
  .hero-inner {
    grid-template-areas:
      "copy"
      "photo"
      "benefits";
    grid-template-columns: minmax(0, 1fr);
    padding-right: var(--gutter);
  }

  .hero-copy {
    padding-block: clamp(1rem, 4vw, 1.35rem) 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.1vw, 2.7rem);
  }

  .hero-actions .primary-button,
  .hero-actions .outline-button {
    min-width: min(100%, 12rem);
  }

  .hero-photo,
  .hero-benefits {
    margin-inline: calc(-1 * var(--gutter));
  }

  .hero-photo img {
    mask-image: none;
  }
}

@media (min-width: 23.5rem) and (max-width: 29.99rem) {
  .product-card {
    grid-template:
      "title title" auto
      "description photo" 1fr
      "link link" auto / minmax(0, 1.45fr) minmax(0, 1fr);
    column-gap: 0.55rem;
    row-gap: 0.25rem;
    padding-inline: 0.65rem;
  }

  .product-copy {
    display: contents;
  }

  .product-title {
    grid-area: title;
  }

  .product-description {
    grid-area: description;
    align-self: start;
    margin: 0;
    overflow-wrap: break-word;
  }

  .product-photo,
  .product-photo-status {
    grid-area: photo;
  }

  .product-photo-status {
    padding-inline: 0.25rem;
  }

  .product-link {
    grid-area: link;
    justify-self: start;
  }
}

@media (min-width: 22rem) and (max-width: 23.49rem) {
  .product-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 6.25rem 1fr;
  }

  .product-photo,
  .product-photo-status {
    grid-row: 1;
  }

  .product-copy {
    grid-row: 2;
  }

  .product-photo {
    max-height: 100%;
  }
}

@media (max-width: 21.99rem) {
  .product-grid,
  .recipe-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.7rem;
  }

  .hero-benefit:nth-child(odd) {
    border-inline-start: 0;
  }
}
