* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --paper: #fffdf8;
  --panel: #ffffff;
  --ink: #191411;
  --muted: #675e56;
  --line: #d9d0c4;
  --forest: #173f36;
  --forest-2: #0e2d27;
  --terracotta: #a94227;
  --gold: #d7a54c;
  --sage: #dfe8dc;
  --shadow-soft: 0 18px 46px rgba(38, 27, 20, 0.08);
  --shadow-strong: 0 24px 70px rgba(23, 63, 54, 0.2);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sa-product-page {
  padding-bottom: 92px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border-radius: 0;
}

.sa-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(25, 20, 17, 0.1);
  background: rgba(246, 243, 238, 0.9);
  backdrop-filter: blur(18px);
}

.sa-brand {
  display: inline-flex;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sa-brand img {
  display: block;
  width: clamp(132px, 13vw, 190px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.sa-topbar nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
}

.sa-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  padding: 0 13px;
  cursor: pointer;
}

.sa-cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  background: white;
  color: var(--forest);
  font-size: 0.82rem;
}

main {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 56px;
}

.sa-shop-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  padding: 12px 0 10px;
}

.sa-shop-head h1 {
  max-width: 640px;
  margin-top: 0;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.sa-shop-head-text {
  display: none;
}

.sa-shop-head .sa-label {
  display: none;
}

.sa-shop-head-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
  color: var(--muted);
  text-align: right;
}

.sa-shop-head-side strong {
  color: var(--forest);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
}

.sa-shop-head-side span {
  font-size: 0.86rem;
}

.sa-shop-head-side a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 760;
}

.sa-curator {
  margin: 2px 0 12px;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background:
    linear-gradient(135deg, rgba(223, 232, 220, 0.72), rgba(255, 253, 248, 0.96) 52%, rgba(215, 165, 76, 0.12));
  padding: clamp(14px, 2.2vw, 24px);
}

.sa-curator-shell {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(420px, 1fr) minmax(260px, 0.55fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.sa-curator-heading {
  display: grid;
  align-content: start;
}

.sa-curator-heading h2 {
  margin: 4px 0 0;
  color: var(--forest-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.86rem);
  line-height: 1.05;
}

.sa-curator-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sa-curator-status[hidden] {
  display: none;
}

.sa-curator-guide,
.sa-curator-note {
  min-width: 0;
  border: 1px solid rgba(23, 63, 54, 0.14);
  background: rgba(255, 253, 248, 0.74);
  padding: clamp(12px, 1.6vw, 18px);
}

.sa-curator-step,
.sa-curator-note-label {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sa-curator-guide h3 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.14rem, 1.5vw, 1.48rem);
  line-height: 1.12;
}

.sa-curator-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sa-curator-need {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  min-width: 0;
}

.sa-curator-need[hidden] {
  display: none;
}

.sa-curator-need span,
.sa-curator-controls span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sa-curator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sa-curator-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sa-curator-moods button,
.sa-curator-options button,
.sa-curator-actions button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 63, 54, 0.2);
  background: rgba(255, 253, 248, 0.9);
  color: var(--forest);
  padding: 0 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
}

.sa-curator-options button[aria-pressed="true"],
.sa-curator-moods button[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.sa-curator-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 8px;
  align-items: end;
}

.sa-curator-controls label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.sa-curator-controls select,
.sa-curator-need input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(23, 63, 54, 0.2);
  background: var(--paper);
  color: var(--ink);
  padding: 0 10px;
}

.sa-curator-actions [data-curator-run] {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.sa-curator-actions [data-curator-back],
.sa-curator-actions [data-curator-skip],
.sa-curator-actions [data-curator-reset] {
  background: transparent;
}

.sa-curator-actions button:disabled {
  opacity: 0.42;
  cursor: default;
}

.sa-curator-note {
  display: grid;
  align-content: start;
}

.sa-curator-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.48;
}

.sa-curator-note .sa-curator-insight {
  margin-top: 12px;
  border-top: 1px solid rgba(23, 63, 54, 0.12);
  padding-top: 12px;
  color: var(--muted);
}

.sa-curator-insight[hidden] {
  display: none;
}

.sa-curator-refine {
  margin-top: 8px;
}

.sa-curator-refine summary {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 760;
}

.sa-curator-refine summary::after {
  content: "+";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(23, 63, 54, 0.22);
  background: rgba(255, 253, 248, 0.75);
  font-size: 0.9rem;
  line-height: 1;
}

.sa-curator-refine[open] summary::after {
  content: "-";
}

.sa-curator-refine-body {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px solid rgba(23, 63, 54, 0.12);
  padding-top: 10px;
}

.sa-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 0.65fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 66px) 0 24px;
}

.sa-label,
.sa-kicker {
  margin: 0;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5.5vw, 5.65rem);
  line-height: 0.94;
  font-weight: 720;
  letter-spacing: 0;
}

.sa-hero-text {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.58;
}

.sa-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.sa-trust-row span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 11px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 720;
}

.sa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sa-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  padding: 0 16px;
  font-weight: 760;
}

.sa-hero-actions a:last-child {
  border-color: var(--line);
  background: var(--paper);
  color: var(--forest);
}

.sa-hero-art {
  position: relative;
  min-height: clamp(300px, 34vw, 460px);
  background: var(--forest);
  overflow: hidden;
  isolation: isolate;
}

.sa-hero.is-contextual {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.58fr);
  padding-top: clamp(26px, 4vw, 54px);
}

.sa-hero.is-contextual h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4.7vw, 4.8rem);
  line-height: 0.96;
}

.sa-hero.is-contextual .sa-hero-text {
  max-width: 740px;
  margin-top: 16px;
}

.sa-hero.is-contextual .sa-trust-row {
  margin-top: 20px;
}

.sa-hero.is-contextual .sa-hero-actions {
  margin-top: 18px;
}

.sa-hero.is-contextual .sa-hero-art {
  min-height: clamp(280px, 29vw, 390px);
}

.sa-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.sa-hero-art img {
  position: absolute;
  width: 52%;
  height: 52%;
  object-fit: cover;
  border: 8px solid rgba(255, 253, 248, 0.92);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.sa-hero-art-1 {
  top: 9%;
  left: 8%;
  z-index: 2;
}

.sa-hero-art-2 {
  top: 17%;
  right: 8%;
  z-index: 1;
}

.sa-hero-art-3 {
  bottom: 8%;
  left: 18%;
  z-index: 3;
}

.sa-hero-art-4 {
  right: 15%;
  bottom: 14%;
  z-index: 4;
}

.sa-count {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 6;
  min-width: 152px;
  padding: 14px 16px;
  background: rgba(255, 253, 248, 0.94);
  border-left: 4px solid var(--gold);
}

.sa-count strong {
  display: block;
  color: var(--forest);
  font-size: 2rem;
}

.sa-count span {
  color: var(--muted);
}

.sa-collection-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
  margin: 30px 0 16px;
  border-block: 1px solid var(--line);
  padding: clamp(20px, 3vw, 34px) 0;
}

.sa-collection-guide h2 {
  max-width: 740px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.sa-collection-guide p:not(.sa-label) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.sa-collection-guide aside {
  display: grid;
  gap: 14px;
  align-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.84);
  padding: 16px;
}

.sa-collection-guide dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.sa-collection-guide dt {
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sa-collection-guide dd {
  margin: 5px 0 0;
  color: var(--forest);
  font-weight: 820;
  line-height: 1.25;
}

.sa-collection-guide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-collection-guide li {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.86rem;
}

.sa-category-feature,
.sa-collection-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  padding: 24px 0 34px;
}

.sa-category-feature {
  border-top: 1px solid var(--line);
}

.sa-category-feature h2,
.sa-collection-feature h2 {
  max-width: 520px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.sa-category-tiles,
.sa-collection-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.sa-category-tiles {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sa-category-tile,
.sa-collection-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--forest-2);
  color: white;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.sa-category-tile {
  min-height: 132px;
}

.sa-category-tile img,
.sa-collection-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 260ms ease;
}

.sa-category-tile::after,
.sa-collection-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 23, 20, 0.12), rgba(16, 23, 20, 0.76));
}

.sa-category-tile:hover img,
.sa-collection-tile:hover img {
  transform: scale(1.04);
}

.sa-category-tile.is-active,
.sa-collection-tile.is-active {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.sa-category-tile.is-active::before,
.sa-collection-tile.is-active::before {
  content: "Viewing";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: rgba(255, 253, 248, 0.92);
  color: var(--forest);
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sa-category-tile span,
.sa-collection-tile span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1;
}

.sa-category-tile strong,
.sa-collection-tile strong {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 26px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.sa-breadcrumb a {
  color: var(--forest);
  font-weight: 760;
}

.sa-product {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(22px, 4vw, 52px) 0 48px;
}

.sa-product-media {
  position: sticky;
  top: 92px;
  display: grid;
  place-items: center;
  min-height: min(74vh, 780px);
  padding: clamp(18px, 3vw, 34px);
  background: var(--forest-2);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.sa-product-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(66vh, 680px);
  object-fit: contain;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.25);
}

.sa-zoom-button {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 253, 248, 0.94);
  color: var(--forest);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 760;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.sa-product-copy h1 {
  margin-top: 10px;
  font-size: clamp(2.5rem, 5.2vw, 5.6rem);
}

.sa-product-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.sa-product-essentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.sa-product-essentials div {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(38, 27, 20, 0.04);
}

.sa-product-essentials span {
  display: block;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sa-product-essentials strong {
  display: block;
  margin-top: 6px;
  color: var(--forest);
  font-size: 0.98rem;
  line-height: 1.25;
}

.sa-product-price {
  margin-top: 20px;
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 850;
}

.sa-product-purchase {
  margin-top: 26px;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.9);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(38, 27, 20, 0.07);
}

.sa-product-purchase > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.sa-product-purchase span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-product-purchase strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.sa-product-purchase p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sa-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sa-product-actions a,
.sa-product-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  padding: 0 18px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 780;
}

.sa-product-actions button:nth-child(2) {
  border-color: var(--ink);
  background: var(--ink);
}

.sa-product-actions a:last-child {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.sa-product-details {
  margin-top: 28px;
}

.sa-product-details > .sa-label {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sa-product-story {
  margin-top: 30px;
}

.sa-related {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 22px;
}

.sa-related > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sa-related h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.02;
}

.sa-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  padding: 0 14px;
  font-weight: 760;
  white-space: nowrap;
}

.sa-product-page .sa-related .sa-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sa-product-page .sa-related .sa-card {
  box-shadow: none;
}

.sa-product-page .sa-related .sa-card-body {
  grid-template-rows: auto auto auto;
  gap: 6px;
  padding: 10px;
}

.sa-product-page .sa-related .sa-card h2 {
  font-size: 1.08rem;
}

.sa-product-page .sa-related .sa-card-media span,
.sa-product-page .sa-related .sa-desc,
.sa-product-page .sa-related .sa-meta,
.sa-product-page .sa-related .sa-card-actions > button,
.sa-product-page .sa-related .sa-card-actions button.sa-card-link {
  display: none;
}

.sa-product-page .sa-related .sa-card-actions {
  gap: 6px;
  padding-top: 6px;
}

.sa-product-page .sa-related .sa-card-actions > div {
  grid-template-columns: 1fr;
}

.sa-toolbar {
  position: sticky;
  top: 69px;
  z-index: 24;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 210px) minmax(190px, 260px) minmax(150px, 190px);
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 28px rgba(38, 27, 20, 0.08);
  backdrop-filter: blur(16px);
}

.sa-toolbar label,
.sa-search {
  display: grid;
  gap: 7px;
}

.sa-toolbar span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-toolbar input,
.sa-toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 0 12px;
}

.sa-resultsbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 14px;
}

.sa-resultsbar[hidden] {
  display: none;
}

.sa-resultsbar p {
  margin: 0;
  color: var(--muted);
}

.sa-more-matches {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(23, 63, 54, 0.11);
  padding: 12px 0 14px;
}

.sa-more-matches[hidden] {
  display: none;
}

.sa-more-matches p {
  margin: 0;
}

.sa-more-matches p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.sa-active-view {
  display: flex;
  width: 100%;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  padding: 16px;
}

.sa-active-view[hidden] {
  display: none;
}

.sa-active-view h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1;
}

.sa-active-view p:last-child {
  margin-top: 6px;
  line-height: 1.45;
}

.sa-active-view button {
  min-height: 40px;
  border: 1px solid var(--forest);
  background: var(--paper);
  color: var(--forest);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 760;
  white-space: nowrap;
}

.sa-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.sa-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  padding: 0 12px;
  cursor: pointer;
}

.sa-chip[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.sa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.sa-load-row {
  display: flex;
  justify-content: center;
  padding: 28px 0 4px;
}

.sa-load-row button {
  min-height: 44px;
  border: 1px solid var(--forest);
  background: var(--paper);
  color: var(--forest);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 760;
}

.sa-load-row button[hidden] {
  display: none;
}

.sa-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1540px, 100%);
  margin: 14px auto 0;
  padding: 28px clamp(16px, 4vw, 56px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.sa-footer strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.sa-footer span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sa-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.92rem;
}

.sa-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sa-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sa-card:hover {
  border-color: rgba(23, 63, 54, 0.32);
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px);
}

.sa-card.is-curator-pick {
  border-color: rgba(23, 63, 54, 0.4);
  box-shadow: 0 16px 36px rgba(23, 63, 54, 0.14);
}

.sa-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #e8ded0;
  cursor: pointer;
  overflow: hidden;
}

.sa-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.sa-card-media:hover img {
  transform: scale(1.035);
}

.sa-card-media span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  background: rgba(255, 253, 248, 0.92);
  color: var(--forest);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 820;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sa-pick-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 253, 248, 0.72);
  background: rgba(23, 63, 54, 0.92);
  color: #fffdf8;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.sa-card-media:hover span,
.sa-card-media:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.sa-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 8px;
  padding: 15px;
}

.sa-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  line-height: 1.05;
}

.sa-pick-reason {
  margin: 0;
  border-left: 3px solid rgba(23, 63, 54, 0.45);
  background: rgba(223, 232, 220, 0.5);
  color: var(--forest);
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.4;
}

.sa-pick-reason span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-card h2 a {
  text-decoration: none;
}

.sa-artist-line {
  margin: -2px 0 0;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 720;
}

.sa-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.42;
}

.sa-meta {
  margin: 0;
  color: #5f5148;
  font-size: 0.84rem;
}

.sa-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.sa-card-actions span {
  font-weight: 800;
}

.sa-card-actions > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.sa-card-actions a,
.sa-card-actions button,
.sa-dialog-actions a,
.sa-dialog-actions button,
.sa-cart-foot button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  padding: 0 14px;
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.sa-card-actions a,
.sa-card-actions button {
  width: 100%;
}

.sa-card-actions .sa-card-add {
  min-height: 44px;
  font-weight: 820;
}

.sa-card-actions .sa-card-link {
  border-color: var(--line);
  background: white;
  color: var(--forest);
}

.sa-card-actions button:not(.sa-card-link) {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.sa-dialog-actions button:nth-child(2) {
  border-color: var(--ink);
  background: var(--ink);
}

.sa-dialog-actions a:last-child {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.sa-card-actions button:disabled,
.sa-dialog-actions button:disabled,
.sa-cart-foot button:disabled {
  border-color: var(--line);
  background: rgba(25, 20, 17, 0.12);
  color: var(--muted);
  cursor: not-allowed;
}

.sa-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  border: 1px solid var(--line);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

.sa-dialog::backdrop {
  background: rgba(18, 30, 27, 0.76);
}

.sa-dialog-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
  gap: 0;
}

.sa-dialog-media {
  min-height: min(78vh, 760px);
  background: var(--forest-2);
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 26px);
}

.sa-dialog-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(82vh - 52px);
  object-fit: contain;
}

.sa-dialog-copy {
  max-height: 82vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 44px);
}

.sa-dialog-copy h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 0.98;
}

.sa-dialog-artist {
  margin: 10px 0 0;
  color: var(--forest);
  font-weight: 800;
}

.sa-dialog-lead,
.sa-story-block p {
  color: var(--muted);
  line-height: 1.58;
}

.sa-dialog-price {
  margin-top: 18px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
}

.sa-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.sa-specs div {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.sa-specs dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sa-specs dd {
  margin: 4px 0 0;
  font-weight: 760;
}

.sa-story-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.sa-story-block h2,
.sa-story-block h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
}

.sa-dialog-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 14px;
  background: var(--paper);
}

.sa-zoom-view {
  display: grid;
  min-height: min(86vh, 900px);
  place-items: center;
  gap: 12px;
  background: var(--forest-2);
  overflow: auto;
  padding: clamp(16px, 3vw, 34px);
}

.sa-zoom-view img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 86px);
  max-height: calc(100vh - 130px);
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36);
  cursor: zoom-in;
  transition: width 180ms ease, max-width 180ms ease, max-height 180ms ease;
}

.sa-zoom-view.is-zoomed {
  display: block;
  overscroll-behavior: contain;
}

.sa-zoom-view.is-zoomed img {
  width: min(1180px, 180vw);
  max-width: none;
  max-height: none;
  margin: 0 auto 16px;
  cursor: zoom-out;
}

.sa-zoom-view.is-zoomed p {
  display: none;
}

.sa-zoom-view p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.sa-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(25, 20, 17, 0.74);
  color: white;
  cursor: pointer;
}

.sa-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(18, 30, 27, 0.46);
}

.sa-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  width: min(430px, 100vw);
  height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(102%);
  transition: transform 220ms ease;
}

.sa-cart-panel.is-open {
  transform: translateX(0);
}

.sa-cart-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.sa-cart-head h2 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.sa-cart-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}

.sa-cart-empty {
  padding: 18px 24px;
  color: var(--muted);
}

.sa-cart-items {
  overflow: auto;
  padding: 8px 24px 24px;
}

.sa-cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.sa-cart-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  background: var(--sage);
}

.sa-cart-item h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.12;
}

.sa-cart-item p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.sa-cart-item .sa-cart-meta {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.sa-cart-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.sa-cart-qty button,
.sa-cart-qty span {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--line);
  background: white;
  display: inline-grid;
  place-items: center;
  padding: 0 9px;
}

.sa-cart-qty button {
  cursor: pointer;
}

.sa-cart-qty button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.sa-cart-qty button:last-child {
  color: var(--terracotta);
}

.sa-cart-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.sa-cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: white;
}

.sa-cart-foot > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sa-cart-foot span,
.sa-cart-foot p {
  color: var(--muted);
}

.sa-cart-foot strong {
  font-size: 1.2rem;
}

.sa-cart-foot button {
  width: 100%;
}

.sa-cart-foot p {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.sa-cart-foot .sa-cart-message {
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(223, 232, 220, 0.6);
  color: var(--forest);
  padding: 10px 12px;
}

.sa-cart-foot .sa-cart-message.is-error {
  border-color: rgba(169, 66, 39, 0.24);
  background: rgba(169, 66, 39, 0.08);
  color: var(--terracotta);
}

.sa-store-toast {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 60;
  max-width: min(420px, calc(100vw - 28px));
  border: 1px solid rgba(169, 66, 39, 0.24);
  background: rgba(255, 253, 248, 0.96);
  color: var(--terracotta);
  padding: 13px 15px;
  box-shadow: var(--shadow-soft);
  font-weight: 720;
  line-height: 1.4;
}

.sa-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: clamp(34px, 6vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.sa-empty h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.sa-empty p {
  max-width: 460px;
  margin: 0;
  line-height: 1.55;
}

.sa-empty div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.sa-empty a,
.sa-empty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.sa-empty a {
  border-color: var(--line);
  background: white;
  color: var(--forest);
}

.sa-sticky-buy {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 26px);
  left: clamp(14px, 3vw, 34px);
  z-index: 34;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: min(980px, calc(100vw - clamp(28px, 6vw, 68px)));
  margin-inline: auto;
  border: 1px solid rgba(23, 63, 54, 0.2);
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  padding: 10px 12px;
  box-shadow: 0 20px 70px rgba(25, 20, 17, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.sa-sticky-buy.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sa-sticky-buy span {
  display: block;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sa-sticky-buy strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sa-sticky-buy p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.sa-sticky-buy > div:last-child {
  display: flex;
  gap: 8px;
}

.sa-sticky-buy button {
  min-height: 42px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.sa-sticky-buy button:last-child {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

@media (max-width: 1180px) {
  .sa-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sa-curator-shell {
    grid-template-columns: minmax(170px, 0.35fr) minmax(360px, 1fr);
  }

  .sa-curator-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .sa-topbar {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding-block: 11px;
  }

  .sa-topbar nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    gap: 20px;
    font-size: 0.95rem;
  }

  .sa-footer {
    flex-direction: column;
  }

  .sa-footer nav {
    justify-content: flex-start;
  }

  .sa-brand {
    font-size: 1.28rem;
  }

  .sa-cart-button {
    min-height: 36px;
    padding-inline: 11px;
  }

  .sa-cart-button strong {
    min-width: 22px;
    height: 22px;
  }

	  .sa-hero,
	  .sa-collection-guide,
	  .sa-category-feature,
	  .sa-collection-feature,
	  .sa-toolbar,
	  .sa-product,
	  .sa-dialog-layout {
	    grid-template-columns: 1fr;
  }

  .sa-shop-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0 8px;
  }

  .sa-shop-head h1 {
    font-size: clamp(1.08rem, 3.8vw, 1.36rem);
  }

  .sa-shop-head-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 10px;
    text-align: left;
  }

  .sa-shop-head-side strong {
    font-size: 1.28rem;
  }

	  .sa-shop-head-side a {
	    margin-top: 0;
	    white-space: nowrap;
	  }

  .sa-curator {
    margin-inline: calc(clamp(16px, 4vw, 56px) * -1);
    border-inline: 0;
  }

  .sa-curator-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sa-curator-note {
    grid-column: auto;
  }

  .sa-curator-actions {
    display: flex;
  }

  .sa-curator-actions button {
    flex: 1 1 138px;
  }

  .sa-curator-controls {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .sa-toolbar {
    top: 91px;
    grid-template-columns: minmax(210px, 1.55fr) minmax(126px, 0.8fr) minmax(150px, 1fr) minmax(128px, 0.8fr);
    margin-inline: calc(clamp(16px, 4vw, 56px) * -1);
    overflow-x: auto;
    padding: 9px clamp(16px, 4vw, 56px);
    border-inline: 0;
    gap: 8px;
    scroll-padding-inline: 14px;
  }

  .sa-toolbar label,
  .sa-search {
    min-width: 0;
    gap: 5px;
  }

  .sa-toolbar span {
    font-size: 0.64rem;
  }

  .sa-toolbar input,
  .sa-toolbar select {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

	  .sa-category-tiles,
	  .sa-collection-tiles {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

	  .sa-collection-guide aside {
	    align-content: start;
	  }

  .sa-hero-art {
    min-height: 380px;
  }

  .sa-resultsbar {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding: 10px 0 12px;
  }

  .sa-active-view {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .sa-active-view button {
    width: 100%;
  }

  .sa-chips {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .sa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-product-page .sa-related .sa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-card-body {
    padding: 12px;
  }

  .sa-breadcrumb {
    padding: 18px 0 8px;
    font-size: 0.86rem;
  }

  .sa-product {
    gap: 22px;
    padding-top: 14px;
  }

  .sa-product-media {
    position: relative;
    display: block;
    top: auto;
    aspect-ratio: auto;
    min-height: 0;
    padding: 14px;
  }

  .sa-product-media img {
    width: 100%;
    height: auto;
    max-height: 68vh;
    object-fit: contain;
  }

  .sa-product-actions > * {
    flex: 1 1 140px;
  }

  .sa-zoom-button {
    position: static;
    width: 100%;
    margin-top: 10px;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

	  .sa-product-essentials {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

  .sa-product-copy {
    display: flex;
    flex-direction: column;
  }

  .sa-product-purchase {
    order: 1;
  }

  .sa-product-lead {
    order: 2;
    margin-top: 16px;
  }

  .sa-product-essentials {
    order: 3;
    margin-top: 16px;
  }

  .sa-product-details {
    order: 4;
  }

  .sa-product-story {
    order: 5;
  }

  .sa-dialog-media {
    min-height: 42vh;
  }

  .sa-dialog-copy {
    max-height: none;
  }

  .sa-sticky-buy {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .sa-sticky-buy > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  main {
    padding-inline: 14px;
  }

  .sa-topbar {
    padding: 10px 14px 9px;
  }

  .sa-brand {
    font-size: 1.14rem;
  }

  .sa-topbar nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .sa-cart-button {
    min-height: 34px;
    gap: 8px;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .sa-grid {
    grid-template-columns: 1fr;
  }

  .sa-shop-head {
    padding-top: 10px;
  }

  .sa-shop-head h1 {
    display: none;
  }

  .sa-shop-head .sa-label {
    display: none;
  }

  .sa-shop-head-side {
    justify-content: space-between;
    width: 100%;
    grid-column: 1 / -1;
  }

	  .sa-shop-head-side a {
	    min-height: 32px;
	    padding-inline: 10px;
	    font-size: 0.82rem;
	  }

  .sa-curator {
    margin: 0 -14px 12px;
    padding: 12px 14px;
  }

  .sa-curator-heading h2 {
    font-size: 1.12rem;
  }

  .sa-curator-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 0;
    overflow: visible;
    padding-inline: 0;
  }

  .sa-curator-options button {
    min-height: 46px;
    white-space: normal;
  }

  .sa-curator-moods {
    flex-wrap: nowrap;
    margin-inline: -14px;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .sa-curator-moods button {
    white-space: nowrap;
  }

  .sa-curator-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-curator-controls label {
    min-width: 0;
  }

  .sa-curator-actions button,
  .sa-curator-actions [data-curator-run],
  .sa-curator-actions [data-curator-reset] {
    flex-basis: calc(50% - 4px);
  }

  .sa-toolbar {
    top: 88px;
    grid-template-columns: minmax(190px, 1.45fr) minmax(116px, 0.85fr) minmax(144px, 1fr) minmax(116px, 0.85fr);
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .sa-resultsbar > p {
    font-size: 0.92rem;
  }

  .sa-product-page .sa-related .sa-grid {
    grid-template-columns: 1fr;
  }

  .sa-hero-art {
    min-height: 310px;
  }

	  .sa-category-tiles,
	  .sa-collection-tiles {
	    grid-template-columns: 1fr;
	  }

	  .sa-collection-guide dl {
	    grid-template-columns: 1fr;
	  }

  .sa-hero-art img {
    border-width: 5px;
  }

  .sa-dialog {
    width: calc(100vw - 14px);
  }

  .sa-dialog:has(.sa-zoom-view) {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    background: var(--forest-2);
  }

  .sa-zoom-view {
    min-height: 100dvh;
    padding: 10px;
  }

  .sa-zoom-view img {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 72px);
    box-shadow: none;
  }

  .sa-zoom-view.is-zoomed img {
    width: 220vw;
    max-width: none;
    max-height: none;
  }

  .sa-zoom-view p {
    max-width: calc(100vw - 20px);
    text-align: center;
    font-size: 0.95rem;
  }

  .sa-specs {
    grid-template-columns: 1fr;
  }

  .sa-product-essentials {
    grid-template-columns: 1fr;
  }

  .sa-product-copy h1 {
    font-size: clamp(1.95rem, 9vw, 2.45rem);
    line-height: 1;
  }

  .sa-product-lead {
    font-size: 1rem;
  }

  .sa-product-purchase {
    margin-top: 18px;
    padding: 15px;
  }

  .sa-product-purchase > div:first-child {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .sa-product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sa-dialog-actions > * {
    width: 100%;
  }
}

/* Clean curator box: exact filters stay deterministic; chat handles intent. */
.sa-curator {
  margin: 4px 0 14px;
  border: 1px solid rgba(23, 63, 54, 0.16);
  background: rgba(255, 253, 248, 0.92);
  padding: 0;
}

.sa-curator-card {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 2vw, 22px);
}

.sa-curator-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.sa-curator-head h2 {
  margin: 3px 0 0;
  color: var(--forest-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 1.95rem);
  line-height: 1.05;
}

.sa-curator-status {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: right;
}

.sa-curator-chat {
  display: grid;
  gap: 6px;
}

.sa-curator-chat label,
.sa-curator-filters span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sa-curator-inputrow {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 8px;
}

.sa-curator-inputrow input,
.sa-curator-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(23, 63, 54, 0.22);
  background: var(--paper);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.sa-curator-inputrow button,
.sa-chat-prompts button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 63, 54, 0.22);
  background: transparent;
  color: var(--forest);
  padding: 0 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.sa-curator-inputrow [data-curator-run] {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.sa-curator-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 8px;
}

.sa-curator-filters label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.sa-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sa-chat-prompts button {
  min-height: 32px;
  background: rgba(255, 253, 248, 0.86);
  padding-inline: 10px;
  font-size: 0.84rem;
}

.sa-curator-reply {
  min-height: 0;
  border-top: 1px solid rgba(23, 63, 54, 0.12);
  padding-top: 10px;
}

.sa-curator-reply p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.sa-curator-reply p span {
  display: block;
  margin-bottom: 6px;
}

.sa-curator-reply .sa-curator-insight {
  margin-top: 7px;
  color: var(--ink);
}

.sa-curator-insight[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .sa-curator-card {
    gap: 10px;
    padding: 14px;
  }

  .sa-curator-head {
    display: grid;
    gap: 5px;
  }

  .sa-curator-status {
    max-width: none;
    text-align: left;
  }

  .sa-curator-inputrow {
    grid-template-columns: 1fr auto auto;
  }

  .sa-curator-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sa-curator {
    margin: 0 -14px 12px;
    border-inline: 0;
  }

  .sa-curator-inputrow {
    grid-template-columns: 1fr 1fr;
  }

  .sa-curator-inputrow input {
    grid-column: 1 / -1;
  }

  .sa-curator-inputrow button {
    width: 100%;
  }

  .sa-chat-prompts {
    flex-wrap: nowrap;
    margin-inline: -14px;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .sa-chat-prompts button {
    white-space: nowrap;
  }
}

/* Natural-language curator: one chat surface plus quiet refinement filters. */
.sa-shop-head {
  display: none;
}

.sa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sa-curator {
  margin: 8px 0 14px;
  border: 1px solid rgba(23, 63, 54, 0.13);
  background: rgba(255, 253, 248, 0.96);
}

.sa-curator-card {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 1.9vw, 20px);
}

.sa-curator-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.sa-curator-head h2 {
  margin: 0;
  color: var(--forest-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.34rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.sa-curator-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

.sa-curator-count strong {
  color: var(--forest);
  font-size: 1.06rem;
  line-height: 1;
}

.sa-curator-count span {
  font-size: 0.82rem;
}

.sa-chatbox {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
}

.sa-chat-message {
  border-top: 1px solid rgba(23, 63, 54, 0.1);
  padding-top: 12px;
}

.sa-chat-message[hidden],
.sa-chat-message p[hidden],
.sa-curator-chips[hidden] {
  display: none;
}

.sa-curator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.sa-curator-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(23, 63, 54, 0.16);
  background: rgba(255, 253, 248, 0.88);
  color: var(--forest);
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1;
}

button.sa-curator-chip {
  cursor: pointer;
}

.sa-curator-chip-hard {
  border-color: rgba(23, 63, 54, 0.28);
  background: rgba(223, 232, 220, 0.54);
}

.sa-curator-chip-soft {
  color: var(--muted);
}

.sa-curator-chip strong {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 63, 54, 0.12);
  color: var(--forest);
  font-size: 0.75rem;
  line-height: 1;
}

.sa-chat-message p {
  max-width: 1080px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.48;
}

.sa-chat-message .sa-curator-insight {
  margin-top: 8px;
  color: var(--ink);
}

.sa-curator-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sa-curator-picks[hidden] {
  display: none;
}

.sa-curator-pick {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  min-height: 116px;
  border: 1px solid rgba(23, 63, 54, 0.14);
  background: rgba(255, 253, 248, 0.78);
  padding: 10px;
}

.sa-curator-pick-image {
  display: block;
  width: 76px;
  height: 96px;
  overflow: hidden;
  background: rgba(23, 63, 54, 0.08);
}

.sa-curator-pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-curator-pick h3 {
  margin: 2px 0 5px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.08;
}

.sa-curator-pick h3 a {
  color: inherit;
  text-decoration: none;
}

.sa-curator-pick p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.38;
}

.sa-curator-pick-kicker {
  color: var(--muted);
  font-size: 0.7rem !important;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-curator-pick div div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 820;
}

.sa-curator-pick div div a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sa-curator-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sa-curator-followups button {
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.72);
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 11px;
}

.sa-curator-followups button:hover,
.sa-curator-followups button:focus-visible {
  border-color: var(--forest);
  outline: none;
}

.sa-curator-inputrow {
  position: relative;
  display: block;
}

.sa-curator-inputrow textarea {
  width: 100%;
  min-height: 108px;
  max-height: 260px;
  resize: vertical;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  padding: 18px 142px 18px 18px;
  font-size: clamp(1rem, 1.12vw, 1.1rem);
  line-height: 1.48;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  outline: none;
}

.sa-curator-inputrow textarea:focus {
  border-color: rgba(23, 63, 54, 0.58);
  box-shadow: 0 0 0 3px rgba(23, 63, 54, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.sa-curator-inputrow textarea::placeholder {
  color: rgba(103, 94, 86, 0.66);
}

.sa-chat-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sa-chat-actions button {
  display: inline-flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.96);
  color: var(--forest);
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 790;
}

.sa-chat-actions [data-curator-run] {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.sa-chat-actions [data-curator-reset] {
  color: rgba(23, 63, 54, 0.78);
}

.sa-chat-actions button:hover,
.sa-chat-actions button:focus-visible {
  border-color: var(--forest);
  outline: none;
}

.sa-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.sa-search-field {
  display: block;
}

.sa-search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.sa-search-field input:focus {
  border-color: rgba(23, 63, 54, 0.58);
  box-shadow: 0 0 0 3px rgba(23, 63, 54, 0.09);
}

.sa-search-row button {
  min-width: 86px;
  border: 1px solid rgba(23, 63, 54, 0.18);
  background: rgba(255, 253, 248, 0.82);
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-weight: 790;
}

.sa-curator-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  opacity: 0.92;
}

.sa-curator-filters label {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-width: 0;
  border: 1px solid rgba(23, 63, 54, 0.12);
  background: rgba(255, 253, 248, 0.58);
}

.sa-filter-icon {
  display: grid;
  width: 34px;
  height: 38px;
  place-items: center;
  color: var(--forest);
  border-right: 1px solid rgba(23, 63, 54, 0.1);
}

.sa-filter-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sa-curator-filters select {
  min-height: 38px;
  border: 0;
  background: transparent;
  padding-left: 8px;
  padding-right: 8px;
  color: var(--ink);
  font-size: 0.92rem;
}

.sa-chat-prompts,
.sa-curator-reply,
.sa-curator-status,
.sa-curator-chat label {
  display: none;
}

@media (max-width: 820px) {
  .sa-curator {
    margin-inline: calc(clamp(16px, 4vw, 56px) * -1);
    border-inline: 0;
  }

  .sa-curator-card {
    padding-inline: clamp(16px, 4vw, 56px);
  }

  .sa-curator-head {
    align-items: start;
  }

  .sa-curator-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sa-curator {
    margin: 0 -14px 12px;
  }

  .sa-curator-card {
    padding: 12px 14px;
  }

  .sa-curator-head {
    display: grid;
    gap: 5px;
  }

  .sa-curator-count {
    white-space: normal;
  }

  .sa-chatbox {
    padding: 0;
  }

  .sa-curator-picks {
    grid-template-columns: 1fr;
  }

  .sa-curator-inputrow textarea {
    min-height: 136px;
    padding: 14px 14px 64px;
  }

  .sa-curator-filters {
    grid-template-columns: 1fr;
  }

  .sa-search-row {
    grid-template-columns: 1fr;
  }
}
