.catalog-page{overflow:hidden;color:#164e22}.catalog-banner{padding:45px 8%;min-height:440px;display:grid;grid-template-columns:45% 55%;align-items:center;background:radial-gradient(ellipse at 35% 45%,#fff1cfea,#fff4d16b),linear-gradient(transparent,transparent) center/cover}.catalog-banner h1{font-size:clamp(46px,5vw,76px);letter-spacing:-2px;margin:0 0 20px;line-height:1.05}.catalog-banner p:not(.eyebrow){font-size:23px;line-height:1.5;margin:0;color:#3a4d31}.catalog-banner>img{width:100%;height:350px;object-fit:contain}.catalog-banner-tags{display:flex;gap:12px;margin-top:25px;font-size:13px;font-weight:800;letter-spacing:1px}.catalog-banner-tags span+span{border-left:1px solid #bdc18d;padding-left:12px}
/* The product range sits on a warm stage below the centred title. */
.catalog-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 46px 6% 26px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 34%, #fff0c9ed 0%, #fff0c99c 42%, #fff0c922 72%),
    linear-gradient(transparent,transparent) center / cover no-repeat;
}
.catalog-banner::before {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: 6%;
  width: min(680px, 86%);
  height: 55%;
  border-radius: 50% 50% 28% 28%;
  background: radial-gradient(ellipse at 50% 70%, #f7c74d91, #fbd77872 57%, transparent 74%);
}
.catalog-banner h1 { margin-bottom: 12px; }
.catalog-banner h1::after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: #ba8a1a;
}
.catalog-banner-tags { justify-content: center; margin-top: 14px; }
.catalog-banner > img {
  display: block;
  width: min(620px, 94%);
  height: clamp(230px, 26vw, 340px);
  margin-top: 12px;
  object-fit: contain;
}
@media (max-width: 650px) {
  .catalog-banner { padding: 38px 6% 18px; }
  .catalog-banner h1 { font-size: clamp(36px, 10vw, 48px); }
  .catalog-banner > img { height: clamp(175px, 52vw, 235px); }
}
.catalog-banner {
  min-height: 610px;
  justify-content: center;
  padding: 42px 6% 30px;
  color: #fff2ce;
  background: radial-gradient(ellipse at 50% 85%, #557032, #183e27 48%, #0b2c20 80%);
}
.catalog-banner::before {
  bottom: 0;
  width: min(690px, 89%);
  height: 54%;
  border: 1px solid #e9bb6380;
  border-bottom: 0;
  border-radius: 52% 52% 0 0;
  background: radial-gradient(ellipse at bottom, #e9b74bcc, #af903746 65%, transparent 85%);
}
.catalog-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, transparent, #102f25 33%, #102f25 67%, transparent),
    url('assets/vision-original.png.webp') left center / 34% auto no-repeat,
    url('assets/mission-original-steel.png.webp') right center / 34% auto no-repeat;
  opacity: .64;
}
.catalog-banner .eyebrow { color: #ebce88 !important; }
.catalog-banner h1 { color: #fff0ca; }
.catalog-banner p:not(.eyebrow) { color: #f6e8c6; }
.catalog-banner-tags { color: #f4d88d; }
.catalog-banner > img { height: clamp(245px, 27vw, 365px); margin-top: 22px; }
@media (max-width: 700px) {
  .catalog-banner { min-height: 450px; padding: 38px 5% 24px; }
  .catalog-banner::after { opacity: .24; background-size: auto, 58% auto, 58% auto; }
  .catalog-banner > img { height: clamp(190px, 55vw, 270px); }
}
.range-catalog-collection {
  background: #faf3e3;
  padding: clamp(28px, 5vw, 72px) 5%;
}

.range-catalog-group {
  --surface: #e9edda;
  max-width: 1320px;
  margin: 0 auto 44px;
  padding: clamp(16px, 3vw, 36px);
  background: var(--surface);
  border-radius: 24px;
}

.range-catalog-group[data-category="groundnut"] { --surface: #f6e8c6; }
.range-catalog-group[data-category="sesame"] { --surface: #f2e1d4; }
.range-catalog-group[data-category="combos"] { --surface: #eee9d9; }

.range-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 22px;
}

.range-group-heading h2 { font-size: clamp(25px, 3vw, 40px); }
.range-shelf-subtitle { grid-row: 2; color: #41533a; }
.range-group-heading > span:last-child { grid-column: 2; grid-row: 1; }

.range-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
}

[data-category="combos"] .range-showcase-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.range-showcase-card {
  min-width: 0;
  border: 1px solid #173d211a;
  border-radius: 16px;
  background: #fffaf0;
  overflow: hidden;
}

.range-showcase-photo {
  aspect-ratio: 1;
  padding: 10px;
  background: radial-gradient(ellipse, #fffaf0, var(--surface));
}

.range-showcase-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.range-showcase-copy { padding: 14px 10px 18px; text-align: center; }
.range-showcase-copy h3 { margin: 0 0 4px; font-size: clamp(16px, 1.5vw, 21px); }
.range-showcase-copy p { margin: 0; color: #41533a; }
.range-overview { grid-column: 1 / -1; display: block; width: 100%; border-radius: 16px; }

@media (max-width: 800px) {
  .range-showcase-grid,
  [data-category="combos"] .range-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Carry the homepage's cream, green and gold treatment into the catalog. */
.range-catalog-collection {
  background: var(--cream);
}

.range-catalog-group {
  border-radius: 44px 32px 48px 28px;
  background: radial-gradient(ellipse at 30% 0%, #fff7e7 0%, transparent 68%), var(--surface);
}

.range-catalog-group[data-category="groundnut"] { --surface: #ffe9aa; }
.range-catalog-group[data-category="sesame"] { --surface: #f4eacb; }
.range-catalog-group[data-category="combos"] { --surface: #e9edda; }

.range-group-heading h2 {
  width: fit-content;
  isolation: isolate;
  position: relative;
  font-weight: 900;
}

.range-group-heading h2::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 48% -5px 2%;
  background: #ffda45;
  border-radius: 48% 35% 44% 26%;
  transform: rotate(-2deg);
}

.range-showcase-card {
  border: 0;
  background: transparent;
}

.range-showcase-photo {
  border-radius: 44% 32% 15% 18% / 22% 26% 13% 15%;
  background: radial-gradient(ellipse at 50% 40%, #fff7e7, var(--surface));
}

.range-showcase-copy h3 { font-weight: 900; }

/* Alternating product sections based on the approved concept. */
.range-catalog-collection { padding: 0; }
.range-catalog-group {
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 64px) max(5%, calc((100% - 1440px) / 2));
  border-radius: 0;
  border-top: 1px solid #d7c69b;
  background: linear-gradient(115deg, var(--cream), #f4e6c9);
}

.range-group-heading { display: block; margin: 0; }
.range-group-heading h2 { margin-bottom: 14px; }
.range-group-heading > span:last-child { display: none; }
.range-showcase-photo { background: transparent; border-radius: 0; }
.range-showcase-copy { padding: 8px 4px 12px; }
.range-showcase-card { overflow: visible; }

@media (min-width: 801px) {
  .range-catalog-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    align-items: center;
    gap: 36px;
  }

  .range-catalog-group[data-category="groundnut"] {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  }

  [data-category="groundnut"] .range-showcase-grid { grid-area: 1 / 1; }
  [data-category="groundnut"] .range-group-heading { grid-area: 1 / 2; }
  [data-category="sesame"] .range-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .range-group-heading { margin-bottom: 16px; }
}

/* Show only the ingredient photography from the approved reference. */
.range-catalog-group {
  background: radial-gradient(ellipse at 50% 20%, #fff6e5, #f1dfc3);
}

@media (min-width: 1000px) {
  .range-catalog-group:not([data-category="combos"]) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 2.6fr);
    gap: 20px;
    padding-inline: 0 4%;
  }

  .range-catalog-group:not([data-category="combos"])::before {
    content: '';
    display: block;
    aspect-ratio: 1;
    background-image: url('assets/product-concept-art.png.webp');
    background-repeat: no-repeat;
    background-size: 355% 532.5%;
    background-position: left 23.1%;
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }

  .range-catalog-group[data-category="groundnut"] {
    grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
    padding-inline: 4% 0;
  }

  .range-catalog-group[data-category="groundnut"]::before {
    grid-area: 1 / 3;
    background-position: right 46.9%;
    mask-image: linear-gradient(270deg, #000 82%, transparent);
  }

  .range-catalog-group[data-category="sesame"]::before {
    background-position: left 70.6%;
  }
}

/* Compact rows and size-only captions follow the approved composition. */
.range-catalog-group:not([data-category="combos"]) .range-showcase-copy h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.range-catalog-group:not([data-category="combos"]) .range-showcase-copy p {
  font-weight: 900;
  color: var(--green);
}

@media (min-width: 1000px) {
  .range-catalog-group:not([data-category="combos"]) {
    padding-block: 0;
    min-height: clamp(240px, 29vw, 510px);
  }

  .range-catalog-group:not([data-category="combos"]) .range-showcase-grid {
    align-items: end;
    gap: clamp(8px, 1vw, 18px);
  }

  .range-catalog-group:not([data-category="combos"]) .range-showcase-photo {
    aspect-ratio: auto;
    height: clamp(190px, 24vw, 420px);
    padding: 0;
  }

  .range-group-heading h2 { max-width: 8ch; line-height: 1.05; }
}

.range-catalog-group:not([data-category="combos"]) .range-showcase-grid {
  display: block;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.oil-lineup-art { width: 100%; height: auto; display: block; }
.oil-lineup-sizes { position: relative; height: 2em; color: var(--green); font-weight: 900; }
.oil-lineup-sizes span { position: absolute; left: 17%; transform: translateX(-50%); white-space: nowrap; }
.oil-lineup-sizes span:nth-child(2) { left: 35%; }
.oil-lineup-sizes span:nth-child(3) { left: 56%; }
.oil-lineup-sizes span:nth-child(4) { left: 79%; }
[data-category="sesame"] .oil-lineup-sizes span:first-child { left: 36%; }
[data-category="sesame"] .oil-lineup-sizes span:nth-child(2) { left: 63%; }

@media (min-width: 1000px) {
  .range-catalog-group:not([data-category="combos"]) { min-height: 0; }
}

.combo-photo {
  height: clamp(105px, 10vw, 150px);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.combo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
