.storefront, .store-product {
  padding-block: clamp(2rem, 5vw, 4.75rem) clamp(3rem, 7vw, 6rem);
}

.storefront [hidden] { display: none !important; }

.store-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(1.5rem, 3.5vw, 3.25rem);
}
.store-home-intro h1 {
  font-size: clamp(2.75rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  margin: 0 0 .9rem;
}
.store-home-intro h1 span { display: block; color: var(--blue); }
.store-home-intro p {
  margin: 0 0 1.4rem;
  max-width: 37ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}
.store-home-intro img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: center 52%;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.store-home-intro + .storefront {
  padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.store-intro { margin-bottom: 1.9rem; }
.store-intro h1, .store-product-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1;
  margin: 0 0 .85rem;
  overflow-wrap: anywhere;
}
.store-intro p { color: var(--muted); margin: 0; }
.store-intro h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; margin: 0; }

.store-filters {
  display: grid;
  grid-template-columns: 1.25fr .85fr 1.1fr auto;
  align-items: end;
  gap: 1rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 1.05rem;
  border-radius: 1rem;
}
.store-field { min-width: 0; }
.store-field label { font-size: .875rem; font-weight: 750; display: block; margin-bottom: .35rem; }
.store-field input, .store-field select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 2.9rem;
  border: 1px solid #aca398;
  border-radius: .55rem;
  padding: .5rem .75rem;
  background-color: #fff;
  color: var(--ink);
  font-size: 1rem;
  text-overflow: ellipsis;
}
.store-field select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 52%, currentColor 52%), linear-gradient(135deg, currentColor 52%, transparent 52%);
  background-position: right 1rem center, right .66rem center;
  background-size: .34rem .34rem;
  background-repeat: no-repeat;
}
.store-reset, .store-empty button {
  min-height: 2.9rem;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-size: .875rem;
  font-weight: 750;
  text-underline-offset: .18em;
  text-decoration: underline;
  padding-inline: .55rem;
  white-space: nowrap;
}
.store-reset:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.store-count { margin: 1.1rem 0 .85rem; color: var(--muted); font-size: .875rem; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.1rem;
}
.store-card { position: relative; border-radius: .85rem; min-width: 0; }
.store-card-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: inherit;
  background: #fffdf8;
  transition: border-color .16s;
}
.store-card-link:hover, .store-card-link:focus-visible { border-color: var(--blue); }
.store-card-media { background: #f0ece6; aspect-ratio: 1; overflow: hidden; }
.store-card-media img { width: 100%; height: 100%; object-fit: contain; }
.store-card-copy { padding: .85rem 1rem 1rem; }
.store-card-copy :is(h2, h3) { font-size: clamp(1.12rem, 2.1vw, 1.5rem); letter-spacing: -.022em; line-height: 1.13; margin: 0 0 .46rem; overflow-wrap: anywhere; }
.store-card-action { color: var(--blue); font-size: .875rem; font-weight: 750; }
.store-empty {
  border: 1px dashed var(--line);
  border-radius: .8rem;
  margin: .7rem 0 0;
  padding: 1.1rem;
  background: #fffdf8;
}
.store-help { margin: 1.6rem 0 0; font-size: .9rem; color: var(--muted); }
.store-help a, .store-breadcrumb a, .store-gallery-notice a { color: var(--blue); text-decoration: underline; text-underline-offset: .17em; }
.store-related { margin: 0 0 1.25rem; }
.store-related p { margin: 0 0 .4rem; color: var(--muted); }
.store-related ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.store-related a { display: inline-block; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }

.store-breadcrumb {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.store-product-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 5vw, 4.5rem); }
.store-gallery { min-width: 0; }
.store-stage {
  aspect-ratio: 1;
  background: #f0ece6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .85rem;
}
.store-stage img, .store-stage video { width: 100%; height: 100%; object-fit: contain; }
.store-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.65rem, 5.15rem));
  gap: .55rem;
  padding: 0;
  margin: .8rem 0 0;
  list-style: none;
}
.store-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: .48rem;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f0ece6;
}
.store-thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-thumb[aria-current="true"], .store-thumb:hover { border-color: var(--blue); }
.store-thumb-video span {
  position: absolute;
  bottom: .18rem;
  border-radius: .25rem;
  background: #fffdf8;
  color: var(--ink);
  padding: .06rem .28rem;
  font-size: .75rem;
  font-weight: 750;
}
.store-gallery-notice { margin: .55rem 0 0; font-size: .875rem; }
.store-kicker { color: var(--blue); font-size: .875rem; margin-bottom: .5rem; font-weight: 750; }
.store-product-lead { font-size: clamp(1rem, 2vw, 1.22rem); color: var(--muted); margin-bottom: 1.25rem; }
.store-fit { border-block: 1px solid var(--line); padding-block: .85rem; margin-bottom: 1.3rem; }
.store-fit h2 { font-size: 1.14rem; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .4rem; }
.store-fit p { font-size: 1rem; margin: 0; }
.store-etsy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  width: 100%;
  padding: .7rem 1.3rem;
  border-radius: .55rem;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}
.store-etsy:hover { background: #252dc3; }
.store-order-note { color: var(--muted); font-size: .875rem; margin: .75rem 0 0; }
.store-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .store-reset { grid-column: 1 / -1; justify-self: end; min-height: 2rem; }
}
@media (max-width: 700px) {
  .store-home-intro { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .store-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .75rem; }
  .store-field:first-child { grid-column: 1 / -1; }
  .storefront--catalog { padding-block-start: 1.1rem; }
  .storefront--catalog .store-intro { margin-bottom: 1rem; }
  .storefront--catalog .store-intro h1 { font-size: clamp(1.8rem, 7.6vw, 2.6rem); line-height: 1.1; margin-bottom: .45rem; }
  .storefront--catalog .store-filters { gap: .65rem; padding: .65rem; }
  .storefront--catalog .store-reset { min-height: 44px; }
  .storefront--catalog .store-reset:disabled { display: none; }
  .storefront--catalog .store-count { margin: .8rem 0 .65rem; }
  .store-card-copy { padding: .7rem; }
  .store-product-layout { grid-template-columns: minmax(0, 1fr); }
  .store-product-copy h1 { font-size: clamp(2.45rem, 7.5vw, 3.6rem); }
  .store-thumbs { grid-template-columns: repeat(auto-fill, minmax(3.1rem, 1fr)); gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) { .store-card-link { transition: none; } }
