/* Highland & Hem: shop page (title, toolbar, filters, product grid, load more) */
.shop-head {
  padding-top: clamp(32px, 4vw, 56px); padding-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between;
}
.shop-head__title { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.crumbs { font-size: 14px; color: var(--taupe); }
.crumbs span { margin-inline: 4px; }
.shop-title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6vw, 88px); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap;
}
.shop-title .reveal-line { padding: .12em 0 .14em; margin: -.12em 0 -.06em; }
.shop-title .reveal { animation-duration: 1.1s; }
.shop-intro { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--muted); animation-delay: .4s; }

/* Sticky toolbar */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 10;
  background: rgba(243, 237, 228, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.toolbar__bar { padding-block: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.chips { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.chips::-webkit-scrollbar { display: none; }
.toolbar__controls { flex: none; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.toolbar__count { color: var(--taupe); }
.chip, .sort {
  flex: none; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: none; font-size: 14px; color: var(--espresso);
}
.sort { padding: 9px 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }

/* Filter panel */
.filters {
  padding-top: 18px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 24px 56px;
  border-top: 1px solid var(--line);
}
.filters__group { display: flex; flex-direction: column; gap: 10px; }
.filters__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.filters__options { display: flex; flex-wrap: wrap; gap: 6px; }
.filters__options--colors { gap: 8px; }
.size-chip {
  min-width: 44px; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--card); font-size: 14px;
}
.size-chip--wide { padding: 0 14px; }
.size-chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
.color-chip { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(43, 38, 32, .25); }
.color-chip[aria-pressed="true"] { border: 2px solid var(--espresso); box-shadow: inset 0 0 0 2px var(--linen); }
.filters__clear { align-self: flex-end; border: 0; background: none; padding: 10px 0; font-size: 14px; text-decoration: underline; }

/* Product grid */
.results { padding-top: clamp(28px, 3vw, 40px); padding-bottom: clamp(64px, 8vw, 104px); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 20px); }
.product { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tile); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; flex-direction: column; gap: 8px; padding: 10px;
  border-radius: 14px; background: rgba(243, 237, 228, .95);
}
.quick-add__label { font-size: 12px; color: var(--taupe); text-align: center; }
.quick-add__sizes { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.quick-add__size {
  min-width: 36px; height: 32px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: #fff; font-size: 13px;
}
.quick-add__size:hover { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .quick-add { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .product:hover .quick-add, .product:focus-within .quick-add { opacity: 1; transform: none; }
}
.product__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.product__name { margin: 0; font-size: inherit; font-weight: 400; }
.product__price { flex: none; }
.product__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: -4px; }
.product__maker { font-size: 13px; color: var(--taupe); }
.product__swatches { display: flex; gap: 4px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(43, 38, 32, .2); }

/* Empty state + progress */
.empty { padding: 80px 0; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.empty__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.empty .btn { padding: 13px 22px; }
.progress { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.progress__label { font-size: 14px; color: var(--taupe); }
.progress__track { width: 220px; height: 2px; background: var(--line); }
.progress__bar { width: 0; height: 2px; background: var(--espresso); transition: width .4s var(--ease); }
.progress .btn { margin-top: 6px; padding: 14px 28px; }

@media (max-width: 1099px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 979px) { .toolbar__count { display: none; } }
@media (max-width: 639px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar__bar { flex-wrap: wrap; }
  .chips { flex: 1 1 100%; }
  .toolbar__controls { flex: 1 1 100%; }
  .toolbar__controls .chip, .sort { flex: 1; }
  .filters { gap: 20px 32px; }
  .product__row { flex-wrap: wrap; gap: 2px 12px; }
  .quick-add { left: 6px; right: 6px; bottom: 6px; padding: 8px 6px; }
}
