/* Appily thirtyeight — Germination Lab homepage
   Same layout, distinct cool-botanical visual system */

.page-home-harvest {
  --lab-ink: #0E241C;
  --lab-deep: #063D36;
  --lab-teal: #0F6B5C;
  --lab-mint: #7ED9B8;
  --lab-chart: #D6FF4B;
  --lab-coral: #FF5C35;
  --lab-paper: #F5FAF7;
  --lab-mist: #E3EFE8;
  --lab-line: rgba(14, 36, 28, 0.12);
  --lab-glow: rgba(214, 255, 75, 0.45);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --a38-ink: var(--lab-ink);
  --a38-muted: #4A6358;
  --a38-copper: var(--lab-coral);
  --a38-plum: var(--lab-deep);
  --a38-moss: var(--lab-teal);
  --a38-gold: #C9E86A;
  --a38-border: var(--lab-line);
  --a38-photo-bg: linear-gradient(160deg, #fff 0%, var(--lab-mist) 100%);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(126, 217, 184, 0.22), transparent 55%),
    linear-gradient(180deg, var(--lab-paper) 0%, #eef6f1 48%, var(--lab-paper) 100%);
}

.page-home-harvest .page-main {
  padding-top: 0;
  overflow-x: clip;
}

/* —— Section headings —— */
.a38-veg-heading-wrap {
  text-align: center;
  margin-bottom: 2.15rem;
  position: relative;
}
.a38-veg-heading-wrap--left {
  text-align: left;
  margin-bottom: 0;
}
.a38-veg-heading-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem 0.3rem 0.4rem;
  border-radius: 4px;
  background: var(--lab-deep);
  color: var(--lab-chart);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
}
.a38-veg-heading-tag::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lab-chart);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: a38Spark 1.8s ease-in-out infinite;
}
@keyframes a38Spark {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.7) rotate(45deg); opacity: 0.65; }
}
.a38-veg-heading {
  margin: 0;
  text-align: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 800;
  color: var(--lab-ink);
  letter-spacing: -0.035em;
  line-height: 1.05;
  position: relative;
  display: inline-block;
}
.a38-veg-heading-wrap:not(.a38-veg-heading-wrap--left) .a38-veg-heading::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--lab-teal), var(--lab-chart), var(--lab-coral));
  border-radius: 2px;
  transform-origin: center;
  animation: a38BarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.a38-veg-heading--left { margin-bottom: 0; }
.a38-veg-heading--left::after { display: none; }
@keyframes a38BarGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* —— Scroll reveal (progressive: visible unless JS opts into animation) —— */
html.js .a38-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .a38-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.a38-reveal {
  /* No-JS / failed-script fallback: always readable */
  opacity: 1;
  transform: none;
  filter: none;
}

/* —— Hero —— */
.a38-veg-hero {
  position: relative;
  padding: 1.6rem 0 2.1rem;
  background:
    linear-gradient(135deg, rgba(214, 255, 75, 0.08) 25%, transparent 25.5%) -20px 0 / 40px 40px,
    linear-gradient(225deg, rgba(15, 107, 92, 0.05) 25%, transparent 25.5%) -20px 0 / 40px 40px,
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(126, 217, 184, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(255, 92, 53, 0.1), transparent 50%),
    linear-gradient(180deg, #f8fcf9 0%, var(--lab-mist) 100%);
  isolation: isolate;
}
.a38-hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.a38-hero-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  filter: blur(48px);
  opacity: 0.5;
  animation: a38BlobMorph 14s ease-in-out infinite;
}
.a38-hero-blob--1 {
  width: 380px; height: 380px;
  top: -100px; left: -80px;
  background: rgba(15, 107, 92, 0.35);
}
.a38-hero-blob--2 {
  width: 300px; height: 300px;
  top: 30%; right: -60px;
  background: rgba(214, 255, 75, 0.35);
  animation-delay: -5s;
}
.a38-hero-blob--3 {
  width: 240px; height: 240px;
  bottom: -50px; left: 40%;
  background: rgba(255, 92, 53, 0.22);
  animation-delay: -9s;
}
@keyframes a38BlobMorph {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  }
  40% {
    transform: translate(30px, -22px) scale(1.08);
    border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
  }
  70% {
    transform: translate(-18px, 16px) scale(0.94);
    border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%;
  }
}

.a38-veg-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 30%) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  min-height: 400px;
}

/* —— Category sidebar —— */
.a38-veg-hero-side {
  background:
    linear-gradient(180deg, transparent 0%, rgba(214, 255, 75, 0.07) 100%),
    linear-gradient(160deg, var(--lab-deep) 0%, #0a5248 52%, #074a42 100%);
  border-radius: 8px 28px 8px 28px;
  overflow: hidden;
  color: #fff;
  box-shadow:
    0 24px 48px rgba(6, 61, 54, 0.32),
    inset 4px 0 0 var(--lab-chart);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.a38-veg-hero-side::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lab-chart), var(--lab-mint), transparent);
  animation: a38RailSweep 3.5s ease-in-out infinite;
}
@keyframes a38RailSweep {
  0%, 100% { opacity: 0.4; transform: scaleX(0.35); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}
.a38-veg-hero-side-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.05rem 1.15rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.a38-side-pulse {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--lab-chart);
  box-shadow: 0 0 0 0 var(--lab-glow);
  animation: a38Pulse 2s ease infinite;
  transform: rotate(45deg);
}
@keyframes a38Pulse {
  0% { box-shadow: 0 0 0 0 var(--lab-glow); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.a38-veg-hero-side-list {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0 0.75rem;
  max-height: 340px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 255, 75, 0.4) transparent;
}
.a38-veg-hero-side-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.58rem 1rem;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: background 0.22s, border-color 0.22s, transform 0.22s, color 0.22s;
}
.a38-veg-hero-side-list a:hover {
  background: rgba(214, 255, 75, 0.12);
  border-left-color: var(--lab-chart);
  transform: translateX(5px);
  color: #fff !important;
  text-decoration: none !important;
}
.a38-veg-hero-side-list a span {
  color: inherit;
}
.a38-veg-hero-side-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
}
.a38-veg-hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.a38-veg-hero-side-list a:hover .a38-veg-hero-side-thumb img {
  transform: scale(1.14) rotate(-2deg);
}

/* —— Hero carousel —— */
.a38-veg-hero-main {
  position: relative;
  border-radius: 28px 8px 28px 8px;
  overflow: hidden;
  min-height: 400px;
  box-shadow:
    0 28px 56px rgba(14, 36, 28, 0.14),
    0 0 0 1px rgba(15, 107, 92, 0.12);
}
.a38-veg-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 56%
  );
  background-size: 220% 100%;
  animation: a38Shine 7s ease-in-out infinite;
  mix-blend-mode: normal;
  opacity: 0.55;
}
@keyframes a38Shine {
  0%, 100% { background-position: 120% 0; }
  45%, 55% { background-position: -20% 0; }
}
.a38-veg-hero-track {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 400px;
}
.a38-veg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  padding: 2.35rem 3.1rem;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.a38-veg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.a38-veg-hero-slide.is-entering .a38-veg-hero-copy {
  animation: a38SlideInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.a38-veg-hero-slide.is-entering .a38-veg-hero-visual img {
  animation: a38FloatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
@keyframes a38SlideInLeft {
  from { opacity: 0; transform: translateX(-32px) skewX(-2deg); }
  to { opacity: 1; transform: none; }
}
@keyframes a38FloatIn {
  from { opacity: 0; transform: translateY(28px) scale(0.88) rotate(-4deg); }
  to { opacity: 1; transform: none; }
}

.a38-veg-hero-slide--sand {
  background:
    radial-gradient(circle at 88% 18%, rgba(214, 255, 75, 0.35), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(15, 107, 92, 0.12), transparent 45%),
    linear-gradient(145deg, #f4fbf6 0%, #dceee4 48%, #c8e4d6 100%);
}
.a38-veg-hero-slide--plum {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 92, 53, 0.18), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(126, 217, 184, 0.3), transparent 45%),
    linear-gradient(145deg, #eef8f4 0%, #d5ebe3 50%, #bfdfd4 100%);
}
.a38-veg-hero-slide--cream {
  background: linear-gradient(145deg, #f7fcf9, #e8f4ee);
}
.a38-veg-hero-slide--blush {
  background: linear-gradient(145deg, #fff6f2, #ffe8e0);
}

.a38-veg-hero-slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.75rem;
  height: 100%;
}
.a38-veg-hero-copy {
  position: relative;
  z-index: 2;
}
.a38-veg-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  color: var(--lab-deep);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.65rem;
  border-radius: 3px;
  background: var(--lab-chart);
  border: 0;
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.2);
}
.a38-veg-hero-copy h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
  font-weight: 800;
  color: var(--lab-ink);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.a38-veg-hero-copy p {
  margin: 0 0 1.55rem;
  color: #2f4a3f;
  font-size: 1.02rem;
  max-width: 34ch;
  line-height: 1.55;
  font-weight: 600;
}
.page-home-harvest .a38-btn-shop {
  border-radius: 4px;
  background: var(--lab-deep);
  background-image: none;
  box-shadow: 4px 4px 0 var(--lab-chart);
  letter-spacing: 0.08em;
  padding: 0.85rem 1.55rem;
  position: relative;
  overflow: hidden;
}
.page-home-harvest .a38-btn-shop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(214, 255, 75, 0.25), transparent);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}
.page-home-harvest .a38-btn-shop:hover {
  background: var(--lab-teal);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--lab-chart);
  filter: none;
}
.page-home-harvest .a38-btn-shop:hover::after {
  transform: translateX(120%);
}
.a38-btn-shop--hero span {
  display: inline-block;
  transition: transform 0.2s;
}
.a38-btn-shop--hero:hover span { transform: translateX(5px); }

.a38-veg-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
}
.a38-hero-orbit {
  position: absolute;
  width: min(290px, 74%);
  aspect-ratio: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 2px solid rgba(15, 107, 92, 0.2);
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(214, 255, 75, 0.25) 80%, transparent 90%);
  animation: a38OrbitSpin 18s linear infinite;
}
.a38-hero-orbit--inner {
  width: min(210px, 55%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  border-style: dashed;
  border-color: rgba(255, 92, 53, 0.35);
  background: none;
  animation-direction: reverse;
  animation-duration: 12s;
}
@keyframes a38OrbitSpin {
  to { transform: rotate(360deg); }
}
.a38-veg-hero-visual img {
  position: relative;
  z-index: 1;
  max-height: 290px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(6, 61, 54, 0.22));
  animation: a38HeroFloat 4.5s ease-in-out infinite;
}
@keyframes a38HeroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

.a38-veg-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--lab-deep);
  color: var(--lab-chart);
  border-radius: 6px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 3px 3px 0 rgba(214, 255, 75, 0.55);
  backdrop-filter: none;
  transition: background 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
}
.a38-veg-hero-arrow:hover {
  background: var(--lab-chart);
  color: var(--lab-deep);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 4px 4px 0 rgba(6, 61, 54, 0.25);
}
.a38-veg-hero-prev { left: 1rem; }
.a38-veg-hero-next { right: 1rem; }

.a38-veg-hero-dots {
  position: absolute;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
  padding: 0.4rem 0.55rem;
  border-radius: 4px;
  background: rgba(6, 61, 54, 0.72);
  backdrop-filter: blur(10px);
}
.a38-veg-hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s, background 0.3s, border-radius 0.3s;
}
.a38-veg-hero-dots span.is-active {
  width: 26px;
  border-radius: 2px;
  background: var(--lab-chart);
}

/* —— Promo banners —— */
.a38-veg-promos {
  padding: 0.5rem 0 2.4rem;
  position: relative;
}
.a38-veg-promo-grid--triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.a38-veg-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.9rem 1.7rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--lab-ink);
  min-height: 175px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  box-shadow: 0 12px 28px rgba(14, 36, 28, 0.08);
  border: 1px solid transparent;
}
.a38-veg-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.5) 0%, transparent 42%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.08) 10px,
      rgba(255, 255, 255, 0.08) 11px
    );
  pointer-events: none;
}
.a38-veg-promo::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 180%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(22deg);
  pointer-events: none;
  transition: transform 0.45s ease;
}
.a38-veg-promo:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 26px 48px rgba(14, 36, 28, 0.16);
  text-decoration: none !important;
}
.a38-veg-promo:hover::after {
  transform: rotate(22deg) translateX(-12px);
}
.a38-veg-promo--copper {
  background: linear-gradient(135deg, #ffe2d6 0%, #ffb89a 100%);
  border-color: rgba(255, 92, 53, 0.25);
}
.a38-veg-promo--moss {
  background: linear-gradient(135deg, #d9f5e8 0%, #9fdfc4 100%);
  border-color: rgba(15, 107, 92, 0.22);
}
.a38-veg-promo--sand {
  background: linear-gradient(135deg, #f3ffc8 0%, #d6ef7a 100%);
  border-color: rgba(110, 140, 20, 0.25);
}
.a38-veg-promo-copy {
  position: relative;
  z-index: 1;
}
.a38-veg-promo-copy span {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lab-deep);
  margin-bottom: 0.45rem;
  opacity: 1;
}
.a38-veg-promo-copy h2 {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  font-weight: 800;
  color: var(--lab-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.a38-veg-promo .a38-btn-shop {
  font-size: 0.7rem;
  padding: 0.55rem 1rem;
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.2);
  color: #fff !important;
}
.a38-veg-promo img {
  position: relative;
  z-index: 1;
  max-height: 115px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.14));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.a38-veg-promo:hover img {
  transform: scale(1.1) rotate(-6deg) translateY(-4px);
}

/* —— Trending row —— */
.a38-veg-trending {
  padding: 3.1rem 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 255, 75, 0.16), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(15, 107, 92, 0.08), transparent 40%),
    var(--lab-paper);
}
.a38-veg-trending-wrap {
  position: relative;
  padding: 0 3rem;
}
.a38-veg-trending-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.65rem 0.25rem 1.1rem;
}
.a38-veg-trending-track::-webkit-scrollbar { display: none; }
.a38-veg-trend-card {
  flex: 0 0 calc(20% - 0.88rem);
  min-width: 168px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  padding: 1.05rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.a38-veg-trend-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lab-teal), var(--lab-chart), var(--lab-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.a38-veg-trend-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 61, 54, 0.14);
  border-color: rgba(15, 107, 92, 0.28);
}
.a38-veg-trend-card:hover::before { transform: scaleX(1); }
.a38-veg-sale-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: var(--lab-coral);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.22rem 0.48rem;
  border-radius: 3px;
  z-index: 1;
  letter-spacing: 0.04em;
  box-shadow: 2px 2px 0 rgba(14, 36, 28, 0.2);
}
.a38-veg-trend-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 255, 75, 0.35), transparent 55%),
    var(--a38-photo-bg);
  border-radius: 8px;
  text-decoration: none !important;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}
.a38-veg-trend-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.4s ease;
}
.a38-veg-trend-card:hover .a38-veg-trend-img img { transform: scale(1.1); }
.a38-veg-trend-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}
.a38-veg-trend-card h3 a {
  color: var(--lab-ink);
  text-decoration: none !important;
}
.a38-veg-trend-card h3 a:hover { color: var(--lab-teal); }
.a38-veg-trend-price {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: var(--lab-coral);
  font-size: 0.92rem;
}
.a38-veg-trend-price s {
  color: var(--a38-muted);
  font-weight: 500;
  margin-right: 0.3rem;
  font-size: 0.78rem;
}
.a38-stars { color: #b7d44a; font-size: 0.78rem; letter-spacing: 0.05em; }

/* —— Category tiles —— */
.a38-veg-categories {
  padding: 3.15rem 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 4c2 8 8 14 16 16-8 2-14 8-16 16-2-8-8-14-16-16 8-2 14-8 16-16z' fill='%230F6B5C' fill-opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--lab-mist) 0%, #dce9e1 100%);
}
.a38-veg-cat-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
.a38-veg-cat-tile {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 107, 92, 0.12);
  border-radius: 12px;
  padding: 1.35rem 0.75rem 1.15rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--lab-ink);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, background 0.35s;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.a38-veg-cat-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(214, 255, 75, 0.45), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s, transform 0.45s;
  transform: translateY(20px);
}
.a38-veg-cat-tile:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 44px rgba(6, 61, 54, 0.16);
  background: #fff;
  text-decoration: none !important;
}
.a38-veg-cat-tile:hover::before {
  opacity: 1;
  transform: none;
}
.a38-veg-cat-img {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  margin-bottom: 0.75rem;
  background: conic-gradient(from 210deg, rgba(15, 107, 92, 0.12), rgba(214, 255, 75, 0.25), rgba(255, 92, 53, 0.12), rgba(15, 107, 92, 0.12));
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.45s;
  animation: a38WellIdle 8s ease-in-out infinite;
}
.a38-veg-cat-tile:nth-child(odd) .a38-veg-cat-img { animation-delay: -2s; }
.a38-veg-cat-tile:nth-child(3n) .a38-veg-cat-img { animation-delay: -4s; }
@keyframes a38WellIdle {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
  50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; }
}
.a38-veg-cat-tile:hover .a38-veg-cat-img {
  transform: scale(1.1) rotate(-6deg);
  animation: none;
  border-radius: 50%;
}
.a38-veg-cat-img img {
  max-height: 68px;
  max-width: 68px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.1));
}
.a38-veg-cat-emoji { font-size: 2.4rem; line-height: 1; }
.a38-veg-cat-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--lab-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.a38-veg-cat-count {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.68rem;
  color: var(--a38-muted);
  margin-top: 0.25rem;
  font-weight: 700;
}

/* —— Featured products —— */
.a38-veg-featured {
  padding: 3.15rem 0 3.75rem;
  background:
    linear-gradient(180deg, #fff 0%, var(--lab-paper) 55%, var(--lab-mist) 100%);
}
.a38-veg-featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}
.a38-veg-feat-tabs {
  display: inline-flex;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(15, 107, 92, 0.15);
}
.a38-veg-feat-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.15rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--a38-muted);
  cursor: pointer;
  border-radius: 0;
  transition: color 0.2s;
}
.a38-veg-feat-tab::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 3px;
  background: var(--lab-chart);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.a38-veg-feat-tab:hover { color: var(--lab-ink); }
.a38-veg-feat-tab.is-active {
  color: var(--lab-deep);
  background: transparent;
  box-shadow: none;
}
.a38-veg-feat-tab.is-active::after { transform: scaleX(1); }
.a38-veg-featured-wrap {
  position: relative;
  padding: 0 3rem;
}
.a38-veg-feat-panel[hidden] { display: none; }
.a38-veg-feat-panel.is-active .a38-feat-card {
  animation: a38CardPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.a38-veg-feat-panel.is-active .a38-feat-card:nth-child(2) { animation-delay: 0.05s; }
.a38-veg-feat-panel.is-active .a38-feat-card:nth-child(3) { animation-delay: 0.1s; }
.a38-veg-feat-panel.is-active .a38-feat-card:nth-child(4) { animation-delay: 0.15s; }
.a38-veg-feat-panel.is-active .a38-feat-card:nth-child(5) { animation-delay: 0.2s; }
.a38-veg-feat-panel.is-active .a38-feat-card:nth-child(6) { animation-delay: 0.25s; }
@keyframes a38CardPop {
  from { opacity: 0; transform: translateY(18px) rotate(-0.6deg); }
  to { opacity: 1; transform: none; }
}
.a38-veg-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.a38-feat-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  position: relative;
}
.a38-feat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--lab-chart);
  transition: box-shadow 0.28s;
}
.a38-feat-card:hover {
  transform: translateY(-5px) translateX(2px);
  box-shadow: 0 16px 36px rgba(6, 61, 54, 0.12);
  border-color: rgba(15, 107, 92, 0.25);
}
.a38-feat-card:hover::after {
  box-shadow: inset 3px 0 0 var(--lab-chart);
}
.a38-feat-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--a38-photo-bg);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}
.a38-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
  transition: transform 0.35s;
}
.a38-feat-card:hover .a38-feat-img img { transform: scale(1.08) rotate(-2deg); }
.a38-feat-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.a38-feat-body h3 a {
  color: var(--lab-ink);
  text-decoration: none !important;
}
.a38-feat-body h3 a:hover { color: var(--lab-teal); }
.a38-feat-price {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.a38-feat-price s {
  color: var(--a38-muted);
  font-weight: 500;
  margin-right: 0.35rem;
  font-size: 0.82rem;
}
.a38-feat-price strong { color: var(--lab-coral); font-weight: 800; }
.a38-feat-stars {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: 0.78rem;
}
.a38-feat-stars span.is-on { color: #b7d44a; }
.a38-feat-stars span:not(.is-on):not(.a38-feat-reviews) { color: #d5ddd8; }
.a38-feat-reviews {
  margin-left: 0.35rem;
  color: var(--a38-muted);
  font-size: 0.72rem;
}

/* —— Row arrows (shared) —— */
.a38-veg-row-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--lab-deep);
  color: var(--lab-chart);
  border-radius: 6px;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 3px 3px 0 rgba(214, 255, 75, 0.5);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.a38-veg-row-arrow:hover {
  background: var(--lab-chart);
  color: var(--lab-deep);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 4px 4px 0 rgba(6, 61, 54, 0.2);
}
.a38-veg-trending-wrap .a38-veg-row-prev,
.a38-veg-featured-wrap .a38-veg-row-prev { left: 0; }
.a38-veg-trending-wrap .a38-veg-row-next,
.a38-veg-featured-wrap .a38-veg-row-next { right: 0; }

/* —— Responsive —— */
@media (max-width: 1100px) {
  .a38-veg-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .a38-veg-hero-main { min-height: 350px; border-radius: 16px 8px; }
  .a38-veg-hero-track { min-height: 350px; }
  .a38-veg-hero-side { border-radius: 8px 16px; }
  .a38-veg-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .a38-veg-feat-grid { grid-template-columns: 1fr; }
  .a38-veg-trend-card { flex: 0 0 calc(33.333% - 0.74rem); }
  .a38-veg-promo-grid--triple { grid-template-columns: 1fr 1fr; }
  .a38-veg-promo-grid--triple .a38-veg-promo:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .a38-veg-hero-slide-inner { grid-template-columns: 1fr; text-align: center; }
  .a38-veg-hero-slide { padding: 1.75rem 1.5rem 2.6rem; }
  .a38-veg-hero-copy p { max-width: none; margin-inline: auto; }
  .a38-veg-hero-visual { min-height: 200px; }
  .a38-veg-featured-head { flex-direction: column; align-items: flex-start; }
  .a38-veg-feat-tabs {
    flex-wrap: wrap;
    width: 100%;
    border-bottom-width: 1px;
  }
  .a38-veg-promo-grid--triple { grid-template-columns: 1fr; }
  .a38-veg-promo-grid--triple .a38-veg-promo:last-child { max-width: none; }
  .a38-veg-promo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .a38-veg-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .a38-feat-card { grid-template-columns: 90px 1fr; }
  .a38-veg-trend-card { flex: 0 0 calc(50% - 0.55rem); }
  .a38-veg-featured-wrap,
  .a38-veg-trending-wrap { padding: 0 2.5rem; }
  .a38-hero-orbit { display: none; }
  .a38-veg-hero-main::before { animation: none; opacity: 0; }
}

@media (max-width: 480px) {
  .a38-veg-trend-card { flex: 0 0 78%; }
  .a38-veg-hero-arrow { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .a38-hero-blob,
  .a38-veg-hero-visual img,
  .a38-hero-orbit,
  .a38-side-pulse,
  .a38-veg-cat-img,
  .a38-veg-heading-tag::before,
  .a38-veg-hero-side::after,
  .a38-veg-hero-main::before,
  .a38-veg-heading-wrap:not(.a38-veg-heading-wrap--left) .a38-veg-heading::after {
    animation: none;
  }
  .a38-reveal,
  html.js .a38-reveal,
  html.js .a38-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .a38-veg-hero-slide { transition: none; }
}
