/* Additions for the original Farbatelier layout and its product collection. */
.bestseller-product h1 {
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -2px;
  overflow-wrap: anywhere;
}
.material-composition { font-size: 14px; color: var(--ink); margin: 0; }
.bestseller-product .facts { flex-wrap: wrap; row-gap: 14px; }
.bestseller-product .fact strong { white-space: nowrap; }
.bestseller-product .image-stage > .skein-photo { width: 100%; height: 450px; }
.condition-note {
  border-left: 2px solid var(--warm);
  padding: 8px 12px;
  margin: 16px 0 10px;
  font-size: 12px;
  color: var(--ink);
}
.yarn-highlights { padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-neighbors {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 10px 0 48px;
  font-size: 12px;
}
.product-neighbors > a { text-decoration: none; }
.product-neighbors > a:last-child { text-align: right; }
.product-neighbors span { display: block; color: var(--muted); margin-bottom: 7px; font-size: 11px; }
.product-neighbors strong { font-weight: 500; }
.collection-intro { padding: 58px 0 38px; max-width: 880px; }
.collection-intro h1 { font-size: clamp(42px, 5vw, 70px); letter-spacing: -2px; }
.collection-intro > p:last-child { max-width: 630px; color: var(--muted); font-size: 15px; }
.catalog-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 190px;
  gap: 18px;
  align-items: end;
  margin-top: 32px;
}
.catalog-controls label { display: grid; gap: 8px; font-size: 12px; }
.catalog-controls input, .catalog-controls select {
  width: 100%;
  padding: 13px 12px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: white;
  font-size: 12px;
}
.catalog-count { font-size: 12px; color: var(--muted); margin: 22px 0; }
.bestseller-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding-bottom: 55px; }
.bestseller-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); min-width: 0; }
.bestseller-visual { position: relative; display: grid; place-items: center; height: 260px; padding: 28px; background: #eeede5; }
.bestseller-visual > img { width: 100%; height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.bestseller-rank { position: absolute; top: 17px; left: 18px; font: italic 22px var(--serif); color: var(--muted); }
.bestseller-card-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.bestseller-card h2 { font-size: 31px; letter-spacing: -.5px; overflow-wrap: anywhere; margin-bottom: 15px; }
.bestseller-card h2 a { text-decoration: none; }
.bestseller-card p { font-size: 12px; color: var(--muted); }
.bestseller-card .eyebrow { font-size: 10px; color: var(--warm); }
.bestseller-card .card-material { color: var(--ink); }
.card-facts { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 11px; margin: 0 0 20px; color: var(--muted); }
.card-price { display: flex; gap: 10px; align-items: baseline; margin-top: auto; }
.card-price strong { font-size: 26px; font-weight: 400; }
.card-price > span { font-size: 11px; color: var(--muted); }
.bestseller-card .card-unit { font-size: 11px; line-height: 1.6; margin: 5px 0 22px; }
.card-discover { display: flex; justify-content: space-between; font-size: 12px; padding-top: 16px; border-top: 1px solid var(--line); text-decoration: none; }
@media (max-width: 1050px) {
  .bestseller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .catalog-controls { grid-template-columns: minmax(200px, 1fr) 160px 160px; gap: 12px; }
  .bestseller-product .product-hero { gap: 36px; }
}
@media (max-width: 820px) {
  .catalog-controls { grid-template-columns: 1fr 1fr; }
  .catalog-search { grid-column: 1 / -1; }
  .bestseller-product .product-hero { grid-template-columns: 1fr; }
  .bestseller-product .hero-visual { width: 100%; max-width: 600px; margin: 0 auto; }
  .bestseller-product .product-info { padding: 0; }
  .bestseller-product .image-stage > .skein-photo { height: 390px; }
}
@media (max-width: 560px) {
  .collection-intro { padding: 35px 0 26px; }
  .collection-intro > p:last-child { font-size: 14px; }
  .bestseller-grid { grid-template-columns: 1fr; gap: 22px; }
  .bestseller-card-body { padding: 23px; }
  .bestseller-visual { height: 230px; }
  .bestseller-visual > img { height: 185px; }
  .bestseller-product .image-stage > .skein-photo { height: 320px; }
  .bestseller-product .fact { padding-right: 16px; margin-right: 16px; }
  .bestseller-product .fact strong { font-size: 17px; }
  .bestseller-product .spec-list div { gap: 15px; }
  .bestseller-product .spec-list dd { max-width: 60%; }
  .product-neighbors { grid-template-columns: 1fr 1fr; gap: 25px 16px; padding-bottom: 30px; }
  .product-neighbors > a:nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .bestseller-product .sticky-color > div { min-width: 0; }
}
