@import url('core.css');

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #f5f3ef;
  color: #4a4742;
}

h1,
h2,
h3,
.all-products-catalog-head h2,
.all-products-collections-showcase h2,
.all-products-showcase-card-copy h3,
.all-products-filter-title,
.all-products-filter-group h4 {
  font-family: 'Cormorant Garamond', serif;
}

.all-products-top {
  margin-bottom: 1.6rem;
}

.all-products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
  color: #514940;
  font-size: 1.06rem;
}

.all-products-breadcrumb a {
  text-decoration: none;
  color: inherit;
}

.hero-all-products {
  min-height: 0;
  height: clamp(480px, calc(33vw - 20px), 590px);
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: stretch;
  background-image:
    linear-gradient(90deg, rgba(243, 236, 226, 0.97) 0%, rgba(243, 236, 226, 0.93) 38%, rgba(243, 236, 226, 0.22) 64%),
    url('assets/all-products-hero-image.png');
  background-position: 58% 26%;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.hero-all-products .hero-copy {
  width: min(58%, 780px);
  max-width: 690px;
  padding: 2rem 3.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-all-products .hero-copy h1 {
  margin: 0;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.75rem, 3vw, 3.4rem);
  line-height: 0.98;
  font-weight: 600;
}

.hero-all-products .hero-copy h2 {
  margin: 0.58rem 0 0;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.42rem, 1.66vw, 1.82rem);
  line-height: 1.08;
  font-style: italic;
  font-weight: 500;
}

.hero-all-products .hero-copy > p {
  margin: 1rem 0 0;
  color: #514940;
  max-width: 500px;
  font-size: 0.89rem;
  line-height: 1.38;
}

.all-products-hero-stats {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 0.88fr 1.48fr 0.78fr;
  border-top: 1px solid rgba(110, 87, 73, 0.24);
}

.all-products-hero-stat {
  padding: 0.68rem 0.9rem 0 0;
  min-width: 0;
}

.all-products-hero-stat + .all-products-hero-stat {
  border-left: 1px solid rgba(110, 87, 73, 0.24);
  padding-left: 0.9rem;
}

.all-products-hero-stat-label {
  margin: 0;
  color: #6e5849;
  font-size: 0.81rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.all-products-hero-stat-value {
  margin: 0.28rem 0 0;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 1.5vw, 1.78rem);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

#all-products-hero-collections {
  font-size: clamp(1.3rem, 1.5vw, 1.78rem);
  line-height: 1.18;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

#all-products-hero-collections.is-wrapped {
  white-space: pre-line;
}

.all-products-trust-band {
  margin: 0;
  border-left: 1px solid #e6ddd0;
  border-right: 1px solid #e6ddd0;
  border-bottom: 1px solid #e6ddd0;
  background: #f3ecdf;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.all-products-trust-item {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  justify-content: center;
  min-height: 70px;
  padding: 0.7rem 1rem;
  color: #514940;
  font-size: 1.03rem;
}

.all-products-trust-item + .all-products-trust-item {
  border-left: 1px solid #decfbf;
}

.all-products-trust-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.all-products-personalize-strip {
  margin-top: 1.4rem;
  border: 1px solid #decfbf;
  border-left: 6px solid #c85f2b;
  border-radius: 7px;
  background: #fbf7ef;
  padding: 1.65rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
}

.all-products-personalize-eyebrow {
  margin: 0;
  color: #c85f2b;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.all-products-personalize-strip h3 {
  margin: 0.35rem 0 0;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 2.5vw, 2.7rem);
  line-height: 1.1;
  font-weight: 600;
}

.all-products-personalize-strip p {
  margin: 0.4rem 0 0;
  color: #5f5447;
  font-size: 1.02rem;
  line-height: 1.4;
}

.all-products-personalize-cta {
  min-width: 360px;
  min-height: 60px;
  font-size: 1.02rem;
}

.all-products-catalog {
  margin-top: 3.35rem;
}

.all-products-catalog-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.6rem;
}

.all-products-catalog-head h2 {
  margin: 0;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  font-style: italic;
  font-weight: 500;
}

.all-products-catalog-head p {
  margin: 0.85rem 0 0;
  color: #5b534b;
  font-size: 1rem;
  line-height: 1.5;
}

.all-products-catalog-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.all-products-filter-rail {
  padding-right: 1.4rem;
  border-right: 1px solid #e6ddd0;
}

.all-products-filter-title {
  margin: 0 0 1.05rem;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

.all-products-filter-group {
  padding: 1.2rem 0 1.35rem;
  border-top: 1px solid #eadfce;
}

.all-products-filter-group h4 {
  margin: 0 0 0.9rem;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 500;
}

.all-products-filter-list {
  display: grid;
  gap: 0.72rem;
}

.all-products-filter-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  color: #595146;
  font-size: 1rem;
  line-height: 1.35;
}

.all-products-filter-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #c85f2b;
}

.all-products-filter-check small {
  color: #8a7b69;
  font-size: 0.96rem;
}

.all-products-filter-check--single {
  grid-template-columns: auto 1fr;
}

.all-products-price-range-label {
  margin: 0 0 0.9rem;
  color: #595146;
  font-size: 1rem;
}

.all-products-price-slider {
  width: 100%;
  accent-color: #5a3722;
}

.all-products-reset-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #c85f2b;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.all-products-results-summary {
  margin: 0 0 1.2rem;
  color: #7a7266;
  font-size: 0.98rem;
}

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.all-products-card {
  border: 1px solid #e9dece;
  border-radius: 16px;
  overflow: hidden;
  background: #fffdfa;
  box-shadow: 0 14px 30px rgba(119, 94, 73, 0.07);
}

.all-products-card-media {
  position: relative;
  background: linear-gradient(180deg, #f7f1e8 0%, #f4ecdf 100%);
  padding: 0.75rem;
}

.all-products-card-badges {
  position: absolute;
  top: 0.72rem;
  left: 0.72rem;
  right: 0.72rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 1;
}

.all-products-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 7px;
  text-decoration: none;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.all-products-card-badge--dark {
  background: #57412f;
}

.all-products-card-badge--accent {
  margin-left: auto;
  background: #c85f2b;
}

.all-products-card-image {
  aspect-ratio: 1 / 1;
  border-radius: 12px 12px 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.all-products-card-body {
  padding: 0 0 0.68rem;
}

.all-products-card-eyebrow {
  margin: 0.58rem 0.7rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #7e7266;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.all-products-card h3 {
  margin: 0;
  padding: 0.28rem 0.7rem 0;
  font-size: 1.02rem;
  color: #50463a;
  min-height: 2.65rem;
  font-family: 'Cormorant Garamond', serif;
}

.all-products-card .product-link {
  color: inherit;
  text-decoration: none;
}

.all-products-card-price {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  color: #463e34;
  min-height: 1.2rem;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.all-products-card-footer {
  margin-top: auto;
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0.7rem 0.2rem;
  padding-top: 0.2rem;
}

.all-products-card-swatches {
  min-height: 24px;
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0 0.7rem;
}

.all-products-card-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(92, 74, 58, 0.2);
}

.all-products-pagination {
  margin-top: 1.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.all-products-pagination-label {
  color: #7a7266;
  font-size: 0.98rem;
}

.all-products-pagination-controls {
  display: flex;
  gap: 0.8rem;
}

.all-products-page-btn {
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid #decfbf;
  border-radius: 999px;
  background: #fff;
  color: #7a5c45;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.all-products-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.all-products-page-btn--primary {
  border-color: transparent;
  background: transparent;
  color: #c85f2b;
}

.all-products-collections-showcase {
  margin-top: 2.8rem;
}

.all-products-collections-showcase h2 {
  margin: 0 0 1.25rem;
  text-align: center;
  color: #4a2f21;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  line-height: 1;
  font-weight: 500;
}

.all-products-collections-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.all-products-showcase-card {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44% 56%;
  background: linear-gradient(135deg, #f2eadf 0%, #dcc3a8 100%);
}

.all-products-showcase-card[data-theme='2'] {
  background: linear-gradient(135deg, #cd6d38 0%, #9c461f 100%);
}

.all-products-showcase-card[data-theme='3'] {
  background: linear-gradient(135deg, #8d5e3d 0%, #5c3926 100%);
}

.all-products-showcase-card-media {
  background-size: cover;
  background-position: center;
}

.all-products-showcase-card-copy {
  padding: 1.55rem 1.5rem 1.45rem;
  color: #4a2f21;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.all-products-showcase-card[data-theme='2'] .all-products-showcase-card-copy,
.all-products-showcase-card[data-theme='3'] .all-products-showcase-card-copy {
  color: #fff6ef;
}

.all-products-showcase-card-copy h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 2.5vw, 2.85rem);
  line-height: 0.96;
  font-weight: 500;
}

.all-products-showcase-card-subtitle {
  margin: 0.28rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.12;
  font-style: italic;
}

.all-products-showcase-card-details {
  display: grid;
  gap: 0.22rem;
  margin-top: 0.72rem;
}

.all-products-showcase-card-detail {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.38;
}

.all-products-showcase-card-copy a {
  margin-top: 0.98rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .hero-all-products {
    min-height: 420px;
    height: auto;
  }

  .hero-all-products .hero-copy {
    width: 58%;
    max-width: 620px;
    padding: 2.15rem 2rem 2rem;
  }

  .all-products-catalog-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.55rem;
  }

  .all-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .all-products-collections-showcase-grid {
    grid-template-columns: 1fr;
  }

  .all-products-showcase-card {
    min-height: 250px;
  }

  .all-products-trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .all-products-trust-item:nth-child(3),
  .all-products-trust-item:nth-child(4) {
    border-top: 1px solid #decfbf;
  }

  .all-products-trust-item:nth-child(3) {
    border-left: 0;
  }

  .all-products-personalize-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .all-products-personalize-cta {
    min-width: 320px;
  }
}

@media (max-width: 920px) {
  .all-products-catalog-shell {
    grid-template-columns: 1fr;
  }

  .all-products-filter-rail {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #e6ddd0;
    padding-bottom: 1.6rem;
  }

  .all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .all-products-breadcrumb {
    font-size: 1.05rem;
    margin-top: 0.7rem;
  }

  .hero-all-products {
    min-height: auto;
    background-position: 65% center;
  }

  .hero-all-products .hero-copy {
    max-width: 100%;
    width: 100%;
    padding: 1.4rem 1.2rem;
  }

  .hero-all-products .hero-copy > p {
    font-size: 1rem;
    max-width: 100%;
  }

  .all-products-hero-stats {
    grid-template-columns: 1fr;
  }

  .all-products-hero-stat + .all-products-hero-stat {
    border-left: 0;
    border-top: 1px solid rgba(110, 87, 73, 0.24);
    padding-left: 0;
  }

  #all-products-hero-collections {
    white-space: pre-line;
  }

  .all-products-trust-band {
    grid-template-columns: 1fr;
  }

  .all-products-trust-item + .all-products-trust-item {
    border-left: 0;
    border-top: 1px solid #decfbf;
  }

  .all-products-personalize-strip h3 {
    font-size: 2.2rem;
  }

  .all-products-personalize-strip p {
    font-size: 0.98rem;
  }

  .all-products-personalize-cta {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
  }

  .all-products-catalog {
    margin-top: 2.35rem;
  }

  .all-products-catalog-head {
    margin-bottom: 2rem;
  }

  .all-products-grid {
    grid-template-columns: 1fr;
  }

  .all-products-pagination {
    flex-direction: column;
  }

  .all-products-page-btn {
    width: 100%;
  }

  .all-products-showcase-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .all-products-showcase-card-media {
    min-height: 220px;
  }
}
