/* Unified green page cover / hero */

.page-cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b7a2a 0%, #168a3a 42%, #2f8f45 72%, #4aab5c 100%);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.has-hero-nav .page-cover {
  margin-top: 0;
  padding-top: clamp(6.5rem, 14vw, 8rem);
}

.page-cover-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.05) 0%, transparent 36%),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, 0.07) 0%, transparent 35%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M30 18v24M18 30h24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, auto, 60px 60px;
}

.page-cover-decor::before,
.page-cover-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-cover-decor::before {
  width: 220px;
  height: 220px;
  top: -60px;
  right: 8%;
  opacity: 0.35;
}

.page-cover-decor::after {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: 6%;
  opacity: 0.28;
}

.page-cover-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-cover-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.65rem;
}

.page-cover h1 {
  font-family: "Cormorant Garamond", serif;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-cover p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 680px;
}

.page-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-cover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-cover-btn-primary {
  background: #fff;
  color: var(--green-dark);
}

.page-cover-btn-primary:hover {
  background: var(--green-soft);
  transform: translateY(-1px);
}

.page-cover-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.page-cover-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.page-cover-breadcrumb {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-cover-breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-cover-breadcrumb span {
  opacity: 0.7;
  margin: 0 0.35rem;
}

/* Product category page banner */
.page-cover--products {
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: none;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 32px rgba(11, 122, 42, 0.12);
}

.page-cover--products .page-cover-inner {
  max-width: 900px;
}

.page-cover--products .page-cover-label {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

@media (max-width: 700px) {
  body.has-hero-nav .page-cover {
    padding-top: clamp(5.5rem, 16vw, 6.75rem);
    padding-bottom: 2.25rem;
  }

  .page-cover h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .page-cover p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .page-cover--products {
    border-radius: 0 0 22px 22px;
  }
}
