.catalog-sr-only, .product-card-variant .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.boutique-theme .catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.catalog-heading h2 em { color: #39756a; }
.catalog-heading .catalog-search { width: min(350px, 42%); }
.catalog-heading .catalog-search input {
  border-radius: 24px;
  background: #fffcf6;
  font-size: 14px;
}

.collection .collection-offer {
  gap: clamp(14px, 3vw, 32px);
  padding: 16px clamp(18px, 3vw, 34px);
  margin: 0 0 22px;
  border-radius: 14px;
  color: #fff9ec;
  background-color: #275c50;
  background-image: linear-gradient(105deg, #285c50e8, #27594fe8), url('assets/knit-stitches.svg');
  border: 1px solid #2f6a5c;
  box-shadow: none;
}
.collection-offer .offer-mark {
  flex: none;
  font: italic 500 clamp(40px, 4.2vw, 60px)/1 var(--serif);
  color: #f7dfbb;
}
.collection-offer [data-discount-offer] {
  font: 500 clamp(20px, 2.1vw, 28px)/1.15 var(--serif);
  text-wrap: balance;
}
.collection-offer small { font: 400 12px/1.5 var(--sans); margin: 0; color: #eff5ec; max-width: none; }
.collection-offer > button { min-height: 44px; padding: 8px 16px; }

.boutique-theme .collection-tools {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 18px;
}
.collection .catalog-topline { padding: 0; }
.collection .category-filters { gap: 6px 24px; }
.collection .category-filters button {
  padding: 3px 1px 10px;
  border-bottom-width: 3px;
  min-height: 44px;
  font-size: 15px;
  color: #53655a;
}
.collection .category-filters button[aria-pressed="true"] { color: #214c42; font-weight: 650; }
.collection .catalog-bottomline { padding-top: 12px; border-top: 1px solid #cdd8cc; }
.boutique-theme .collection .filters { gap: 6px; }
.boutique-theme .collection .filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  min-height: 42px;
  font-size: 13px;
  border-radius: 25px;
}
.boutique-theme .collection .filters button span { font-size: 11px; }
.catalog-results, .boutique-theme .collection-count { font-size: 13px; }
.catalog-reset { font-size: 12px; }

.boutique-theme .product-grid { gap: clamp(16px, 2.4vw, 30px); }
.boutique-theme .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #d8d9cb;
  border-radius: 15px;
  background: #fffbf3;
  box-shadow: 0 3px 9px #34463409;
}
.boutique-theme .product-card .product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
}
.boutique-theme .product-card .product-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.boutique-theme .product-card .status-badge {
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  font: 600 12px/1.25 var(--sans);
  padding: 6px 10px;
  background: #fff9ed;
  color: #694f32;
}
.boutique-theme .product-card .status-badge.available { background: #eaf6eb; color: #285a44; }
.boutique-theme .product-card .product-card-body { padding: clamp(15px, 1.7vw, 23px); }
.boutique-theme .product-card .product-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1px 7px;
  min-height: 0;
  margin: 0 0 6px;
  font: 550 12px/1.45 var(--sans);
  color: #5f685a;
  letter-spacing: 0;
  text-transform: none;
}
.product-meta span + span::before { content: '·'; padding-right: 7px; }
.boutique-theme .product-card h3 {
  min-height: 0;
  margin: 0;
  font: 500 clamp(23px, 2.1vw, 32px)/1.1 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.boutique-theme .product-card .product-summary {
  font: 400 14px/1.55 var(--sans);
  color: #4b5e54;
  min-height: 0;
  max-width: none;
  margin: 8px 0 0;
}
.product-card-variant {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  min-height: 44px;
  margin: 5px 0 -4px;
  font-size: 12px;
  color: #315c50;
}
.product-card-variant .icon { width: 13px; height: 13px; }
.variant-previews { display: inline-flex; padding-right: 4px; }
.variant-previews img { width: 26px; height: 26px; margin-right: -4px; object-fit: cover; border: 2px solid #fffaf2; border-radius: 50%; }
.card-purchase { margin-top: auto; padding-top: 15px; }
.boutique-theme .product-card .product-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: 0;
}
.product-card .sale-badge { margin: 0 0 6px; }
.boutique-theme .product-card .price {
  font: 650 clamp(20px, 1.7vw, 25px)/1.2 var(--sans);
  color: #24594b;
  white-space: nowrap;
}
.boutique-theme .product-card .price-unit { display: inline; margin: 0; font: 400 12px/1.35 var(--sans); color: #5a675e; }
.boutique-theme .product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 5px;
  border-top: 1px solid #e1e3d6;
  margin: 13px 0 0;
  padding-top: 10px;
}
.boutique-theme .product-card-actions .product-cta {
  justify-content: flex-start;
  gap: 5px;
  padding: 4px 0;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  color: #34594c;
}
.boutique-theme .product-card-actions .product-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.boutique-theme .product-card-actions .product-add {
  width: auto;
  min-height: 44px;
  padding: 6px 17px;
  border-radius: 22px;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}
.catalog-pagination {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 4px 0 8px;
}
.catalog-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 24px;
  border: 1px solid #789e8e;
  background: #fffbf3;
  color: #255345;
  border-radius: 24px;
  font: 600 14px/1.25 var(--sans);
}
.catalog-pagination button:hover { background: #e6eee3; }
.catalog-pagination .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.boutique-theme .catalog-editorial { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .boutique-theme .catalog-heading { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 15px; }
  .catalog-heading .catalog-search { width: 100%; max-width: none; }
  .catalog-heading .catalog-search input { font-size: 16px; min-height: 46px; }
  .collection .collection-offer { margin-bottom: 10px; padding: 14px; gap: 13px; }
  .collection-offer > button { display: none; }
  .collection-offer [data-discount-offer] { font-size: 20px; }
  .collection-offer small { font-size: 11px; line-height: 1.45; }
  .collection .catalog-bottomline { flex-direction: column; align-items: stretch; gap: 6px; }
  .collection .catalog-results { justify-content: space-between; min-height: 28px; }
}
@media (max-width: 620px) {
  .collection .category-filters { display: flex; gap: 0; justify-content: space-between; }
  .collection .category-filters button { padding: 5px 1px; min-height: 44px; font-size: clamp(12px, 3.1vw, 15px); }
  .boutique-theme .collection .filters button { padding: 5px clamp(7px, 2.2vw, 11px); min-height: 44px; gap: 5px; font-size: 12px; }
  .boutique-theme .collection-tools { margin-bottom: 9px; }
  .boutique-theme .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .boutique-theme .product-card { border-radius: 12px; }
  .boutique-theme .product-card .product-image { aspect-ratio: 4 / 5; }
  .boutique-theme .product-card .status-badge { top: 6px; left: 6px; max-width: calc(100% - 12px); font-size: 10px; padding: 5px 7px; }
  .boutique-theme .product-card .product-card-body { padding: 11px clamp(8px, 2.4vw, 14px) 9px; }
  .boutique-theme .product-card .product-meta { gap: 0 4px; margin: 0 0 4px; font-size: 10.5px; }
  .product-meta span + span::before { padding-right: 4px; }
  .boutique-theme .product-card h3 { font-size: clamp(19px, 4.9vw, 27px); }
  .boutique-theme .product-card .product-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.42; margin-top: 6px; }
  .product-card-variant { flex-wrap: wrap; gap: 4px; font-size: 11px; }
  .variant-previews img { width: 20px; height: 20px; }
  .product-card-variant .icon { display: none; }
  .card-purchase { padding-top: 10px; }
  .boutique-theme .product-card .price { font-size: clamp(18px, 4.4vw, 22px); }
  .boutique-theme .product-card .price-unit { font-size: 10.5px; }
  .boutique-theme .product-card-actions { gap: 3px; margin-top: 8px; padding-top: 5px; }
  .boutique-theme .product-card-actions .product-cta { font-size: 11.5px; line-height: 1.25; }
  .boutique-theme .product-card-actions .product-cta .icon { display: none; }
  .boutique-theme .product-card-actions .product-add { min-width: 0; padding: 4px 9px; gap: 3px; font-size: 12px; }
  .product-card-actions .product-add span { font-size: 15px; }
}
@media (max-width: 360px) {
  .boutique-theme .product-card-actions .product-add { padding-inline: 6px; }
  .boutique-theme .collection .filters button { font-size: 11px; }
}
