.shop-mast {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 84px);
  padding-block: clamp(24px, 3.25vw, 50px);
}
.shop-mast h1 {
  margin: 18px 0 15px;
  color: var(--ink);
  font: 400 clamp(68px, 7.7vw, 118px)/.97 var(--display);
  letter-spacing: -.05em;
}
.shop-lead {
  margin: 0; color: var(--muted);
  font: 400 clamp(15px, 1.3vw, 18px)/1.55 var(--home-body);
}
.shop-still {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, clamp(260px, 29vw, 400px));
  margin: 0;
}
.shop-still::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18% 0 0;
  border-radius: 50% 50% 14px 14px;
  background: #e9dfd1;
}
.shop-still img {
  display: block;
  width: 92%;
  height: auto;
  margin-inline: auto;
  mask-image: linear-gradient(to right, black 77%, transparent);
}
.shop-collection { border-top: 1px solid var(--line); padding-bottom: var(--section-space); }
.shop-controls {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; padding-block: 16px;
}
.shop-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.shop-filters[hidden], .shop-card[hidden] { display: none; }
.shop-filters button {
  min-height: 36px; padding: 6px 15px;
  border: 1px solid transparent; background: transparent; border-radius: 999px;
  font: 500 13px/1.25 var(--sans); color: var(--ink);
}
.shop-filters button[aria-pressed="true"] { background: var(--teal); color: white; }
.shop-filters button:hover:not([aria-pressed="true"]) { border-color: #bacdc3; }
.shop-tools { display: flex; align-items: center; gap: 18px; }
#product-count { color: var(--muted); font: 400 12px/1.4 var(--home-body); font-variant-numeric: tabular-nums; }
.shop-tools .cart-link { font-size: 13px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.8vw, 54px) clamp(13px, 2vw, 28px); }
.shop-card { min-width: 0; }
.shop-card > a { display: block; text-decoration: none; border-radius: 15px; }
.shop-photo { position: relative; overflow: hidden; background: #eeeae3; border-radius: 15px; }
.shop-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.product-status {
  position: absolute; left: 12px; top: 12px; padding: 5px 11px;
  background: #fffcf5; color: var(--ink); border-radius: 20px;
  font: 500 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.product-caption { padding: 14px 2px 0; }
.product-caption h2 { font: 400 clamp(22px, 2.1vw, 32px)/1.1 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; hyphens: auto; }
.product-caption p { margin: 6px 0 0; color: var(--teal); font: 500 13px/1.5 var(--home-body); }
.product-caption del { color: var(--muted); margin-right: 4px; }
.shop-card a:is(:hover, :focus-visible) h2 { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .shop-photo img { transition: transform 550ms var(--ease-out); }
  .shop-card a:hover img { transform: scale(1.03); }
}
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-mast { column-gap: 20px; }
  .shop-mast h1 { font-size: clamp(58px, 9vw, 76px); }
  .shop-filters { gap: 1px; }
  .shop-filters button { padding-inline: 11px; }
}
@media (max-width: 520px) {
  .shop-mast { grid-template-columns: 1fr; row-gap: 20px; padding-block: 30px 24px; }
  .shop-mast h1 { margin: 12px 0 8px; }
  .shop-intro .home-actions { margin-top: 17px; }
  .shop-still { width: min(72%, 280px); }
  .shop-controls { gap: 0; }
  .shop-tools { width: 100%; justify-content: space-between; }
  .shop-filters button { min-height: 38px; padding-inline: 10px; }
  .shop-photo { border-radius: 11px; }
  .product-status { top: 8px; left: 8px; padding: 4px 8px; font-size: 9px; }
  .product-caption { padding-top: 9px; }
  .product-caption p { font-size: 12px; margin-top: 3px; }
}
.collection-options { border-top:1px solid var(--line); margin:0 0 16px; font-size:14px; }
.collection-options summary { cursor:pointer; color:var(--teal); padding:12px 0; }
.collection-options form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; padding-bottom:12px; }
.collection-options label { display:grid; gap:4px; }
.collection-options :is(select,input,button) { background:#fffdfa; border:1px solid #b7c7be; border-radius:8px; padding:8px 10px; color:var(--ink); font:inherit; }
.collection-options input { max-width:95px; }
