.products-page {
  background: #f8f5ed;
}

.products-hero {
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 72px 0;
  text-align: center;
  background: #f4f1e8;
  border-bottom: 1px solid #e8e1d3;
}

.products-hero-inner {
  max-width: 820px;
}

.products-hero h1 {
  margin-bottom: 18px;
  color: var(--green-950);
  font-size: clamp(3.4rem, 6vw, 5.8rem);
}

.products-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 24px auto 0;
  background: var(--gold);
  border-radius: 999px;
}

.products-hero p:last-child {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-jump {
  position: sticky;
  z-index: 800;
  top: 97px;
  overflow: hidden;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(25, 49, 41, .04);
  backdrop-filter: blur(12px);
}

.product-jump-inner {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-block: 14px;
  scrollbar-width: none;
}

.product-jump-inner::-webkit-scrollbar {
  display: none;
}

.product-jump a {
  flex: none;
  padding: 8px 14px;
  color: #46534e;
  background: #f7f8f6;
  border: 1px solid #e0e6e2;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.product-jump a:hover,
.product-jump a.active {
  color: white;
  background: var(--green-900);
  border-color: var(--green-900);
}

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  scroll-margin-top: 61px;
  background: #faf7ef;
  border-bottom: 1px solid #e7e0d3;
}

.product-feature:nth-of-type(even) {
  background: #f4f0e5;
}

.product-feature-media {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #ded8cc;
}

.product-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  pointer-events: none;
}

.product-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.product-feature:hover .product-feature-media img {
  transform: scale(1.025);
}

.product-number {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: 25px;
  padding: 7px 13px;
  color: white;
  background: rgba(7, 58, 46, .92);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.product-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 7vw, 116px) clamp(48px, 7.2vw, 124px);
}

.product-feature-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--green-950);
  font-size: clamp(2.65rem, 4.5vw, 4.9rem);
  line-height: 1.04;
}

.product-tagline {
  margin-bottom: 25px;
  color: var(--gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
}

.product-description {
  max-width: 710px;
  margin-bottom: 25px;
  color: #5c625f;
  font-size: 1.05rem;
}

.product-points {
  display: grid;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  color: #28453b;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 28px;
  font-size: .95rem;
}

.product-points li::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 13px;
  height: 2px;
  background: var(--gold);
}

.product-points li strong {
  color: var(--green-950);
  font-weight: 700;
}

.product-points.spec-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  column-gap: 22px;
  row-gap: 9px;
}

.coffee-origin-groups {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.coffee-origin-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid #e2dacb;
  border-radius: 12px;
}

.coffee-origin-card h3 {
  margin: 0 0 12px;
  color: var(--green-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.coffee-origin-card .product-points {
  margin-bottom: 0;
}

.product-cta {
  width: fit-content;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 25px;
  color: white;
  background: var(--green-950);
  border: 1px solid var(--green-950);
  border-radius: 6px;
  font-size: .93rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.product-cta:hover {
  background: var(--green-800);
  transform: translateY(-2px);
}

.product-cta i {
  transition: transform .2s ease;
}

.product-cta:hover i {
  transform: translateX(4px);
}

.product-feature.reverse .product-feature-media {
  grid-column: 2;
  grid-row: 1;
}

.product-feature.reverse .product-feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.products-contact {
  padding: 90px 0;
  color: white;
  background: var(--green-950);
}

.products-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.products-contact .eyebrow {
  color: #e6bd62;
}

.products-contact h2 {
  margin-bottom: 13px;
  color: white;
}

.products-contact p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

.products-contact .button {
  flex: none;
}

@media (max-width: 1050px) {
  .product-jump { top: 78px; }
  .product-feature,
  .product-feature-media { min-height: 610px; }
  .product-feature-copy { padding: 58px 48px; }
  .product-feature-copy h2 { font-size: clamp(2.35rem, 4.7vw, 3.8rem); }
}

@media (max-width: 800px) {
  .products-hero {
    min-height: 270px;
    padding: 56px 0;
  }

  .products-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .products-hero p:last-child {
    font-size: .95rem;
  }

  .product-jump {
    top: 78px;
  }

  .product-jump-inner {
    width: 100%;
    padding-inline: 16px;
  }

  .product-feature,
  .product-feature.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    scroll-margin-top: 35px;
  }

  .product-feature .product-feature-media,
  .product-feature.reverse .product-feature-media {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: clamp(330px, 92vw, 500px);
  }

  .product-feature .product-feature-copy,
  .product-feature.reverse .product-feature-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 52px 25px 60px;
  }

  .product-feature-copy h2 {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  .product-description {
    font-size: .98rem;
  }

  .product-points li {
    font-size: .9rem;
  }

  .product-cta {
    width: 100%;
  }

  .products-contact {
    padding: 70px 0;
  }

  .products-contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .products-contact .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .product-jump {
    top: 70px;
  }
}

@media (max-width: 480px) {
  .products-hero { min-height: 250px; }
  .product-feature .product-feature-media,
  .product-feature.reverse .product-feature-media { height: 350px; }
  .product-number { top: 16px; right: 16px; }
  .product-feature-copy { padding-inline: 20px !important; }
}
