.seller-shops {
  --shop-color:#8bb72f;
  --shop-line:var(--edge);
  --shop-space:clamp(14px,2.4vw,26px);
}
.seller-shops [hidden] {display:none}
.shop-tone-lime {--shop-color:#89b32f}
.shop-tone-violet {--shop-color:#a382f3}
.shop-tone-cyan {--shop-color:#36b6bb}
.shop-tone-amber {--shop-color:#e2a645}
.shop-filters {
  display:grid;
  grid-template-columns:minmax(160px,1.45fr) repeat(3,minmax(115px,1fr)) auto;
  align-items:end;
  gap:12px;
  margin:0 0 18px;
}
.shop-filters :is(input,select),.shop-editor-layout :is(input:not([type=checkbox]),textarea,select) {
  width:100%;
  min-width:0;
  min-height:44px;
}
.seller-shops .filter-label {grid-template-columns:minmax(0,1fr);min-width:0}
.shop-directory-grid,.shop-inventory-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.shop-directory-card {
  border-top:3px solid var(--shop-color);
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  gap:11px;
  min-width:0;
}
.shop-directory-card>div:first-child {display:flex;align-items:center;gap:11px;min-width:0;width:100%}
.shop-directory-card h2,.shop-banner-text h1,.shop-listing h3 {overflow-wrap:anywhere}
.shop-directory-card h2 {font-size:1.15rem}
.shop-directory-card p {line-height:1.45;overflow-wrap:anywhere}
.shop-directory-card .button {margin-top:auto}
.shop-monogram {
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:none;
  width:44px;
  aspect-ratio:1;
  border:1px solid color-mix(in srgb,var(--shop-color) 70%,transparent);
  border-radius:12px;
  background:color-mix(in srgb,var(--shop-color) 22%,var(--raised));
  color:var(--ink);
  font-size:1.22rem;
  font-weight:850;
}
.shop-monogram:has(img:not([hidden])) > span {visibility:hidden}
.shop-monogram img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shop-photo-upload {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:12px;border:1px solid var(--shop-line);border-radius:12px}
.shop-photo-preview .shop-monogram {width:60px}
.shop-photo-upload .stack {min-width:0;gap:6px;justify-items:start}
.shop-photo-upload label {width:100%}
.shop-photo-upload .mini:empty {display:none}
.shop-availability {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--ink);
  font-weight:720;
}
.shop-availability i {width:8px;height:8px;border-radius:50%;background:#85b638;flex:none}
.shop-availability[data-availability=limited] i {background:#e7a646}
.shop-availability[data-availability=vacation] i {background:#ac89eb}
.shop-badges,.shop-route-actions,.shop-pagination {display:flex;gap:8px 13px;align-items:center;flex-wrap:wrap}
.shop-badges {font-size:.86rem;color:var(--muted)}
.shop-pagination {justify-content:center;margin-top:20px}
.shop-banner {
  padding:var(--shop-space);
  border:1px solid var(--shop-line);
  border-top:4px solid var(--shop-color);
  border-radius:19px;
  background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--shop-color) 26%,transparent),transparent 59%),var(--surface);
}
.shop-banner-grid {display:flex;align-items:center;gap:15px}
.shop-banner-text {min-width:0}
.shop-banner-text>p {margin-top:5px}
.shop-banner .shop-monogram {width:clamp(53px,10vw,82px);font-size:clamp(1.5rem,4vw,2.25rem)}
.shop-banner h1 {font-size:clamp(1.7rem,5vw,3rem);line-height:1.1}
.shop-headline {margin-block:.35rem;color:var(--ink);overflow-wrap:anywhere}
.shop-banner .shop-badges {margin-top:.2rem}
.shop-bio {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin-top:16px;max-width:60ch}
.shop-route-actions {margin:0 0 12px}
.shop-route-actions>.filter-label {flex-basis:100%;max-width:420px}
.shop-inventory {margin-top:24px}
.shop-inventory>h2 {margin-bottom:11px;font-size:1.28rem}
.shop-inventory .shop-filters {grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(110px,1fr)) auto}
.shop-inventory [data-shop-tally] {margin:.2rem 0 .6rem}
.shop-checkbox {display:flex;gap:8px;align-items:center;min-height:44px}
.shop-checkbox input {margin:0;width:19px;height:19px;accent-color:var(--accent);flex:none}
.shop-listing {padding:0;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.shop-listing-image {display:block;overflow:hidden;aspect-ratio:16/8}
.shop-listing-image img {width:100%;height:100%;object-fit:cover;transition:transform .2s}
.shop-listing-image:hover img {transform:scale(1.03)}
.shop-listing-body {padding:13px;display:grid;gap:7px;align-content:start;flex:1}
.shop-listing-meta,.shop-listing-price {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.shop-listing-meta {justify-content:space-between;font-size:.78rem;color:var(--muted)}
.shop-listing-kind {padding:3px 7px;border-radius:6px;background:var(--wash);color:var(--accent-ink);font-weight:720}
.shop-listing-meta strong {color:var(--accent-ink)}
.shop-listing h3 {font-size:1.05rem}
.shop-listing-price {color:var(--ink);margin-top:auto;padding-top:4px}
.shop-listing-price strong {font-size:1.25rem}
.shop-editor-layout {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
.shop-editor-preview {display:grid;gap:10px;min-width:0}
.shop-editor-preview [data-shop-preview] {display:grid;gap:10px}
.shop-editor-preview h2 {font-size:1.2rem}
.shop-editor-preview .shop-listing {max-width:310px}
.shop-edit-controls {display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.shop-edit-row {padding-bottom:10px;border-bottom:1px solid var(--shop-line)}
.shop-editor-layout .shop-route-actions {margin:0}
.seller-shops :is(a,button,input,select,textarea):focus-visible {outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:850px) {
  .shop-filters,.shop-inventory .shop-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-directory-grid,.shop-inventory-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px) {
  .shop-editor-layout {grid-template-columns:minmax(0,1fr)}
  .shop-directory-grid,.shop-inventory-grid {gap:8px}
  .shop-filters,.shop-inventory .shop-filters {gap:8px}
  .shop-listing-body {padding:9px}
  .shop-banner {padding:13px}
  .shop-badges {gap:4px 9px}
}
@media(max-width:360px) {
  .shop-directory-grid,.shop-inventory-grid {grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce) {
  .shop-listing-image img {transition:none}
}
