/* Shared header refinements for the rebuilt storefront shell. */
.eco-header__inner { transition: min-height 220ms ease; }
.eco-header__search-form { width: 100%; max-width: 720px; display: grid; grid-template-columns: minmax(0, 1fr) 48px; justify-self: center; overflow: hidden; border: 1px solid var(--eco-border); border-radius: 999px; background: white; }
.eco-header__search-form input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 8px 10px 20px; border: 0; outline: 0; color: var(--eco-ink); background: transparent; font: 500 15px/1.2 var(--font-body); }
.eco-header__search-form button { width: 48px; min-height: 48px; display: grid; place-items: center; padding: 0; border: 0; color: var(--eco-forest); background: transparent; cursor: pointer; }
.eco-header__search-form svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.eco-site-header.is-scrolled .eco-header__inner { min-height: 76px; }
.eco-site-header.is-scrolled .eco-header__search-form input,
.eco-site-header.is-scrolled .eco-header__search-form button { min-height: 42px; }
.eco-header__wishlist { position: relative; }
.eco-nav__list { width: 100%; justify-content: space-between; gap: clamp(8px, 1vw, 18px); }
.eco-nav__trigger,
.eco-nav__link { white-space: nowrap; font-size: clamp(12px, .86vw, 14px); }

@media (min-width: 1100px) {
  .eco-header__inner { min-height: 92px; grid-template-columns: minmax(230px, 310px) minmax(300px, 720px) auto; gap: clamp(20px, 3vw, 54px); }
  .eco-header__brand { width: min(290px, 100%); justify-self: start; }
  .eco-header__actions { min-width: 136px; justify-content: flex-end; }
  .eco-header__search { display: inline-grid !important; }
  .eco-header__menu-button { display: none !important; }
}

/* Homepage design system and section rhythm. */
.eco-home-fallback { padding-block: clamp(88px, 12vw, 170px); color: white; background: linear-gradient(120deg, var(--eco-forest-dark), var(--eco-forest)); }
.eco-home-fallback h1 { max-width: 760px; margin: 10px 0 18px; color: white; font-size: clamp(2.4rem, 5vw, 5rem); }
.eco-home-fallback p:not(.eco-eyebrow) { max-width: 650px; margin: 0 0 26px; color: rgba(255,255,255,.86); }
.eco-home-fallback-impact { padding-block: clamp(56px, 7vw, 100px); color: white; background: var(--eco-forest-dark); }
.eco-home-fallback-impact h2 { margin: 6px 0 8px; color: white; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.eco-home-fallback-impact > .eco-container > p:not(.eco-eyebrow) { margin: 0 0 28px; color: rgba(255,255,255,.78); }
.eco-home-fallback-impact > .eco-container > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.eco-home-fallback-impact article { padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--eco-radius-md); background: rgba(255,255,255,.06); }
.eco-home-fallback-impact strong { display: block; color: white; font: 400 clamp(1.75rem, 3vw, 3rem)/1.05 var(--font-heading); }
.eco-home-fallback-impact span { display: block; margin-top: 9px; font-weight: 750; }
.eco-home-fallback-impact small { display: block; margin-top: 14px; color: rgba(255,255,255,.65); }
.eco-homepage { overflow: clip; color: var(--eco-ink); background: var(--eco-paper); }
.eco-homepage .eco-section { padding-block: clamp(38px, 4vw, 56px); }
.eco-homepage .eco-section--compact { padding-block: clamp(28px, 3vw, 40px); }
.eco-homepage .eco-section__head {
  display: grid;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto clamp(20px, 2.4vw, 30px);
  text-align: center;
}
.eco-homepage .eco-section__head > div {
  width: 100%;
  text-align: center;
}
.eco-homepage .eco-section__head h2 {
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--font-heading) !important;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 400 !important;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-align: center;
}
.eco-homepage .eco-section__head > div > p:not(.eco-eyebrow) {
  max-width: 680px;
  margin: 10px auto 0;
  color: var(--eco-muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  text-align: center;
}
.eco-homepage .eco-section__head > :is(.eco-text-link, .eco-button) {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eco-homepage :is(.eco-carousel-controls, .eco-promise-card__icon, .eco-whatsapp__icon) svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eco-button--outline-light { border-color: rgba(255,255,255,.8); color: white; background: rgba(18,61,41,.18); }
.eco-button--outline-light:hover { color: var(--eco-forest-dark); background: white; }
.eco-text-link--light { color: white; }

/* 1. Main hero */
.eco-home-hero { position: relative; min-height: clamp(540px, 62vh, 690px); display: grid; overflow: hidden; color: white; background: var(--eco-forest-dark); }
.eco-home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: ecoHeroBreath 14s ease-in-out infinite alternate; }
.eco-home-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,43,28,.9) 0%, rgba(18,61,41,.76) 42%, rgba(18,61,41,.14) 76%); }
.eco-home-hero__content { position: relative; z-index: 1; display: grid; align-items: center; justify-items: center; padding-block: clamp(70px, 8vw, 110px); text-align: center; }
.eco-home-hero__copy { max-width: 820px; margin-inline: auto; text-align: center; }
.eco-home-hero .eco-eyebrow {
  display: block;
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #cbe3d2;
  margin-bottom: 12px;
  text-align: center;
}
.eco-home-hero h1 { max-width: 16ch; margin: 12px auto 20px; color: white; font-family: var(--font-heading); font-size: clamp(2.25rem, 3.8vw, 3.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; text-align: center; }
.eco-home-hero__copy > p:not(.eco-eyebrow) { max-width: 680px; margin: 0 auto 28px; color: rgba(255,255,255,.9); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; text-align: center; }
@keyframes ecoHeroBreath { from { transform: scale(1); } to { transform: scale(1.035); } }

/* 2. Product marquee */
.eco-marquee-section { background: var(--eco-white); }
.eco-marquee { width: 100%; overflow-x: auto; overflow-y: hidden; padding-block: 4px 14px; cursor: grab; scrollbar-width: none; }
.eco-marquee::-webkit-scrollbar { display: none; }
.eco-marquee.is-dragging { cursor: grabbing; }
.eco-marquee__track { width: max-content; display: flex; animation: ecoMarqueeForward 38s linear infinite; will-change: transform; }
.eco-marquee__group { display: flex; gap: 18px; padding-right: 18px; }
.eco-marquee:hover .eco-marquee__track,
.eco-marquee:focus-within .eco-marquee__track,
.eco-marquee.is-dragging .eco-marquee__track { animation-play-state: paused; }
.eco-marquee-card { width: clamp(210px, 16vw, 280px); min-height: 126px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 11px; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-md); color: inherit; background: var(--eco-paper); text-decoration: none; }
.eco-marquee-card img { width: 104px; height: 104px; border-radius: 12px; object-fit: cover; background: var(--eco-beige); }
.eco-marquee-card span { font-weight: 750; line-height: 1.35; }
@keyframes ecoMarqueeForward { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

/* 3. Promotional carousel */
.eco-promo-carousel { position: relative; overflow: hidden; border-radius: clamp(18px, 2vw, 30px); background: var(--eco-forest-dark); box-shadow: var(--eco-shadow-md); }
.eco-promo-carousel__viewport { position: relative; min-height: clamp(600px, 60vw, 800px); }
.eco-promo-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(2%); transition: opacity 520ms ease, transform 620ms cubic-bezier(.22,1,.36,1), visibility 520ms; }
.eco-promo-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.eco-promo-slide img { width: 100%; height: 100%; object-fit: cover; }
.eco-promo-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,39,25,.86), rgba(10,39,25,.48) 55%, rgba(10,39,25,.12)); }
.eco-promo-slide__content { position: absolute; z-index: 2; top: 50%; left: clamp(28px, 7vw, 104px); width: min(620px, calc(100% - 56px)); transform: translateY(-50%); color: white; }
.eco-promo-slide__content .eco-eyebrow { color: #d7eadb; }
.eco-promo-slide__content h2 { margin: 12px 0 18px; color: white; font-size: clamp(2.2rem, 4.5vw, 4.7rem); }
.eco-promo-slide__content > p:not(.eco-eyebrow) { max-width: 560px; margin: 0 0 26px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.eco-carousel-controls { position: absolute; z-index: 4; right: clamp(18px, 3vw, 42px); bottom: clamp(18px, 3vw, 38px); display: flex; align-items: center; gap: 8px; color: white; }
.eco-carousel-controls > button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.66); border-radius: 50%; color: inherit; background: rgba(18,61,41,.54); cursor: pointer; }
.eco-carousel-controls svg { width: 20px; height: 20px; }
.eco-carousel-dots { display: flex; gap: 4px; }
.eco-carousel-dots button { position: relative; width: 34px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.eco-carousel-dots button::after { content: ""; position: absolute; top: 19px; right: 12px; left: 12px; height: 6px; border: 1px solid currentColor; border-radius: 999px; }
.eco-carousel-dots button[aria-current="true"]::after { background: currentColor; }

/* 4. Categories */
.eco-home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.eco-home-category-card { min-width: 0; overflow: hidden; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-lg); color: inherit; background: white; box-shadow: 0 10px 34px rgba(18,61,41,.06); text-decoration: none; }
.eco-home-category-card__media { overflow: hidden; aspect-ratio: 1.08; background: var(--eco-beige); }
.eco-home-category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 520ms cubic-bezier(.22,1,.36,1); }
.eco-home-category-card > div:last-child { padding: 22px; }
.eco-home-category-card h3 { margin: 0; font-size: clamp(1.25rem, 1.6vw, 1.65rem); }
.eco-home-category-card p { min-height: 3.1em; margin: 8px 0 14px; color: var(--eco-muted); font-size: 14px; }
.eco-home-category-card span,
.eco-material-card span,
.eco-workspace-feature span { display: inline-flex; align-items: center; gap: 8px; color: var(--eco-forest); font-weight: 800; }
.eco-home-category-card span svg,
.eco-material-card span svg,
.eco-workspace-feature span svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eco-home-category-card:hover img { transform: scale(1.055); }

/* 5. Materials */
.eco-material-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.eco-material-card { position: relative; min-height: 430px; display: flex; align-items: end; overflow: hidden; border-radius: var(--eco-radius-lg); color: white; background: var(--eco-forest); text-decoration: none; }
.eco-material-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 620ms cubic-bezier(.22,1,.36,1); }
.eco-material-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,39,25,.92), rgba(10,39,25,.05) 72%); transition: opacity 260ms ease; }
.eco-material-card__copy { position: relative; z-index: 2; width: 100%; padding: 26px; transform: translateY(8px); transition: transform 280ms ease; }
.eco-material-card h3 { margin: 0; color: white; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.eco-material-card p { min-height: 4.8em; margin: 9px 0 13px; color: rgba(255,255,255,.84); font-size: 14px; }
.eco-material-card span { color: white; }
.eco-material-card:hover img { transform: scale(1.055); }
.eco-material-card:hover .eco-material-card__copy { transform: translateY(0); }

/* Shared home product cards */
.eco-homepage .eco-product-card { border-color: var(--eco-border); box-shadow: 0 10px 32px rgba(18,61,41,.06); }
.eco-homepage .eco-product-card__quick { display: inline-flex; align-items: center; justify-content: center; }
.eco-homepage .eco-product-card__image { object-fit: cover; }
.eco-homepage .eco-product-card h3 { font-family: var(--font-body); font-size: clamp(.95rem, 1vw, 1.05rem); font-weight: 650; letter-spacing: 0; }

/* 7. Journals */
.eco-journals { background: #f3eee4; }
.eco-journals__layout { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 62px); align-items: start; }
.eco-journals__feature { position: sticky; top: 112px; overflow: hidden; border-radius: var(--eco-radius-lg); color: white; background: var(--eco-forest-dark); }
.eco-journals__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,39,25,.9), rgba(10,39,25,.02) 70%); }
.eco-journals__feature img { width: 100%; aspect-ratio: .84; object-fit: cover; }
.eco-journals__feature > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: clamp(24px, 4vw, 42px); }
.eco-journals__feature h3 { margin: 7px 0 10px; color: white; font-size: clamp(1.75rem, 3vw, 2.7rem); }
.eco-journals__feature p { color: rgba(255,255,255,.84); }
.eco-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.eco-filter-tabs .eco-tabs__tab { min-height: 44px; padding: 9px 14px; border: 1px solid var(--eco-border); border-radius: 999px; color: var(--eco-forest); background: white; font-weight: 750; cursor: pointer; }
.eco-filter-tabs .eco-tabs__tab[aria-selected="true"] { border-color: var(--eco-forest); color: white; background: var(--eco-forest); }
.eco-journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.eco-journal-custom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 42px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--eco-border); border-radius: var(--eco-radius-lg); background: white; }
.eco-journal-custom h3 { margin: 5px 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.eco-journal-custom p:not(.eco-eyebrow) { max-width: 760px; margin: 0; color: var(--eco-muted); }
.eco-journal-custom .eco-button-row { flex: 0 0 auto; }

/* 8. Workspace */
.eco-workspace-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; align-items: stretch; }
.eco-workspace-feature { position: relative; min-height: 620px; display: flex; align-items: end; overflow: hidden; border-radius: var(--eco-radius-lg); color: white; background: var(--eco-forest-dark); text-decoration: none; }
.eco-workspace-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,39,25,.9), rgba(10,39,25,.08) 72%); }
.eco-workspace-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.eco-workspace-feature > div { position: relative; z-index: 2; padding: clamp(28px, 4vw, 50px); }
.eco-workspace-feature h3 { max-width: 600px; margin: 8px 0 18px; color: white; font-size: clamp(2rem, 3.7vw, 3.4rem); }
.eco-workspace-feature span { color: white; }
.eco-workspace-feature:hover img { transform: scale(1.035); }
.eco-workspace-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px; }

/* 9. WhatsApp */
.eco-whatsapp { color: white; background: var(--eco-forest); }
.eco-whatsapp__inner { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: clamp(22px, 4vw, 54px); align-items: center; text-align: left; }
.eco-whatsapp__icon { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(255,255,255,.12); flex-shrink: 0; }
.eco-whatsapp__icon svg { width: 46px; height: 46px; stroke: none; }
.eco-whatsapp .eco-eyebrow {
  color: #cbe3d2;
  text-align: left;
  margin: 0 0 6px 0;
  font-size: clamp(12px, 0.85vw, 13px);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.eco-whatsapp h2 {
  margin: 5px 0 10px;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: left;
}
.eco-whatsapp p:not(.eco-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  text-align: left;
}
.eco-whatsapp .eco-button svg { width: 20px; height: 20px; stroke: none; }
.eco-whatsapp .eco-button-row { display: flex; align-items: center; gap: 14px; }

/* 10. Impact */
.eco-impact-section { background: var(--eco-forest-dark); color: white; }
.eco-impact-section .eco-section__head {
  display: grid;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto clamp(20px, 2.4vw, 32px);
  text-align: center;
}
.eco-impact-section .eco-section__head > div {
  width: 100%;
  text-align: center;
}
.eco-impact-section .eco-eyebrow {
  color: #c4dccb;
  text-align: center;
  margin: 0 auto 8px;
  font-size: clamp(12px, 0.85vw, 13px);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.eco-impact-section .eco-section__head h2 {
  color: white;
  text-align: center;
  margin: 0 auto 10px;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.eco-impact-section .eco-section__head p:not(.eco-eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 680px;
  margin: 10px auto 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
}
.eco-home-impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.eco-home-impact {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2vw, 28px) clamp(16px, 1.4vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--eco-radius-md);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}
.eco-home-impact strong {
  display: block;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.7vw, 2.15rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.eco-home-impact strong.is-counted {
  animation: ecoImpactSettle 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.eco-home-impact span {
  display: block;
  min-height: 2.6em;
  margin-top: 8px;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}
.eco-home-impact small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-home-impact--pending {
  background: rgba(255, 255, 255, 0.03);
}
.eco-home-impact--pending strong {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.7vw, 2.15rem);
  font-weight: 400;
}
.eco-impact-reference {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(110px, 0.65fr));
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: var(--eco-radius-md);
  color: var(--eco-ink);
  background: var(--eco-beige);
}
.eco-impact-reference .eco-eyebrow {
  margin: 0 0 4px;
  color: var(--eco-leaf);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
}
.eco-impact-reference h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.35vw, 1.35rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--eco-forest-dark);
}
.eco-impact-reference p {
  margin: 0;
}
.eco-impact-reference > p {
  padding-left: 18px;
  border-left: 1px solid #c8c0b2;
}
.eco-impact-reference > p strong {
  display: block;
  color: var(--eco-forest);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.1;
}
.eco-impact-reference > p span {
  display: block;
  margin-top: 2px;
  color: var(--eco-muted);
  font-size: 12px;
  line-height: 1.3;
}

@keyframes ecoImpactSettle {
  from { opacity: .55; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 11. Clients */
.eco-client-marquee { overflow-x: auto; scrollbar-width: none; }
.eco-client-marquee::-webkit-scrollbar { display: none; }
.eco-client-track { display: grid; grid-template-columns: repeat(6, minmax(170px, 1fr)); gap: 14px; min-width: 1100px; }
.eco-client-placeholder { min-height: 112px; display: grid; place-content: center; gap: 5px; padding: 16px; border: 1px dashed #a5aea5; border-radius: var(--eco-radius-sm); color: var(--eco-muted); background: rgba(255,255,255,.58); text-align: center; }
.eco-client-placeholder strong { color: var(--eco-ink); font-size: 13px; }
.eco-client-placeholder span { font-size: 12px; }

.eco-companies-trust { padding-block: clamp(54px, 7vw, 90px); background: white; }
.eco-companies-trust__head { max-width: 680px; margin: 0 auto clamp(26px, 3vw, 38px); text-align: center; }
.eco-companies-trust__head h2 { margin: 6px 0 10px; color: var(--eco-forest-dark); font-size: clamp(2rem, 3.3vw, 3.35rem); }
.eco-companies-trust__head > p:not(.eco-eyebrow) { margin: 0; color: var(--eco-muted); }
.eco-company-marquee { overflow: hidden; padding: 6px 2px; }
.eco-company-track { display: flex; width: max-content; animation: ecoCompanyMarquee 18s linear infinite; }
.eco-company-marquee:hover .eco-company-track,
.eco-company-marquee:focus-within .eco-company-track { animation-play-state: paused; }
.eco-company-list { display: flex; flex: 0 0 auto; gap: clamp(12px, 2vw, 28px); width: max-content; margin: 0; padding: 0 clamp(12px, 2vw, 28px) 0 0; list-style: none; }
.eco-company-logo { flex: 0 0 clamp(165px, 13vw, 220px); min-height: 92px; display: grid; place-content: center; padding: 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-family: var(--font-body); font-size: clamp(1.35rem, 2.35vw, 2.1rem); font-weight: 800; letter-spacing: -.04em; line-height: .9; text-align: center; }
.eco-company-logo small { display: block; margin-top: 5px; font-size: .42em; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eco-company-logo--bajaj { color: #0b3c72; }
.eco-company-logo--lulu { color: #009c4c; font-family: var(--font-heading); font-size: clamp(2.05rem, 3vw, 3rem); font-style: italic; font-weight: 700; letter-spacing: -.1em; line-height: .8; }
.eco-company-logo--snr { color: #2c78ba; font-style: italic; letter-spacing: .04em; }
.eco-company-logo--bni { color: #c8212f; font-size: clamp(1.65rem, 2.7vw, 2.55rem); letter-spacing: -.07em; }
.eco-company-logo--rodis { color: #242424; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.eco-company-logo--sakthi { color: #bc2530; font-size: clamp(1.45rem, 2.25vw, 2rem); }

@keyframes ecoCompanyMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .eco-company-list { gap: 12px; padding-right: 12px; }
  .eco-company-logo { flex-basis: min(45vw, 180px); min-height: 88px; }
}

/* 12. Best sellers */
.eco-product-loading { margin: 18px 0 0; color: var(--eco-muted); }
.eco-rail-shell { position: relative; }
.eco-rail-control { position: absolute; z-index: 8; top: 42%; width: 46px; height: 46px; display: none; place-items: center; padding: 0; border: 1px solid var(--eco-border); border-radius: 50%; color: var(--eco-forest); background: white; box-shadow: var(--eco-shadow-sm); cursor: pointer; }
.eco-rail-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eco-rail-control--prev { left: -8px; }
.eco-rail-control--next { right: -8px; }

/* 13. Testimonials */
.eco-testimonials { background: #edf2ec; }
.eco-review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin-bottom: 24px; padding: 20px 24px; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-md); background: white; }
.eco-review-summary strong { color: var(--eco-forest); font-size: 1.1rem; }
.eco-review-summary span { color: var(--eco-muted); }
.eco-testimonial-carousel { position: relative; overflow: hidden; border-radius: var(--eco-radius-lg); }
.eco-testimonial-track { display: flex; transition: transform 600ms cubic-bezier(.22,1,.36,1); will-change: transform; }
.eco-testimonial-card { flex: 0 0 100%; min-height: 330px; padding: clamp(30px, 5vw, 64px); border: 1px solid var(--eco-border); border-radius: var(--eco-radius-lg); background: white; }
.eco-sample-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #7b4b20; background: #f5e6d4; font-size: 10px; font-weight: 850; letter-spacing: .07em; }
.eco-testimonial-card h3 { margin: 20px 0 12px; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.eco-testimonial-card > p { max-width: 800px; color: var(--eco-muted); font-size: 1.05rem; }
.eco-testimonial-card dl { display: flex; flex-wrap: wrap; gap: 18px 42px; margin: 30px 0 0; }
.eco-testimonial-card dl div { display: grid; gap: 3px; }
.eco-testimonial-card dt { color: var(--eco-muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.eco-testimonial-card dd { margin: 0; font-weight: 700; }
.eco-testimonial-card--google { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 410px); align-items: center; gap: clamp(28px, 5vw, 72px); min-height: 370px; }
.eco-testimonial-card__copy { max-width: 720px; }
.eco-review-source { margin: 0 0 10px; color: var(--eco-muted); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eco-review-stars { color: var(--eco-forest); font-size: 1.18rem; letter-spacing: .16em; }
.eco-testimonial-card--google blockquote { margin: 20px 0 24px; }
.eco-testimonial-card--google blockquote p { margin: 0; color: var(--eco-ink); font-family: var(--font-heading); font-size: clamp(1.45rem, 2.3vw, 2.2rem); line-height: 1.15; }
.eco-testimonial-card--google footer { display: grid; gap: 3px; }
.eco-testimonial-card--google footer strong { color: var(--eco-forest); }
.eco-testimonial-card--google footer span { color: var(--eco-muted); font-size: .92rem; }
.eco-review-screenshot { margin: 0; overflow: hidden; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-md); background: #171717; box-shadow: var(--eco-shadow-sm); }
.eco-review-screenshot img { width: 100%; height: auto; aspect-ratio: 417 / 234; object-fit: cover; }
.eco-carousel-controls--dark { position: static; justify-content: flex-end; margin-top: 16px; color: var(--eco-forest); }
.eco-carousel-controls--dark > button { border-color: var(--eco-border); background: white; }
.eco-carousel-controls--dark > span { min-width: 118px; text-align: center; }

/* 14. Promise */
.eco-promise-section { background: var(--eco-paper); }
.eco-promise-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.eco-promise-card { min-width: 0; padding: 26px; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-md); background: white; transition: transform 220ms ease, box-shadow 220ms ease; }
.eco-promise-card:hover { transform: translateY(-5px); box-shadow: var(--eco-shadow-sm); }
.eco-promise-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: white; background: var(--eco-forest); }
.eco-promise-card__icon svg { width: 24px; height: 24px; }
.eco-promise-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.eco-promise-card p { margin: 0; color: var(--eco-muted); font-size: 14px; }
.eco-promise-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: clamp(26px, 4vw, 42px); border-radius: var(--eco-radius-lg); color: white; background: var(--eco-forest-dark); }
.eco-promise-cta h3 { margin: 5px 0 0; color: white; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.eco-promise-cta .eco-eyebrow { color: #c9dfcf; }
.eco-promise-cta .eco-button-row { flex: 0 0 auto; }
.eco-promise-cta .eco-button--secondary { border-color: rgba(255,255,255,.72); color: white; background: transparent; }

@media (min-width: 1440px) {
  .eco-material-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .eco-material-card { min-height: 480px; }
  .eco-material-card__copy { padding: 22px; }
}

@media (max-width: 1260px) and (min-width: 1100px) {
  .eco-header__inner { grid-template-columns: 250px minmax(280px, 1fr) 132px; gap: 18px; }
  .eco-header__brand { width: 250px !important; }
  .eco-nav__trigger,
  .eco-nav__link { font-size: 11.5px !important; }
}

@media (max-width: 1099px) {
  .eco-header__search-form { display: none; }
  .eco-homepage .eco-section { padding-block: clamp(64px, 8vw, 80px); }
  .eco-home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eco-material-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-journals__layout { grid-template-columns: 1fr; }
  .eco-journals__feature { position: relative; top: auto; display: grid; grid-template-columns: .9fr 1.1fr; }
  .eco-journals__feature::after { background: linear-gradient(90deg, rgba(10,39,25,.1), rgba(10,39,25,.88)); }
  .eco-journals__feature img { height: 100%; aspect-ratio: 1; }
  .eco-journals__feature > div { position: relative; display: grid; align-content: center; padding: 34px; }
  .eco-workspace-layout { grid-template-columns: 1fr; }
  .eco-workspace-feature { min-height: 500px; }
  .eco-workspace-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .eco-whatsapp__inner { grid-template-columns: 72px minmax(0, 1fr); }
  .eco-whatsapp__inner > .eco-button-row { grid-column: 2; }
  .eco-whatsapp__icon { width: 72px; height: 72px; }
  .eco-home-impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eco-impact-reference { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eco-impact-reference > div { grid-column: 1 / -1; }
  .eco-standard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .eco-homepage .eco-section { padding-block: clamp(48px, 12vw, 64px); }
  .eco-homepage .eco-section__head { margin-bottom: 28px; }
  .eco-home-hero { min-height: 590px; }
  .eco-home-hero__overlay { background: linear-gradient(0deg, rgba(11,43,28,.94), rgba(18,61,41,.32)); }
  .eco-home-hero__content { align-items: end; padding-block: 58px; }
  .eco-home-hero__copy { padding-top: 100px; }
  .eco-home-hero h1 { font-size: clamp(2.2rem, 10.8vw, 3.4rem); }
  .eco-home-hero .eco-button-row { display: grid; grid-template-columns: 1fr 1fr; }
  .eco-marquee-card { width: 220px; grid-template-columns: 84px minmax(0, 1fr); }
  .eco-marquee-card img { width: 84px; height: 84px; }
  .eco-promo-carousel__viewport { min-height: 560px; }
  .eco-promo-slide__overlay { background: linear-gradient(0deg, rgba(10,39,25,.94), rgba(10,39,25,.22)); }
  .eco-promo-slide__content { top: auto; right: 20px; bottom: 92px; left: 20px; width: auto; transform: none; }
  .eco-promo-slide__content h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .eco-promo-slide img { object-position: center; }
  .eco-carousel-controls { right: 16px; bottom: 16px; }
  .eco-carousel-controls > button { width: 42px; height: 42px; }
  .eco-carousel-dots button { width: 24px; }
  .eco-carousel-dots button::after { right: 8px; left: 8px; }
  .eco-home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .eco-home-category-card > div:last-child { padding: 17px; }
  .eco-home-category-card p { display: none; }
  .eco-home-category-card span { margin-top: 8px; font-size: 12px; }
  .eco-material-card-grid { gap: 14px; }
  .eco-material-card { min-height: 380px; }
  .eco-material-card p { min-height: 0; }
  .eco-journal-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82vw); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .eco-journal-grid::-webkit-scrollbar { display: none; }
  .eco-journal-grid > * { scroll-snap-align: start; }
  .eco-journals__feature { grid-template-columns: 1fr; }
  .eco-journals__feature::after { background: linear-gradient(0deg, rgba(10,39,25,.9), rgba(10,39,25,.08) 72%); }
  .eco-journals__feature > div { position: absolute; }
  .eco-journals__feature img { aspect-ratio: .9; }
  .eco-filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .eco-filter-tabs::-webkit-scrollbar { display: none; }
  .eco-filter-tabs .eco-tabs__tab { flex: 0 0 auto; }
  .eco-journal-custom { display: grid; }
  .eco-journal-custom .eco-button-row { display: grid; grid-template-columns: 1fr; }
  .eco-workspace-feature { min-height: 440px; }
  .eco-workspace-products { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78vw); grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .eco-workspace-products > * { scroll-snap-align: start; }
  .eco-whatsapp__inner { grid-template-columns: 1fr; text-align: center; }
  .eco-whatsapp__icon { margin-inline: auto; }
  .eco-whatsapp__inner > .eco-button-row { grid-column: auto; display: grid; justify-content: stretch; }
  .eco-home-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-impact-reference { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-standard-card { min-height: 210px; }
  .eco-client-track { min-width: 1000px; }
  .eco-product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, 78vw); grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 10px; }
  .eco-product-rail::-webkit-scrollbar { display: none; }
  .eco-product-rail > * { scroll-snap-align: start; }
  .eco-rail-control { display: grid; }
  .eco-review-summary { grid-template-columns: 1fr; gap: 5px; }
  .eco-testimonial-card { min-height: 410px; }
  .eco-testimonial-card dl { display: grid; }
  .eco-testimonial-card--google { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .eco-testimonial-card--google .eco-review-screenshot { order: -1; }
  .eco-promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-promise-cta { display: grid; }
  .eco-promise-cta .eco-button-row { display: grid; }
}

@media (max-width: 479px) {
  .eco-home-hero__image { animation: none; transform: none; }
  .eco-home-hero .eco-button-row { grid-template-columns: 1fr; }
  .eco-promo-carousel__viewport { min-height: 600px; }
  .eco-home-category-grid { grid-template-columns: 1fr; }
  .eco-home-category-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
  .eco-home-category-card__media { height: 100%; aspect-ratio: 1; }
  .eco-material-card-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(275px, 88vw); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .eco-material-card-grid::-webkit-scrollbar { display: none; }
  .eco-material-card { min-height: 420px; scroll-snap-align: start; }
  .eco-home-impact-grid { grid-template-columns: 1fr; }
  .eco-home-impact span { min-height: 0; }
  .eco-impact-reference { grid-template-columns: 1fr; }
  .eco-impact-reference > p { padding: 10px 0 0; border-top: 1px solid #c8c0b2; border-left: 0; }
  .eco-standard-grid { grid-template-columns: 1fr; }
  .eco-standard-card { min-height: 188px; }
  .eco-promise-grid { grid-template-columns: 1fr; }
  .eco-carousel-controls--dark { justify-content: center; }
}

@media (max-width: 339px) {
  .eco-header__brand { width: min(120px, 100%) !important; }
  .eco-header__actions { min-width: 108px; }
  .eco-home-hero { min-height: 610px; }
  .eco-home-hero__copy { padding-top: 72px; }
  .eco-promo-slide__content { bottom: 84px; }
  .eco-carousel-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-home-hero__image,
  .eco-marquee__track { animation: none !important; transform: none !important; }
  .eco-promo-slide,
  .eco-testimonial-track,
  .eco-home-category-card img,
  .eco-material-card img,
  .eco-workspace-feature img { transition: none !important; }
}

/* Homepage refinement: wider rhythm, promotional banner and category rails. */
.page-container,
.eco-homepage .eco-container {
  width: min(calc(100% - 64px), 1800px) !important;
  max-width: 1800px !important;
  margin-inline: auto;
}

.eco-home-promo-section { padding: clamp(32px, 3.2vw, 44px) 0 0 !important; }
.eco-home-category-section { padding: clamp(36px, 3.5vw, 48px) 0 16px !important; }
.eco-home-material-section { padding: 16px 0 clamp(36px, 3.5vw, 48px) !important; scroll-margin-top: 100px; }

.eco-promo-carousel { border-radius: 18px; }
.eco-promo-carousel__viewport {
  height: clamp(420px, 32vw, 600px);
  min-height: 0;
}
.eco-promo-slide img { object-fit: cover; }
.eco-promo-slide__overlay {
  background: linear-gradient(90deg, rgba(9, 38, 24, .9) 0%, rgba(18, 61, 41, .66) 43%, rgba(18, 61, 41, .12) 76%);
}
.eco-promo-slide__content {
  top: 50%;
  right: 8%;
  bottom: auto;
  left: 8%;
  width: min(650px, 84%);
  transform: translateY(-50%);
}
.eco-promo-slide__content .eco-eyebrow { font-size: clamp(13px, .85vw, 14px); }
.eco-promo-slide__content h2 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
.eco-promo-slide__content > p:not(.eco-eyebrow) { font-size: clamp(1rem, 1.1vw, 1.125rem); }
.eco-promo-slide__content .eco-button { min-height: 50px; }

.eco-promo-control {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  color: white;
  background: rgba(11, 43, 28, .58);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}
.eco-promo-control:hover { color: var(--eco-forest-dark); background: white; transform: scale(1.04); }
.eco-promo-control svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eco-promo-control--prev { top: 50%; left: 24px; transform: translateY(-50%); }
.eco-promo-control--prev:hover { transform: translateY(-50%) scale(1.04); }
.eco-promo-control--next { top: 50%; right: 24px; transform: translateY(-50%); }
.eco-promo-control--next:hover { transform: translateY(-50%) scale(1.04); }
.eco-promo-control--pause { right: 24px; bottom: 20px; }
.eco-promo-dots {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  display: flex;
  color: white;
  transform: translateX(-50%);
}

.eco-carousel-section__head {
  display: grid;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto clamp(16px, 2vw, 24px);
  text-align: center;
}
.eco-category-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--eco-leaf);
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
}
.eco-category-title {
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
}
.eco-category-title em { color: var(--eco-forest); font-style: normal; }
.eco-category-description {
  max-width: 680px;
  margin: 10px auto 0;
  color: var(--eco-muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  text-align: center;
}
.eco-category-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.eco-category-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--eco-forest);
  border-radius: 50%;
  color: var(--eco-forest);
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, opacity 200ms ease, transform 200ms ease;
}
.eco-category-controls button:not(:disabled):hover { color: white; background: var(--eco-forest); transform: translateY(-2px); }
.eco-category-controls button:disabled { opacity: .32; cursor: not-allowed; }
.eco-category-controls svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.eco-home-category-grid,
.eco-material-card-grid,
.eco-category-rail {
  display: flex;
  grid-template-columns: none;
  gap: clamp(20px, 1.35vw, 24px);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
  cursor: grab;
}
.eco-category-rail::-webkit-scrollbar { display: none; }
.eco-category-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }


.eco-home-category-card,
.eco-material-card {
  position: relative;
  flex: 0 0 clamp(300px, 19vw, 330px);
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: white;
  background: var(--eco-forest);
  box-shadow: 0 12px 34px rgba(18, 61, 41, .1);
  scroll-snap-align: start;
  text-decoration: none;
}
.eco-home-category-card > img,
.eco-material-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.22, 1, .36, 1);
}
.eco-category-card__overlay,
.eco-material-card__overlay {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(0deg, rgba(8, 34, 21, .9) 0%, rgba(10, 39, 25, .3) 43%, rgba(10, 39, 25, .02) 72%);
}
.eco-category-card__content,
.eco-material-card__copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2vw, 28px);
  color: white;
  transform: none;
}
.eco-home-category-card h3,
.eco-material-card h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  line-height: 1.08;
}
.eco-category-card__content > svg,
.eco-material-card__copy > svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 220ms ease;
}
.eco-category-card__content > div,
.eco-material-card__copy > div { min-width: 0; }
.eco-category-card__content small,
.eco-material-card__copy small { display: block; margin-top: 8px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; line-height: 1.38; }
.eco-category-card__content small { max-width: 25ch; }
.eco-material-card__copy p { min-height: 0; margin: 9px 0 0; color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.45; }
.eco-material-card__copy small { color: white; font-weight: 800; }
.eco-home-category-card:hover > img,
.eco-material-card:hover > img { transform: scale(1.055); }
.eco-home-category-card:hover .eco-category-card__content > svg,
.eco-material-card:hover .eco-material-card__copy > svg { transform: translateX(4px); }

/* The Ecosphere Standard */
.eco-ecosphere-standard { background: #edf2ec; }
.eco-ecosphere-standard .eco-section__head {
  display: grid;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto clamp(20px, 2.4vw, 30px);
  text-align: center;
}
.eco-ecosphere-standard .eco-section__head h2,
.eco-ecosphere-standard .eco-section__head > div > p:not(.eco-eyebrow) { margin-right: auto; margin-left: auto; }
.eco-ecosphere-standard .eco-section__head > .eco-text-link { margin-top: 14px; }
.eco-standard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.eco-standard-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-md); background: rgba(255,255,255,.82); box-shadow: 0 10px 30px rgba(18,61,41,.05); text-align: center; transition: transform 220ms ease, box-shadow 220ms ease; }
.eco-standard-card:hover { transform: translateY(-5px); box-shadow: var(--eco-shadow-sm); }
.eco-standard-card__media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--eco-beige); }
.eco-standard-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(47,71,57,.16)); pointer-events: none; }
.eco-standard-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.22,1,.36,1); }
.eco-standard-card:hover .eco-standard-card__media img { transform: scale(1.045); }
.eco-standard-card__number { position: absolute; z-index: 1; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: white; background: rgba(47,71,57,.88); box-shadow: 0 4px 12px rgba(47,71,57,.2); font: 700 14px/1 var(--font-body); }
.eco-standard-card__body { min-height: 172px; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 24px 22px; }
.eco-standard-card h3 { max-width: 15ch; margin: 0 0 9px; color: var(--eco-forest-dark); font-size: clamp(1.35rem, 1.75vw, 1.8rem); }
.eco-standard-card p { margin: 0; color: var(--eco-muted); font-size: 14px; line-height: 1.55; }

/* Ecosphere Journal */
.eco-journal-feed__rail { align-items: stretch; }
.eco-journal-feed__card { flex: 1 1 0; min-width: 0; overflow: hidden; border: 1px solid var(--eco-border); border-radius: var(--eco-radius-lg); background: white; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(18,61,41,.05); }
.eco-journal-feed__card a { height: 100%; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.eco-journal-feed__card img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; transition: transform 520ms cubic-bezier(.22,1,.36,1); }
.eco-journal-feed__card div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; }
.eco-journal-feed__card .eco-eyebrow { margin: 0 0 8px; }
.eco-journal-feed__card h3 { margin: 0; color: var(--eco-forest-dark); font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.13; }
.eco-journal-feed__card p:not(.eco-eyebrow) { margin: 12px 0 20px; color: var(--eco-muted); font-size: 14px; line-height: 1.55; }
.eco-journal-feed__card span { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--eco-forest); font-size: 14px; font-weight: 800; }
.eco-journal-feed__card span svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 220ms ease; }
.eco-journal-feed__card:hover img { transform: scale(1.055); }
.eco-journal-feed__card:hover span svg { transform: translateX(4px); }
.eco-journal-feed__action { display: flex; justify-content: center; margin-top: 26px; }

/* Everyday Essentials stays in one scrollable row instead of wrapping. */
.eco-home-product-grid {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 1.35vw, 24px);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.eco-home-product-grid::-webkit-scrollbar { display: none; }
.eco-home-product-grid > .eco-product-card {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: 0;
  scroll-snap-align: start;
}

/* Best Sellers uses the same one-row product rail. */
.eco-product-rail {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 1.35vw, 24px);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.eco-product-rail::-webkit-scrollbar { display: none; }
.eco-product-rail > .eco-product-card {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: 0;
  scroll-snap-align: start;
}
.eco-rail-shell .eco-rail-control { display: grid; }

@media (max-width: 1439px) {
  .eco-home-product-grid > .eco-product-card,
  .eco-product-rail > .eco-product-card { flex-basis: calc((100% - 66px) / 4); }
}

@media (max-width: 1099px) {
  .eco-home-product-grid > .eco-product-card,
  .eco-product-rail > .eco-product-card { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 767px) {
  .eco-home-product-grid,
  .eco-product-rail { gap: 16px; padding-bottom: 12px; }
  .eco-home-product-grid > .eco-product-card,
  .eco-product-rail > .eco-product-card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 479px) {
  .eco-home-product-grid > .eco-product-card,
  .eco-product-rail > .eco-product-card { flex-basis: min(84vw, 320px); }
}

@media (max-width: 1099px) {
  .eco-home-category-section { padding-top: clamp(32px, 4vw, 44px) !important; padding-bottom: 16px !important; }
  .eco-home-material-section { padding-top: 16px !important; padding-bottom: clamp(32px, 4vw, 44px) !important; }
  .eco-home-category-card,
  .eco-material-card { flex-basis: clamp(260px, 30vw, 320px); }
}

@media (max-width: 767px) {
  .eco-home-fallback-impact > .eco-container > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-container,
  .eco-homepage .eco-container { width: calc(100% - 32px) !important; }
  .eco-home-promo-section { padding-top: clamp(28px, 5vw, 36px) !important; }
  .eco-home-category-section { padding: clamp(28px, 5vw, 36px) 0 14px !important; }
  .eco-home-material-section { padding: 14px 0 clamp(28px, 5vw, 36px) !important; }
  .eco-promo-carousel__viewport { height: clamp(520px, 145vw, 600px); min-height: 0; }
  .eco-promo-slide__overlay { background: linear-gradient(0deg, rgba(8, 34, 21, .94) 0%, rgba(18, 61, 41, .5) 58%, rgba(18, 61, 41, .08) 100%); }
  .eco-promo-slide__content { top: auto; right: 22px; bottom: 78px; left: 22px; width: auto; transform: none; }
  .eco-promo-slide__content h2 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .eco-promo-slide:nth-child(1) img { object-position: 58% center; }
  .eco-promo-slide:nth-child(2) img { object-position: 62% center; }
  .eco-promo-slide:nth-child(3) img { object-position: 60% center; }
  .eco-promo-control { width: 46px; height: 46px; }
  .eco-promo-control--prev { top: 34%; left: 14px; }
  .eco-promo-control--next { top: 34%; right: 14px; }
  .eco-promo-control--pause { right: 14px; bottom: 14px; }
  .eco-promo-dots { bottom: 15px; }
  .eco-carousel-section__head { margin-bottom: 16px; }
  .eco-category-controls { margin-top: 12px; }
  .eco-home-category-grid,
  .eco-material-card-grid,
  .eco-category-rail { gap: 16px; }
  .eco-home-category-card,
  .eco-material-card { flex-basis: min(72vw, 290px); }
  .eco-journal-feed__card { flex: 0 0 min(82vw, 350px); }
}

@media (max-width: 339px) {
  .eco-home-fallback-impact > .eco-container > div { grid-template-columns: 1fr; }
  .eco-promo-slide__content { right: 18px; bottom: 76px; left: 18px; }
  .eco-promo-slide__content h2 { font-size: 2.15rem; }
  .eco-home-category-card,
  .eco-material-card { flex-basis: 72vw; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-category-rail { scroll-behavior: auto; }
  .eco-company-marquee { overflow-x: auto; }
  .eco-company-track { animation: none; }
}

@media (max-width: 1099px) {
  .eco-standard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-standard-card { min-height: 210px; }
}

@media (max-width: 767px) {
  .eco-standard-grid { grid-template-columns: 1fr; }
  .eco-standard-card { min-height: 188px; }
}

/* Mobile containment and journal feature correction. The journal copy was
   retaining its desktop grid area after becoming absolutely positioned,
   which placed the eyebrow and paragraph beyond the right edge. */
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .eco-homepage {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .eco-journals__layout,
  .eco-journals__products {
    width: 100%;
    min-width: 0;
  }

  .eco-journals__products { overflow: hidden; }

  .eco-journals__feature {
    position: relative;
    top: auto;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }

  .eco-journals__feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .eco-journals__feature > div {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 26px 22px 28px;
    text-align: left;
  }

  .eco-journals__feature .eco-eyebrow,
  .eco-journals__feature h3,
  .eco-journals__feature p {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
  }

  .eco-journals__feature .eco-eyebrow {
    margin: 0 0 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  .eco-journals__feature h3 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 7.6vw, 2.2rem);
    line-height: 1.08;
    text-wrap: pretty;
  }

  .eco-journals__feature p:not(.eco-eyebrow) {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .eco-filter-tabs,
  .eco-journal-grid,
  .eco-home-product-grid,
  .eco-product-rail,
  .eco-category-rail {
    max-width: 100%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* Keep the chat available without allowing its greeting card to cover the
     product rail and rewards control on narrow screens. */
  #zsiq_floattext,
  .zsiq_floattext { display: none !important; }
}

@media (max-width: 380px) {
  .eco-journals__feature > div { padding: 22px 18px 24px; }
  .eco-journals__feature h3 { font-size: 1.7rem; }
  .eco-journals__feature p:not(.eco-eyebrow) { font-size: 13px; }
}
