/* v4.6.26 — Editor's Choice and On Deal public sections/pages */
.editorial-curated-section {
  position: relative;
  overflow: hidden;
}

.editorial-editors-choice-section {
  border-bottom: 1px solid var(--ed-line);
  background: #fff;
}

.editorial-editors-choice-section::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(24, 69, 54, .055);
  content: '';
  right: -150px;
  top: -170px;
  pointer-events: none;
}

.editorial-deals-section {
  border-bottom: 1px solid #e5d9bd;
  background: #f8f3e7;
}

.editorial-deals-section .editorial-section-heading > a {
  border-color: #ddcfaf;
  background: #fffdf8;
}

.editorial-curated-grid {
  position: relative;
}

.editorial-curated-grid > .editorial-empty-row {
  grid-column: 1 / -1;
  border-radius: 16px;
}

.editorial-deals-section .deal {
  color: #533700;
  background: #ffe8a8;
}

.curated-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--ed-line);
  background: #f7f4ed;
}

.curated-page-hero--editors-choice {
  background: linear-gradient(135deg, #f4f7f4 0%, #fbf8f2 62%, #f1f5f2 100%);
}

.curated-page-hero--deals {
  background: linear-gradient(135deg, #fbf7eb 0%, #f5edda 58%, #fffdf7 100%);
}

.curated-page-hero::after {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(24, 69, 54, .09);
  border-radius: 50%;
  content: '';
  right: -130px;
  top: -210px;
}

.curated-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .68fr);
  align-items: end;
  gap: clamp(38px, 7vw, 100px);
}

.curated-page-copy h1 {
  max-width: 850px;
  margin: 12px 0 20px;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .94;
}

.curated-page-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: clamp(.96rem, 1.35vw, 1.15rem);
  line-height: 1.72;
}

.curated-principle-card {
  padding: 28px;
  border: 1px solid rgba(24, 69, 54, .12);
  border-left: 4px solid var(--ed-green);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 55px rgba(29, 39, 32, .07);
}

.curated-page-hero--deals .curated-principle-card {
  border-left-color: #b98218;
}

.curated-principle-card strong {
  display: block;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: 1.28rem;
}

.curated-principle-card p {
  margin: 11px 0 0;
  color: var(--ed-muted);
  font-size: .86rem;
  line-height: 1.65;
}

.curated-products-shell {
  min-height: 520px;
  padding: clamp(50px, 7vw, 88px) 0 clamp(74px, 9vw, 120px);
  background: var(--ed-bg);
}

.curated-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ed-line);
}

.curated-results-head > div {
  display: grid;
  gap: 4px;
}

.curated-results-head strong {
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.curated-results-head span {
  color: var(--ed-muted);
  font-size: .76rem;
}

.curated-results-head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: #fff;
  font-size: .72rem;
  font-weight: 800;
}

.curated-product-grid {
  margin-top: 0;
}

.curated-empty-state {
  display: grid;
  min-height: 340px;
  place-items: center;
  align-content: center;
  gap: 13px;
  padding: 44px 22px;
  border: 1px dashed #cec7ba;
  border-radius: 22px;
  background: #fff;
  text-align: center;
}

.curated-empty-state > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ed-green-dark);
  font-family: var(--ed-serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.curated-empty-state h2 {
  margin: 0;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 500;
}

.curated-empty-state p {
  max-width: 600px;
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.65;
}

.curated-empty-state .editorial-btn {
  margin-top: 7px;
}

@media (max-width: 899px) {
  .curated-page-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, .72fr);
    gap: 25px;
  }

  .curated-page-copy h1 {
    font-size: clamp(2.8rem, 7.5vw, 4.8rem);
  }

  .curated-principle-card {
    padding: 21px;
  }
}

@media (max-width: 599px) {
  .curated-page-hero {
    padding: 42px 0;
  }

  .curated-page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(125px, .58fr);
    align-items: stretch;
    gap: 10px;
  }

  .curated-page-copy h1 {
    margin: 8px 0 11px;
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: .98;
  }

  .curated-page-copy > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .64rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .curated-principle-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    border-left-width: 3px;
    border-radius: 0 12px 12px 0;
  }

  .curated-principle-card strong {
    font-size: .82rem;
    line-height: 1.2;
  }

  .curated-principle-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    font-size: .5rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .curated-products-shell {
    min-height: 400px;
    padding: 36px 0 56px;
  }

  .curated-results-head {
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .curated-results-head strong { font-size: .92rem; }
  .curated-results-head span { font-size: .52rem; }
  .curated-results-head > a { padding: 7px 10px; font-size: .55rem; white-space: nowrap; }

  .curated-empty-state {
    min-height: 260px;
    padding: 28px 14px;
    border-radius: 16px;
  }

  .curated-empty-state > span { width: 44px; height: 44px; font-size: 1.2rem; }
  .curated-empty-state p { font-size: .68rem; }
}
