:root {
  --bg: #f5f2eb;
  --surface: #fffdf8;
  --surface-soft: #f0ece2;
  --ink: #181611;
  --muted: #6d675c;
  --line: #e1dbcf;
  --line-strong: #cdc4b4;
  --accent: #2f6b4f;
  --accent-ink: #ffffff;
  --accent-link: #2f6b4f;
  --danger: #9d2f2f;
  --danger-bg: #f9e9e6;
  --warn: #725613;
  --warn-bg: #faf1d8;
  --info-bg: #e9f0ea;
  --success: #2f6b4f;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 14px 34px rgba(44, 38, 27, 0.08);
  --shadow-small: 0 4px 14px rgba(44, 38, 27, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 500px at 75% -10%, rgba(255, 255, 255, 0.75), transparent 65%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
ul, ol { margin-top: 0; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.08em 0.3em;
  overflow-wrap: anywhere;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.shell { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2.5rem)); }
.section { padding: 2.5rem 0; }
.small { font-size: 0.83rem; line-height: 1.55; }
.muted { color: var(--muted); }
.align-right { text-align: right; }
.pre-line { white-space: pre-line; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.success-text { color: var(--success); font-weight: 600; }
.placeholder { border-left: 3px solid var(--warn); padding-left: 1rem; color: var(--muted); }

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid var(--accent-link);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header & footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, white 12%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
  padding-block: 0.6rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.wordmark--small { font-size: 1.15rem; }
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.93rem;
}
.site-nav > a { color: var(--ink); text-decoration: none; padding: 0.35rem 0.15rem; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { text-decoration: underline; }
.nav-user {
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.inline-form { display: inline-flex; margin: 0; align-items: center; gap: 0.4rem; }
.link-button {
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding: 0.35rem 0.1rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.demo-banner {
  background: var(--ink);
  color: #f5f2eb;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 2.2rem 0 2.8rem;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; max-width: 620px; font-size: 0.84rem; }
.footer-nav a { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.68rem 1.18rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.94rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, black 14%); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-small { min-height: 38px; padding: 0.48rem 0.85rem; font-size: 0.84rem; }
.btn-tiny { min-height: 32px; padding: 0.25rem 0.55rem; font-size: 0.78rem; border-radius: 7px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.text-link { font-weight: 600; }

/* Flash & notices */
.flash-stack { padding-top: 1rem; display: grid; gap: 0.5rem; }
.flash {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-small);
  font-size: 0.92rem;
}
.flash--success { border-color: color-mix(in srgb, var(--success) 35%, var(--line)); background: var(--info-bg); }
.flash--error { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); background: var(--danger-bg); color: #5c1d1d; }
.flash--info { background: var(--surface); }
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
}
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--warning { background: var(--warn-bg); border-color: #e4d19b; color: #4f3d0e; }
.notice--info { background: var(--info-bg); border-color: #cbd9ce; }
.notice ul { margin-bottom: 0; padding-left: 1.2rem; }

/* Home */
.home-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding: clamp(3rem, 7vw, 6rem) 0 2.5rem;
}
.home-hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 5.8vw, 4.7rem); margin-bottom: 0.8rem; }
.home-hero__lede { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--muted); margin-bottom: 1.6rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.search-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-small);
}
.search-form label { display: block; font-weight: 650; font-size: 0.86rem; margin-bottom: 0.45rem; }
.search-form__row { display: flex; gap: 0.5rem; }
.search-form input { flex: 1; min-width: 0; }
.search-form .hint { margin: 0.55rem 0 0; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.section-heading h2 { margin-bottom: 0; }
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 1.5rem 1.25rem;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.art-card__link { text-decoration: none; color: inherit; display: block; }
.art-card__image { aspect-ratio: 4 / 3; background: var(--surface-soft); overflow: hidden; }
.art-card__image img { width: 100%; height: 100%; object-fit: cover; }
.art-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--muted);
}
.art-card__body { padding: 0.9rem 1rem 1rem; }
.art-card h3 { font-size: 1.08rem; margin: 0 0 0.2rem; }
.art-card__artist { font-size: 0.84rem; color: var(--muted); margin: 0 0 0.55rem; }
.art-card__price { font-weight: 700; font-size: 0.9rem; margin: 0; }
.free-label { color: var(--success); }
.artist-strip { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.artist-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  color: var(--ink);
  text-decoration: none;
}
.artist-chip:hover { border-color: var(--accent); }
.artist-chip strong { display: block; font-size: 0.88rem; line-height: 1.3; }
.artist-chip small { display: block; color: var(--muted); font-size: 0.76rem; line-height: 1.35; }
.artist-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--ink);
  color: #f8f5ed;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.artist-cta .eyebrow { color: #c9c2b1; }
.artist-cta h2 { color: #fff; }
.artist-cta p { color: #d7d0c1; max-width: 52ch; margin-bottom: 0; }
.artist-cta .btn-primary { background: #f8f5ed; color: var(--ink); border-color: #f8f5ed; flex-shrink: 0; }

/* Avatars & profile */
.avatar { border-radius: 50%; object-fit: cover; background: var(--surface-soft); }
.avatar--large { width: 128px; height: 128px; border: 5px solid var(--surface); box-shadow: var(--shadow-small); }
.avatar--medium { width: 96px; height: 96px; }
.avatar--small { width: 48px; height: 48px; }
.avatar--initial {
  display: inline-grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent-ink);
  background: var(--accent);
}
.profile-header { border-bottom: 1px solid var(--line); }
.profile-header__banner { max-height: 300px; overflow: hidden; background: var(--surface-soft); }
.profile-header__banner img { width: 100%; height: 300px; object-fit: cover; }
.profile-header__band {
  height: 120px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 24%, var(--bg)), var(--bg) 58%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(24, 22, 17, 0.04) 58px 59px);
}
.profile-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.2rem;
}
.profile-header__identity { display: flex; align-items: flex-start; gap: 1.4rem; margin-top: -58px; min-width: 0; }
.profile-header__identity h1 { margin: 0.9rem 0 0.1rem; }
.handle { color: var(--muted); margin: 0 0 0.7rem; font-size: 0.9rem; }
.profile-bio { max-width: 65ch; white-space: pre-line; margin-bottom: 0.8rem; }
.profile-header__actions { display: flex; gap: 0.5rem; padding-top: 1rem; flex-wrap: wrap; }
.profile-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.profile-links li { display: flex; gap: 0.4rem; align-items: baseline; }
.profile-sections { padding-top: 1.6rem; }
.profile-support {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.profile-support h2 { margin-bottom: 0.35rem; }
.profile-support p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }
.support-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.support-button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  min-width: 170px;
}
.support-button .btn { width: 100%; }
.support-button p { margin: 0.4rem 0 0; color: var(--muted); }
.link-destination { display: block; margin-top: 0.25rem; font-size: 0.72rem; color: var(--muted); word-break: break-all; }
.merch-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.4rem 0;
}
.merch-callout p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.merch-callout .btn { flex-shrink: 0; }
.button-domain { font-weight: 400; opacity: 0.8; font-size: 0.8em; }
.profile-gallery { padding: 1.8rem 0 2rem; }

/* Artwork detail */
.breadcrumb { display: flex; gap: 0.55rem; align-items: center; font-size: 0.84rem; color: var(--muted); padding-top: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.draft-banner {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid #e4d19b;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  font-size: 0.88rem;
}
.artwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 1.8rem;
  padding-bottom: 3rem;
}
.artwork-gallery { display: grid; gap: 1.2rem; min-width: 0; }
.artwork-figure { margin: 0; }
.artwork-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}
.artwork-figure figcaption { margin-top: 0.4rem; }
.purchase-panel {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-small);
}
.purchase-panel h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.purchase-price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin: 0 0 1rem; }
.artwork-description { white-space: pre-line; color: #37332c; font-size: 0.95rem; margin-bottom: 1.2rem; }
.purchase-form { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.purchase-form label { display: block; font-weight: 650; font-size: 0.86rem; margin-bottom: 0.35rem; }
.purchase-form .btn { margin-top: 0.5rem; }
.purchase-note { color: var(--muted); font-size: 0.78rem; margin: 0.8rem 0 0; }
.receipt-details, .license-block, .external-products { border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: 1.2rem; }
.receipt-details h2, .license-block h2, .external-products h2 { font-size: 1.1rem; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.file-list li { display: flex; flex-direction: column; border-left: 2px solid var(--accent); padding-left: 0.7rem; }
.file-list__name { font-weight: 600; font-size: 0.9rem; overflow-wrap: anywhere; }
.file-list__meta { color: var(--muted); font-size: 0.78rem; }
.license-block p { font-size: 0.88rem; color: #3f3a31; white-space: pre-line; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.link-list li { display: flex; flex-direction: column; }
.link-list a { font-weight: 600; }
.mobile-buy-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* Forms */
label { font-size: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; min-width: 0; }
.field > label, .label { font-weight: 650; font-size: 0.87rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"],
input[type="search"], input[type="color"], input[type="file"], textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffefb;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0.68rem 0.75rem;
  min-height: 44px;
}
input[type="color"] { padding: 0.3rem; width: 5rem; height: 3rem; }
input[type="file"] { padding: 0.45rem; font-size: 0.85rem; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-link);
  outline-offset: 0;
}
.hint { color: var(--muted); font-size: 0.78rem; margin: 0; }
.static-value { margin: 0.55rem 0; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.stack-form { display: flex; flex-direction: column; gap: 0.15rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.8rem;
}
.checkbox { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; margin: 0.35rem 0; font-weight: 400; }
.checkbox input { width: 1.1rem; height: 1.1rem; margin-top: 0.18rem; accent-color: var(--accent); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  display: inline-flex;
  align-items: center;
  padding: 0 0.65rem;
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  color: var(--muted);
}
.input-prefix input { border-radius: 0 9px 9px 0; }
.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-button:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-errors {
  border: 1px solid #e4b4ad;
  background: var(--danger-bg);
  color: #5c1d1d;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}
.form-errors h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; }
.form-error { color: var(--danger); font-size: 0.84rem; margin: 0.4rem 0; }
.inline-form-row { display: flex; align-items: flex-end; gap: 0.8rem; flex-wrap: wrap; }
.inline-form-row .field { flex: 1; min-width: 170px; margin-bottom: 0; }
.copy-field { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; padding: 0.55rem 0.7rem; }
.copy-field code { background: transparent; border: 0; padding: 0; overflow-wrap: anywhere; }
progress { width: 100%; height: 10px; accent-color: var(--accent); margin: 0.3rem 0 0.7rem; }
.image-setting { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.banner-thumb { width: 210px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-soft); }
.banner-thumb--empty { background: repeating-linear-gradient(135deg, var(--surface-soft) 0 10px, #eae4d7 10px 20px); }

/* Dashboard */
.dashboard-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}
.dashboard-sidebar {
  position: sticky;
  top: 88px;
  border-right: 1px solid var(--line);
  padding-right: 1.2rem;
  min-height: 60vh;
}
.dashboard-profile { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.dashboard-profile strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.dashboard-profile p { margin: 0; }
.dashboard-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.dashboard-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.48rem 0.6rem;
  border-radius: 7px;
}
.dashboard-nav a:hover { background: var(--surface-soft); }
.dashboard-nav a[aria-current="page"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); font-weight: 650; }
.dashboard-public { margin-top: 1.4rem; display: grid; gap: 0.4rem; }
.dashboard-main { min-width: 0; }
.dash-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.dash-heading h1 { margin-bottom: 0.3rem; }
.heading-meta { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.panel--danger { border-color: #e2b9b2; background: #fffaf8; }
.panel > h2:first-child { margin-top: 0; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr); gap: 1.4rem; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.stat-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat__label { color: var(--muted); font-size: 0.77rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 650; }
.stat strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; font-weight: 600; }
.stat__note { color: var(--muted); font-size: 0.73rem; line-height: 1.4; }
.quick-list { padding-left: 1.1rem; margin: 0 0 1rem; }
.quick-list li { margin-bottom: 0.5rem; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th, .data-table td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { color: var(--muted); font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 650; }
.data-table tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: capitalize;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: #4b463d;
  white-space: nowrap;
}
.badge--published, .badge--paid { background: var(--info-bg); border-color: #b9d0bf; color: #25543d; }
.badge--draft, .badge--pending { background: var(--warn-bg); border-color: #e2d09a; color: #5c480f; }
.badge--failed, .badge--disputed { background: var(--danger-bg); border-color: #e4b4ad; color: #7b2626; }
.badge--refunded { background: #eee9f2; border-color: #d2c6dc; color: #50415e; }
.progress-block { margin-bottom: 1.5rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.35rem; color: var(--muted); }
.setup-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.setup-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.setup-step.is-done { border-color: #c2d7c8; }
.setup-step__marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  background: var(--surface-soft);
}
.setup-step.is-done .setup-step__marker { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.setup-step h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.setup-step p { color: var(--muted); font-size: 0.9rem; }
.mini-list { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; font-size: 0.86rem; }
.manage-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.manage-list > li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.manage-list > li:last-child { border-bottom: 0; }
.manage-list--cards > .panel { margin-bottom: 0.8rem; }
.manage-artworks { display: grid; gap: 0.9rem; }
.manage-artwork {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.manage-artwork__thumb { background: var(--surface-soft); min-height: 110px; }
.manage-artwork__thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.manage-artwork__body { padding: 0.9rem 1rem; min-width: 0; }
.manage-artwork__title { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.manage-artwork__title h2 { font-size: 1.12rem; margin: 0; }
.manage-artwork__title h2 a { color: var(--ink); text-decoration: none; }
.callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.callout { border: 1px solid var(--line); background: var(--surface-soft); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.callout h2 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.callout p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.preview-manager { display: grid; gap: 0.9rem; margin-bottom: 1.4rem; }
.preview-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  background: #fffefa;
}
.preview-item img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; background: var(--surface-soft); }
.preview-item__body { min-width: 0; }
.preview-item__body .inline-form-row { align-items: flex-end; }
.file-manager { display: grid; gap: 0.9rem; margin-bottom: 1.4rem; }
.file-item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  background: #fffefa;
}
.file-item h3 { margin: 0 0 0.2rem; }
.file-item__actions { min-width: 210px; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.file-item details { margin-top: 0.3rem; }
.upload-form { border-top: 1px dashed var(--line-strong); padding-top: 1rem; margin-top: 1rem; }
.status-line { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.2rem; font-size: 1.02rem; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.status-dot--ok { background: var(--success); box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.12); }
.status-dot--warn { background: #b58a1f; box-shadow: 0 0 0 4px rgba(181, 138, 31, 0.12); }
.report-item { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.report-item:last-child { border-bottom: 0; }

/* Auth & checkout */
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding: 3rem 0 4rem; }
.auth-intro { padding-top: 1rem; }
.auth-intro h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.auth-intro p { color: var(--muted); max-width: 46ch; }
.auth-card { padding: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.divider { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.78rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.checkout-shell { padding: 3rem 0; }
.status-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-small);
  margin-bottom: 1.4rem;
}
.status-card--success { border-top: 4px solid var(--accent); }
.loading-bar { height: 4px; background: var(--surface-soft); border-radius: 4px; overflow: hidden; margin: 1rem 0; }
.loading-bar span { display: block; width: 35%; height: 100%; background: var(--accent); animation: loading 1.4s ease-in-out infinite; }
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(330%); } }
.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.download-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  background: #fffefa;
}
.download-list p { margin: 0.2rem 0 0; }

/* Empty states */
.empty-state {
  text-align: center;
  max-width: 620px;
  margin: 2rem auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty-state--inline { margin: 0.8rem 0; padding: 1.6rem; text-align: left; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin-bottom: 0.6rem; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 0.4rem; }

/* Legal */
.legal-page { padding-top: 2.5rem; padding-bottom: 2rem; }
.legal-page h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-draft {
  background: var(--warn-bg);
  border: 1px solid #e4d19b;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  color: #4f3d0e;
  font-size: 0.9rem;
}

/* Utility */
.section-heading .muted { white-space: nowrap; }
.hide { display: none !important; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .home-hero h1 { max-width: 15ch; }
  .profile-support { grid-template-columns: 1fr; gap: 1rem; }
  .artwork-layout { grid-template-columns: 1fr; }
  .purchase-panel { position: static; }
  .mobile-buy-bar { display: flex; }
  body { padding-bottom: 4.6rem; }
  .dashboard-layout { grid-template-columns: 1fr; gap: 1rem; }
  .dashboard-sidebar { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; min-height: 0; }
  .dashboard-nav { flex-direction: row; overflow-x: auto; padding-bottom: 0.3rem; }
  .dashboard-nav a { white-space: nowrap; }
  .dashboard-public { display: flex; flex-wrap: wrap; }
  .dashboard-public .btn { width: auto; }
  .stat-grid, .stat-grid--compact { grid-template-columns: 1fr 1fr; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; gap: 1.5rem; }
  .auth-intro p { max-width: none; }
}

@media (max-width: 680px) {
  .shell, .narrow { width: calc(100% - 1.6rem); }
  .home-hero { padding: 1.7rem 0 1.2rem; gap: 1.2rem; }
  .home-hero h1 { font-size: clamp(2rem, 8.8vw, 2.7rem); max-width: 13ch; margin-bottom: 0.5rem; }
  .home-hero__lede { font-size: 1.12rem; margin-bottom: 1.1rem; }
  .search-form { padding: 0.9rem; }
  .search-form__row { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .home-hero + .section, .section { padding: 1.7rem 0; }
  .site-header__inner { align-items: flex-start; flex-direction: column; gap: 0.35rem; padding-block: 0.65rem; }
  .site-nav { width: 100%; gap: 0.35rem 0.8rem; }
  .nav-user { display: none; }
  .art-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .art-card__body { padding: 0.7rem 0.75rem 0.8rem; }
  .art-card h3 { font-size: 0.98rem; }
  .art-card__artist { display: none; }
  .profile-header__identity { flex-direction: column; gap: 0.6rem; margin-top: -50px; }
  .profile-header__identity h1 { margin-top: 0.2rem; }
  .profile-header__inner { flex-direction: column; gap: 0.4rem; }
  .profile-header__actions { padding-top: 0; }
  .profile-header__banner img, .profile-header__banner { height: 190px; }
  .avatar--large { width: 100px; height: 100px; }
  .merch-callout, .artist-cta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .merch-callout .btn, .artist-cta .btn { width: 100%; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .dash-heading { flex-direction: column; gap: 0.8rem; }
  .stat-grid, .stat-grid--compact { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .stat strong { font-size: 1.4rem; }
  .manage-artwork { grid-template-columns: 100px 1fr; }
  .manage-artwork__thumb img { height: 100%; }
  .preview-item { grid-template-columns: 1fr; }
  .preview-item img { height: 160px; }
  .file-item { flex-direction: column; gap: 0.8rem; }
  .file-item__actions { min-width: 0; }
  .download-list li { flex-direction: column; align-items: flex-start; }
  .download-list .btn { width: 100%; }
  .manage-list > li { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { flex-direction: column; gap: 1rem; }
  .art-grid.art-grid--single { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .art-grid { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid--compact { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Merchandise storefront */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.page-heading { padding-top: 2.6rem; padding-bottom: 0.5rem; }
.page-heading h1 { max-width: 20ch; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem 1.2rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.product-card__link { display: block; color: inherit; text-decoration: none; }
.product-card__image { aspect-ratio: 1 / 1; background: var(--surface-soft); overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 3rem; color: var(--muted); }
.product-card__body { padding: 0.9rem 1rem 1rem; }
.product-card__body h3 { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 0.2rem; }
.product-card__owner { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.45rem; }
.product-card__price { font-weight: 700; font-size: 0.9rem; margin: 0; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: start;
  padding-top: 1.6rem;
  padding-bottom: 2.5rem;
}
.product-gallery { display: grid; gap: 1rem; min-width: 0; }
.product-figure { margin: 0; aspect-ratio: 1 / 1; background: var(--surface-soft); border-radius: var(--radius-sm); overflow: hidden; }
.product-figure img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-small); }
.product-buy {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-small);
}
.product-buy h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.4rem; }
.product-price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin: 0.2rem 0 0.35rem; }
.variant-fieldset { border: 0; padding: 0; margin: 1rem 0; }
.variant-fieldset legend { font-family: var(--sans); font-size: 0.87rem; font-weight: 650; margin-bottom: 0.45rem; }
.variant-list { display: grid; gap: 0.45rem; max-height: 240px; overflow: auto; padding-right: 0.25rem; }
.variant-option {
  display: flex; gap: 0.55rem; align-items: center;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 0.55rem 0.65rem; cursor: pointer; font-weight: 400;
}
.variant-option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.variant-option.is-unavailable { opacity: 0.55; }
.variant-option input { accent-color: var(--accent); }
.product-form .btn { margin-top: 0.7rem; }
.product-share { margin: 1rem 0; }
.product-facts { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.product-facts h2 { font-size: 1.05rem; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: 2rem; padding-bottom: 2rem; }
.product-detail-grid h2 { font-size: 1.35rem; }
.spec-list { margin: 0; display: grid; grid-template-columns: 0.8fr 1.5fr; gap: 0.4rem 0.9rem; font-size: 0.9rem; }
.spec-list dt { color: var(--muted); font-weight: 650; }
.spec-list dd { margin: 0; }
.design-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr); gap: 2.4rem; align-items: start; padding-top: 1.6rem; }
.design-figure { margin: 0; }
.design-figure img { border-radius: var(--radius); box-shadow: var(--shadow-small); width: 100%; height: auto; }
.design-figure figcaption { margin-top: 0.5rem; }
.design-copy h1 { margin-top: 0.2rem; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.collection-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.collection-card a { color: inherit; text-decoration: none; display: block; }
.collection-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.collection-card__body { padding: 1rem; }
.collection-card__body h2 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.collection-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.82rem; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.pagination { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr); gap: 2rem; align-items: start; padding-top: 1.2rem; padding-bottom: 3rem; }
.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem; }
.cart-item__image { background: var(--surface-soft); border-radius: 7px; overflow: hidden; aspect-ratio: 1/1; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.cart-item__body h3 a { color: var(--ink); text-decoration: none; }
.cart-item__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cart-item__total { margin: 0; font-weight: 700; white-space: nowrap; }
.qty-input { width: 5rem; min-height: 36px; padding: 0.25rem 0.45rem; }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 88px; }
.total-list { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; margin: 0 0 1rem; font-size: 0.92rem; }
.total-list dt { color: var(--muted); }
.total-list dd { margin: 0; text-align: right; }
.total-list__grand { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 0.5rem; }
.success-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); margin-top: 2.4rem; box-shadow: var(--shadow-small); }
.email-status { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 0.8rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.checklist li { display: flex; gap: 0.55rem; align-items: baseline; }
.checklist li.is-done { color: #25543d; }
.checklist li.is-todo { color: var(--warn); }
.admin-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); float: left; margin-right: 0.6rem; }
.admin-details { margin-top: 1rem; }
.admin-details summary { cursor: pointer; font-weight: 650; font-size: 0.9rem; }
.badge--needs_review, .badge--paused, .badge--fulfillment_failed, .badge--quality_check { background: var(--warn-bg); border-color: #e2d09a; color: #5c480f; }
.badge--published, .badge--ready, .badge--test_completed, .badge--shipped { background: var(--info-bg); border-color: #b9d0bf; color: #25543d; }
.badge--rejected, .badge--archived, .badge--cancelled { background: var(--danger-bg); border-color: #e4b4ad; color: #7b2626; }

@media (max-width: 880px) {
  .product-layout, .product-detail-grid, .design-layout, .cart-layout { grid-template-columns: 1fr; }
  .product-buy, .cart-summary { position: static; }
  .cart-item { grid-template-columns: 88px minmax(0, 1fr); }
  .cart-item__total { grid-column: 2; }
}
@media (max-width: 640px) {
  .spec-list { grid-template-columns: 1fr; }
  .spec-list dt { margin-top: 0.4rem; }
  .home-hero { grid-template-columns: 1fr; }
  .profile-support { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; border-right: 0; min-height: 0; }
  .mobile-buy-bar { display: flex; }
  .site-footer__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.storefront-filter { display: flex; gap: 0.7rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.storefront-filter .field { margin-bottom: 0; min-width: 180px; }
.storefront-filter input, .storefront-filter select { min-height: 38px; }
.size-guide { margin: 0 0 1rem; }
.size-guide summary { cursor: pointer; font-weight: 650; margin-bottom: 0.6rem; }
.size-guide h3 { margin-top: 1rem; }
