/* Editorial, minimal, high-end product cards */
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #fcfbf8;
  color: #222;
}

.editorial-header {
  margin-top: 40px;
  margin-bottom: 32px;
}
.editorial-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}
.editorial-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.editorial-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.editorial-filter {
  border: none;
  background: #f3f2ef;
  color: #222;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.editorial-filter.active {
  background: #a05a00;
  color: #fff;
}

.editorial-products-row {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}
.editorial-product-card {
  background: #fff;
  border: 1px solid #e6e2d9;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(45, 41, 34, 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.editorial-product-card:hover {
  border-color: #d4c7af;
  box-shadow: 0 14px 30px rgba(45, 41, 34, 0.14);
  transform: translateY(-4px);
}
.editorial-product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  border-bottom: 1px solid #e8ebf1;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
  padding: 10px;
}
.editorial-category-pill {
  background: #edf5e6;
  color: #4d7f2a;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  padding: 0.34rem 0.82rem;
  text-transform: uppercase;
  margin-top: 7px;
  margin-left: 7px;
}
.editorial-product-info {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1rem 1.15rem;
  text-align: center;
  width: 100%;
}
.editorial-product-title {
  color: #222;
  display: -webkit-box;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 0.15rem;
  min-height: 3.1rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.editorial-product-description {
  color: #76736d;
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.45;
  margin-bottom: 0.18rem;
  min-height: 2.7rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.editorial-product-price {
  color: #4d852d;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.editorial-add-btn {
  background: #fff;
  border: 1px solid #d9cebb;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(45, 41, 34, 0.18);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #3f3525;
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.editorial-add-btn:hover {
  transform: scale(1.06);
  background: #4d852d;
  color: #fff;
}

@media (max-width: 1199.98px) {
  .editorial-products-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .editorial-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .editorial-product-card img {
    height: 220px;
  }

  .editorial-product-title {
    font-size: 1.08rem;
  }

  .editorial-product-price {
    font-size: 1.65rem;
  }
}

@media (max-width: 575.98px) {
  .editorial-header {
    margin-top: 20px;
    margin-bottom: 18px;
  }
  .editorial-title {
    font-size: 2rem;
  }

  .editorial-products-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .editorial-product-card img {
    height: 210px;
  }

  .editorial-product-title,
  .editorial-product-description {
    min-height: auto;
  }
}
