:root {
  --paper: #f7f4ef;
  --ink: #1d1c19;
  --muted: #74706a;
  --line: #ded8cf;
  --clay: #9b6a58;
  --olive: #72785e;
  --blue: #405d68;
  --white: #fffdf9;
  --shadow: 0 18px 45px rgba(35, 31, 25, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select {
  font: inherit;
}

.site-header, .admin-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 239, .88);
  border-bottom: 1px solid rgba(222, 216, 207, .75);
  backdrop-filter: blur(18px);
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.site-header nav, .admin-top nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
}
.site-header nav a:hover, .admin-top nav a:hover { color: var(--ink); }
.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}
.lang {
  display: flex;
  gap: 7px;
  margin-left: 10px;
}
.lang a {
  padding: 4px 7px;
  border: 1px solid transparent;
  font-size: 12px;
}
.lang a.active {
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(76vh, 760px);
  display: grid;
  align-items: end;
  padding: clamp(36px, 7vw, 84px);
  overflow: hidden;
  background: #171513;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .66;
  filter: saturate(.86);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 8, .68), rgba(10, 9, 8, .12) 70%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fffaf1;
}
.hero-copy p, .kicker {
  margin: 0 0 12px;
  color: #8f6a55;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}
.hero-copy p {
  color: #dfd4c4;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 10vw, 124px);
  line-height: .92;
  letter-spacing: 0;
}
.hero-copy div {
  max-width: 570px;
  font-size: clamp(17px, 2vw, 22px);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
}
select, input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
}
textarea { resize: vertical; }
.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px 10px 15px;
  border: 1px solid #d9d1c7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 246, 240, .98));
  color: var(--ink);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 10px 22px rgba(35, 31, 25, .06);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: #bfb3a6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 28px rgba(35, 31, 25, .1);
}
.custom-select-trigger:focus-visible {
  outline: 2px solid rgba(64, 93, 104, .22);
  outline-offset: 2px;
}
.custom-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-arrow {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.custom-select.open .custom-select-arrow {
  transform: rotate(225deg) translateY(-2px);
}
.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  max-height: 280px;
  overflow: auto;
  padding: 7px;
  border: 1px solid #d5ccc0;
  border-radius: 10px;
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 22px 50px rgba(35, 31, 25, .18);
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  backdrop-filter: blur(12px);
}
.custom-select.open .custom-select-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.custom-select-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.custom-select-option:hover,
.custom-select-option:focus-visible {
  outline: 0;
  background: #f2ede5;
}
.custom-select-option.selected {
  background: #233238;
  color: #fffaf1;
}
.custom-select-option[hidden] {
  display: none;
}
.custom-select.disabled {
  opacity: .58;
}

.gallery-promo {
  display: grid;
  place-items: center;
  min-height: 28px;
  background: #151412;
  color: #fffaf1;
  font-size: 13px;
  letter-spacing: .01em;
}
.profile-cover {
  height: 207px;
  overflow: hidden;
  background: #d9d0c4;
}
.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.85) contrast(.98);
}
.artist-profile-card {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 1196px);
  min-height: 154px;
  margin: -86px auto 0;
  padding: 30px 58px;
  display: flex;
  justify-content: space-between;
  gap: 34px;
  background: rgba(255, 252, 246, .58);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(35, 31, 25, .16);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}
.artist-summary {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.artist-avatar {
  width: 94px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 12px 30px rgba(35, 31, 25, .14);
}
.artist-summary h1 {
  margin: 0 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 27px;
  line-height: 1.15;
  text-shadow: 0 1px 14px rgba(255, 252, 246, .5);
}
.artist-summary p {
  max-width: 660px;
  margin: 0 0 7px;
  color: rgba(35, 34, 31, .9);
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(255, 252, 246, .58);
}
.artist-summary a {
  color: #25231f;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 12px rgba(255, 252, 246, .64);
}
.gallery-tabs {
  width: min(calc(100% - 32px), 1196px);
  margin: 28px auto 28px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
  align-items: center;
}
.gallery-tabs > a {
  display: grid;
  place-items: center;
  min-height: 36px;
  background: #f0f2f3;
  border: 1px solid #e8ecef;
  color: #666;
  font-size: 14px;
}
.gallery-tabs > a:first-child {
  border-radius: 7px 0 0 7px;
}
.gallery-tabs > a:nth-child(2) {
  border-radius: 0 7px 7px 0;
}
.gallery-tabs > a.active {
  background: #fff;
  color: #1f1e1b;
  box-shadow: 0 2px 8px rgba(35, 31, 25, .11);
}
.gallery-tabs form {
  margin-left: 20px;
}
.gallery-tabs label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.gallery-tabs select {
  width: 132px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #fff;
}
.saatchi-gallery {
  width: min(calc(100% - 32px), 1196px);
  margin: 0 auto 72px;
  column-count: 4;
  column-gap: 44px;
}
.saatchi-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 30px;
  break-inside: avoid;
}
.saatchi-image {
  display: block;
  overflow: hidden;
  background: #eee9e1;
}
.saatchi-image img {
  width: 100%;
  height: auto;
  transition: opacity .2s ease, transform .45s ease;
}
.saatchi-card:hover .saatchi-image img {
  opacity: .94;
  transform: scale(1.015);
}
.product-card-gallery {
  position: absolute;
  left: 12px;
  bottom: 92px;
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(255, 252, 246, .76);
  box-shadow: 0 14px 32px rgba(35, 31, 27, .12);
  backdrop-filter: blur(12px);
}
.product-card-gallery button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(43, 41, 37, .46);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.product-card-gallery button.active {
  background: #2b2925;
  border-color: #2b2925;
}
.gallery-sale-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background: rgba(255, 252, 246, .78);
  box-shadow: 0 10px 26px rgba(35, 31, 27, .12);
  backdrop-filter: blur(12px);
  color: #5a3329;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.saatchi-actions {
  position: absolute;
  right: 0;
  top: calc(100% - 84px);
  display: flex;
  gap: 10px;
  align-items: center;
}
.saatchi-actions a,
.icon-heart,
.icon-cart {
  width: auto;
  min-width: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2b2925;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.icon-heart b {
  display: none;
}
.icon-cart {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #2b2925;
  border-radius: 50%;
  font-size: 17px;
}
.icon-cart.print-cart {
  border-color: #536b2e;
  background: #f5f8ef;
  color: #536b2e;
}
.saatchi-meta {
  padding-top: 8px;
  padding-right: 60px;
  color: #2a2825;
  font-size: 14px;
  line-height: 1.28;
}
.saatchi-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.gallery-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.gallery-price strong {
  margin-bottom: 0;
}
.gallery-price.is-sale strong {
  color: #5a3329;
}
.gallery-price del {
  color: #8a837a;
  font-size: 13px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(90, 51, 41, .52);
}
.saatchi-meta h2 {
  margin: 0 0 2px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}
.saatchi-meta p {
  margin: 0 0 2px;
  color: #57534e;
}
.saatchi-meta .status {
  margin-top: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(26px, 4vw, 58px);
}
.art-card {
  min-width: 0;
}
.art-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e1d8;
}
.art-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}
.art-card:hover .art-image img {
  transform: scale(1.035);
  filter: saturate(1.03);
}
.art-meta, .art-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 15px;
}
.art-meta h2 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}
.art-meta p, .print-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.print-note.is-highlighted {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 5px 8px;
  border: 1px solid #d8c7ad;
  border-radius: 999px;
  background: #fbf4e8;
  color: #745638;
  font-size: 12px;
  font-weight: 800;
}
.heart {
  min-width: 54px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--clay);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.heart:hover { transform: translateY(-1px); background: #fff8f0; }
.heart.liked span { content: "♥"; }
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  text-align: center;
  text-indent: .08em;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status.sold { color: #7b3732; }
.status.reserved { color: var(--olive); }
.art-price strong { font-size: 16px; }

.painting-browser {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.painting-browser-link {
  position: absolute;
  top: 50%;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 31, 25, .18);
  border-radius: 50%;
  background: rgba(255, 253, 249, .58);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(35, 31, 25, .1);
  opacity: .64;
  pointer-events: auto;
  text-decoration: none;
  transform: translateY(-50%);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  backdrop-filter: blur(12px);
}
.painting-browser-link.left {
  left: -50px;
}
.painting-browser-link.right {
  right: -50px;
}
.painting-browser-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.painting-browser-link svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
}
.painting-browser-link.right svg {
  transform: translateX(1.5px);
}
.painting-browser-link.left svg {
  transform: translateX(-1.5px);
}
.painting-browser-link path {
  fill: none;
  stroke: rgba(35, 31, 25, .66);
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.painting-browser-link:hover,
.painting-browser-link:focus-visible {
  opacity: 1;
  background: rgba(255, 253, 249, .88);
  outline: 0;
  transform: translateY(-50%) translateX(0);
}
.painting-browser-link.left:hover,
.painting-browser-link.left:focus-visible {
  transform: translateY(-50%) translateX(3px);
}
.painting-browser-link.right:hover,
.painting-browser-link.right:focus-visible {
  transform: translateY(-50%) translateX(-3px);
}

.painting-page {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(24px, 5vw, 70px);
}
.painting-media {
  position: relative;
  display: grid;
  gap: 18px;
}
.painting-media > img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #e6ded3;
}
.painting-media .mockup {
  max-height: 520px;
  object-fit: cover;
}
.purchase-panel {
  position: sticky;
  top: 94px;
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.purchase-panel h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 1;
  overflow-wrap: break-word;
}
.detail-heart { margin-bottom: 20px; }
dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 9px 16px;
  margin: 22px 0;
}
dt { color: var(--muted); }
dd { margin: 0; }
.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0;
}
.price-block > * {
  min-width: 0;
}
.price-block strong { font-size: 28px; }
.price-block del { color: var(--muted); }
.price-block.small strong { font-size: 20px; }
.original-unavailable-note {
  margin: -8px 0 16px;
  padding: 12px 14px;
  border: 1px solid #d8c7ad;
  border-radius: 8px;
  background: #fbf4e8;
  color: #745638;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}
.print-purchase-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #cbd5b7;
  border-radius: 8px;
  background: #f7f9f1;
}
.print-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.print-card-head span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8efd9;
  color: #4f6a2b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.print-card-head strong {
  font-size: 15px;
}
.print-purchase-card .price-block {
  margin: 0;
}
.checkout-form {
  display: grid;
  gap: 12px;
}
.direct-checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.direct-checkout-fields label:nth-child(4) {
  grid-column: 1 / -1;
}
.checkout-actions {
  display: grid;
  gap: 12px;
}
.button, .inline-form button, .actions button, .row-actions button {
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 11px 16px;
  cursor: pointer;
  text-align: center;
}
.button.ghost {
  background: transparent;
  color: var(--ink);
}
.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: 320px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
}
.cart-toast.in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.cart-page {
  width: min(calc(100% - 32px), 1180px);
  margin: 42px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
  transition: opacity .16s ease, filter .16s ease;
}
.cart-page.is-updating,
.stripe-mock-page.is-updating,
.page-narrow.is-updating,
.checkout-success.is-updating {
  opacity: .62;
  filter: saturate(.9);
  pointer-events: none;
}
.cart-main h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
}
.cart-list {
  display: grid;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 86px 110px auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.cart-item img {
  width: 94px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e8e1d8;
}
.cart-item h2 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.2;
}
.cart-item p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
}
.cart-item label {
  font-size: 13px;
}
.cart-item input[readonly] {
  background: #f2eee7;
}
.cart-item button {
  border: 0;
  background: transparent;
  color: #7b3732;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-summary {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cart-summary h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.discount-line strong {
  color: #7b3732;
}
.total-line {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 18px;
}
.total-line strong {
  font-size: 21px;
}
.cart-voucher-form {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-voucher-form label {
  color: var(--muted);
  font-weight: 650;
}
.voucher-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.voucher-buttons .button {
  min-height: 44px;
}
.voucher-buttons .subtle {
  border-color: transparent;
  color: #7b3732;
}
.voucher-status {
  margin: 0;
  font-size: 13px;
}
.voucher-status.success {
  color: var(--blue);
}
.voucher-status.error {
  color: #8b2f24;
}
.stripe-mock-page {
  width: min(calc(100% - 32px), 1180px);
  margin: 42px auto 72px;
  transition: opacity .16s ease, filter .16s ease;
}
.checkout-success {
  width: min(calc(100% - 32px), 760px);
  margin: 64px auto 86px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.checkout-success > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.checkout-success h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
}
.checkout-success p {
  max-width: 560px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.checkout-success small {
  display: block;
  color: var(--muted);
}
.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.mock-checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 26px;
  align-items: start;
}
.mock-checkout-main,
.mock-payment-card,
.mock-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.mock-checkout-main {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}
.mock-stripe-top,
.mock-brand-row,
.mock-totals div,
.mock-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mock-stripe-top {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.mock-stripe-top span {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #cfd9dc;
  border-radius: 999px;
  background: #f4f8f8;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mock-stripe-top strong {
  font-size: 20px;
  color: #6259ff;
}
.mock-brand-row p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 700;
}
.mock-brand-row h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}
.mock-brand-row > strong {
  font-size: clamp(28px, 4vw, 44px);
  white-space: nowrap;
}
.mock-note {
  margin: 0;
  color: var(--muted);
  max-width: 740px;
}
.mock-panel {
  padding: 18px;
  box-shadow: none;
}
.mock-panel h2,
.mock-payment-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.mock-lines {
  display: grid;
  gap: 12px;
}
.mock-line-item {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}
.mock-line-item img {
  width: 70px;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 4px;
  background: #e8e1d8;
}
.mock-line-item div {
  min-width: 0;
  flex: 1;
}
.mock-line-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
}
.mock-line-item p,
.mock-line-item small,
.mock-address dd,
.mock-panel p,
.mock-panel small {
  margin: 0;
  color: var(--muted);
}
.mock-line-item strong {
  white-space: nowrap;
}
.mock-line-item small {
  display: block;
  margin-top: 7px;
  color: #8b2f24;
}
.mock-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mock-address {
  grid-template-columns: 92px 1fr;
  margin: 0;
}
.mock-address dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .03em;
}
.mock-address dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-weight: 650;
}
.mock-payment-panel {
  position: sticky;
  top: 92px;
}
.mock-payment-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.mock-payment-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 650;
}
.mock-payment-card .two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mock-payment-card input {
  background: #f7f4ef;
  color: var(--ink);
}
.mock-totals {
  display: grid;
  gap: 0;
  margin: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mock-totals div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mock-totals div:last-child {
  border-bottom: 0;
}
.mock-total {
  font-size: 18px;
}
.mock-total strong {
  font-size: 22px;
}
.shipping-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.shipping-form .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shipping-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.checkout-policy-note {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
  line-height: 1.45;
}
.checkout-policy-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty-cart {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.painting-description, .page-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 70px) clamp(48px, 7vw, 90px);
}
.prose {
  font-size: 18px;
}
.prose p { margin: 0 0 1.1em; }
.prose h2 {
  margin-top: 36px;
  font-family: Georgia, "Times New Roman", serif;
}

.profile-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 74px);
  color: white;
  overflow: hidden;
}
.profile-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.68) saturate(.85);
}
.profile-hero div { position: relative; }
.profile-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 108px);
}
.profile-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 680px);
  gap: clamp(28px, 4vw, 56px);
  width: min(calc(100% - 48px), 990px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
  align-items: start;
}
.profile-notice {
  width: min(calc(100% - 40px), 1180px);
  margin: 28px auto 0;
}
.avatar {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}
.profile-aside h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}
.profile-kicker,
.profile-joined {
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-kicker {
  font-size: 12px;
}
.profile-joined {
  color: #383633;
  font-size: 13px;
}
.profile-social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.profile-social-links .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 14px;
}
.profile-story {
  min-width: 0;
}
.profile-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 0;
  margin: 0 0 clamp(24px, 4vw, 40px);
  border-bottom: 2px solid #c8c3bb;
}
.profile-tabs button {
  appearance: none;
  position: relative;
  border: 0;
  padding: 0 34px 13px 0;
  background: transparent;
  color: #aaa9a7;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.profile-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 42px;
  bottom: -2px;
  height: 2px;
  background: transparent;
}
.profile-tabs button.active {
  color: var(--ink);
}
.profile-tabs button.active::after {
  background: var(--ink);
}
.profile-tab-panel {
  max-width: 680px;
  color: #343331;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.56;
}
.profile-tab-panel:not(.active) {
  display: none;
}
.profile-tab-panel p {
  margin-bottom: 1.15em;
}
.commission-card {
  width: min(calc(100% - 48px), 990px);
  margin: 0 auto clamp(42px, 6vw, 70px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #b8b0a5;
  border-radius: 8px;
  background: rgba(255, 253, 249, .58);
  text-align: center;
}
.commission-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
}
.commission-card p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: #3b3935;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}
.commission-card .button {
  min-height: 44px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(29, 28, 25, .48);
}
.modal-backdrop[hidden] {
  display: none;
}
.commission-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 80px rgba(14, 12, 10, .28);
}
.commission-modal h2 {
  margin: 0 42px 10px 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}
.commission-modal > p {
  margin: 0 0 18px;
  color: #111;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.42;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 7px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
}
.modal-close::before {
  transform: rotate(45deg);
}
.modal-close::after {
  transform: rotate(-45deg);
}
.commission-form {
  display: grid;
  gap: 12px;
}
.commission-form label {
  display: grid;
}
.commission-form input,
.commission-form textarea {
  width: 100%;
  border: 1px solid #aaa9a5;
  border-radius: 6px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}
.commission-form textarea {
  min-height: 120px;
  resize: vertical;
}
.commission-form input::placeholder,
.commission-form textarea::placeholder {
  color: #777572;
}
.commission-form small {
  margin-top: -4px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
.commission-form .button {
  min-height: 48px;
  margin-top: 2px;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.commission-legal {
  margin: 0;
  color: #3a3835;
  font-size: 13px;
  line-height: 1.45;
}
.commission-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.premium-confirm {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(29, 28, 25, .46);
  backdrop-filter: blur(10px);
}
.premium-confirm[hidden] {
  display: none;
}
.premium-confirm-dialog {
  width: min(100%, 430px);
  padding: clamp(20px, 4vw, 26px);
  border: 1px solid rgba(222, 216, 207, .92);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .98), rgba(248, 244, 237, .98));
  box-shadow: 0 22px 64px rgba(16, 14, 12, .26);
}
.premium-confirm-dialog > span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.premium-confirm-dialog h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}
.premium-confirm-dialog p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.premium-confirm-dialog div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.premium-confirm-dialog .button {
  min-height: 44px;
  padding: 9px 14px;
}
.premium-confirm-dialog .danger-button {
  border-color: #7b3732;
  background: #7b3732;
  color: #fffdf9 !important;
}
.profile-links-panel {
  margin: 22px 0;
}
.profile-links-panel .settings-grid {
  align-items: end;
}
.profile-links-panel .social-remove {
  min-height: 52px;
}
.profile-crop-panel {
  margin-bottom: 4px;
}
.profile-crop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.position-picker {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.position-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.position-picker-head strong {
  font-size: 16px;
}
.position-picker-head span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.position-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ded5c8;
  cursor: grab;
  user-select: none;
}
.position-frame:active {
  cursor: grabbing;
}
.position-frame:focus-visible {
  outline: 2px solid rgba(64, 93, 104, .28);
  outline-offset: 3px;
}
.position-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.profile-cover-preview {
  aspect-ratio: 16 / 5;
}
.profile-hero-preview {
  aspect-ratio: 16 / 7;
}
.position-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1px solid rgba(255, 253, 249, .95);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(35, 31, 25, .42), 0 8px 18px rgba(35, 31, 25, .24);
  pointer-events: none;
}
.position-crosshair::before,
.position-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 253, 249, .95);
}
.position-crosshair::before {
  left: 50%;
  top: -8px;
  width: 1px;
  height: 36px;
}
.position-crosshair::after {
  left: -8px;
  top: 50%;
  width: 36px;
  height: 1px;
}
.position-picker p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.site-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.site-footer a:hover,
.site-footer button:hover {
  color: var(--ink);
}
.legal-page {
  padding-top: clamp(34px, 6vw, 74px);
}
.legal-page h1 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}
.legal-page .kicker {
  color: #7e5848;
}
.cookie-consent {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: 22px;
  z-index: 100;
  width: min(calc(100% - 32px), 1040px);
  max-height: calc(100vh - 44px);
  margin-inline: auto;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px 24px;
  border: 1px solid rgba(222, 216, 207, .85);
  border-radius: 12px;
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 24px 70px rgba(35, 31, 25, .22);
  backdrop-filter: blur(18px);
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cookie-consent h2 {
  margin: 3px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.05;
}
.cookie-consent p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.cookie-consent a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}
.cookie-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  font-size: 15px;
  font-weight: 750;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cookie-actions .button:first-child {
  grid-column: auto;
}
.cookie-actions .button:nth-child(2) {
  grid-column: auto;
}
.cookie-actions .button:nth-child(3) {
  grid-column: auto;
}
.cookie-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: span 2;
  min-height: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: normal;
}
.cookie-actions input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.admin-body, .login-screen { background: #f1eee8; }
.admin-main {
  padding: 32px clamp(18px, 4vw, 54px) 70px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric, .notice, .login-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}
.admin-main > .notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  font-size: 14px;
}
.metric span { color: var(--muted); text-transform: uppercase; font-size: 12px; }
.metric strong { display: block; font-size: 42px; }
.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf9 0%, #f7f1e8 100%);
  box-shadow: var(--shadow);
}
.dashboard-hero,
.analytics-metric,
.analytics-panel {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .48s ease var(--dash-delay, 0ms),
    transform .48s ease var(--dash-delay, 0ms),
    box-shadow .2s ease;
}
.dashboard-ready .dashboard-hero,
.dashboard-ready .analytics-metric,
.dashboard-ready .analytics-panel {
  opacity: 1;
  transform: translateY(0);
}
.analytics-metric {
  position: relative;
  overflow: hidden;
}
.analytics-metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .62) 44%, transparent 78%);
  transform: translateX(-120%);
  pointer-events: none;
}
.dashboard-ready .analytics-metric::after {
  animation: dashboard-shimmer .9s ease var(--dash-delay, 0ms) both;
}
.dashboard-hero span,
.analytics-panel .panel-head span {
  display: block;
  margin-bottom: 5px;
  color: #9b6a59;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dashboard-hero h2,
.analytics-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}
.dashboard-hero h2 {
  font-size: clamp(34px, 4.4vw, 58px);
}
.dashboard-hero p {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--muted);
}
.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.analytics-metric,
.analytics-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.analytics-metric {
  min-height: 124px;
  padding: 16px;
}
.analytics-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.analytics-metric strong {
  display: block;
  margin: 10px 0 5px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
}
.analytics-metric small,
.muted-copy {
  color: var(--muted);
}
.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr) minmax(260px, .75fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
.analytics-panel {
  padding: 18px;
}
.analytics-panel .panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.analytics-panel .panel-head strong {
  white-space: nowrap;
  font-size: 20px;
}
.analytics-panel .panel-head a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sales-chart {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 5px;
  height: 250px;
  align-items: end;
  padding: 14px 10px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.chart-day {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 22px;
  min-width: 0;
  height: 100%;
  align-items: end;
  outline: 0;
}
.chart-day span {
  display: block;
  min-height: 4px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #405d68, #9b6a59);
  transform: scaleY(.08);
  transform-origin: bottom;
  transition: transform .62s cubic-bezier(.2, .8, .2, 1) var(--dash-delay, 0ms);
}
.dashboard-ready .chart-day span {
  transform: scaleY(1);
}
.chart-day small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}
.chart-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 8;
  display: grid;
  min-width: 126px;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(64, 93, 104, .18);
  border-radius: 8px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 16px 34px rgba(35, 31, 25, .16);
  color: var(--ink);
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 7px);
  transition: opacity .16s ease, transform .16s ease;
  backdrop-filter: blur(10px);
}
.chart-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(64, 93, 104, .18);
  border-bottom: 1px solid rgba(64, 93, 104, .18);
  background: rgba(255, 253, 249, .96);
  transform: translateX(-50%) rotate(45deg);
}
.chart-tooltip em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chart-tooltip strong {
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
}
.chart-day:hover .chart-tooltip,
.chart-day:focus-visible .chart-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sales-mix,
.inventory-list,
.top-artworks,
.recent-orders {
  display: grid;
  gap: 12px;
}
.mix-row {
  display: grid;
  gap: 8px;
}
.mix-row strong,
.top-artworks strong,
.recent-orders strong {
  display: block;
}
.mix-row span,
.top-artworks small,
.recent-orders small {
  color: var(--muted);
}
.mix-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7dc;
}
.mix-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #405d68;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1) var(--dash-delay, 0ms);
}
.dashboard-ready .mix-bar i {
  transform: scaleX(1);
}
.inventory-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.inventory-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.inventory-list strong {
  font-size: 22px;
}
.analytics-bottom {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.35fr);
  gap: 18px;
}
.top-artworks a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.top-artworks img {
  width: 54px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  background: #eee7dc;
}
.top-artworks span,
.recent-orders span {
  min-width: 0;
}
.recent-orders > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.recent-orders > div:last-child {
  border-bottom: 0;
}
.recent-orders > div > span:last-child {
  display: grid;
  gap: 6px;
  justify-items: end;
}
.recent-orders b {
  font-size: 15px;
}
.recent-orders em {
  font-style: normal;
}
@keyframes dashboard-shimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-hero,
  .analytics-metric,
  .analytics-panel,
  .chart-day span,
  .mix-bar i {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .analytics-metric::after {
    display: none;
  }
}
.admin-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
}
.admin-section-head h1 {
  margin: 0 0 4px;
  font-size: clamp(36px, 4vw, 54px);
}
.admin-section-head p {
  margin: 0;
  color: var(--muted);
}
.orders-head {
  align-items: center;
}
.orders-head h2 {
  margin: 0 0 4px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
}
.orders-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f3;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 0;
}
.admin-table th, .admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.admin-table th {
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}
.admin-table img {
  width: 54px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  background: #e8e1d8;
}
.admin-table small { display: block; color: var(--muted); }
.paintings-table {
  min-width: 1080px;
  table-layout: fixed;
}
.paintings-table .order-col { width: 76px; }
.paintings-table .painting-col { width: 360px; }
.paintings-table .status-col { width: 132px; }
.paintings-table .price-col { width: 132px; }
.paintings-table .actions-col { width: auto; }
.order-cell span {
  display: inline-flex;
  min-width: 42px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.painting-list-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.painting-list-item strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.painting-list-item small {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f3;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-sold {
  background: #f1ece6;
  color: #695f55;
}
.status-reserved {
  background: #f5eddf;
  color: #80633d;
}
.status-archived {
  background: #eceeee;
  color: #667071;
}
.status-pending {
  background: #f4f8f8;
  color: var(--blue);
}
.status-paid,
.status-packaging {
  background: #f5f8ef;
  color: #536b2e;
}
.status-waiting_pickup {
  background: #f7f0e3;
  color: #7a613d;
}
.status-shipped,
.status-delivered {
  background: #eaf3ee;
  color: #3f6a53;
}
.status-delayed {
  background: #f5eddf;
  color: #80633d;
}
.status-canceled {
  background: #f4e9e6;
  color: #8b3b31;
}
.status-refunded,
.status-refund-refunded {
  background: #eef4ee;
  color: #4f693a;
}
.status-refund-requested,
.status-refund-processing {
  background: #f7f0e3;
  color: #7a613d;
}
.status-refund-rejected,
.status-refund-failed {
  background: #f4e9e6;
  color: #8b3b31;
}
.orders-table-wrap {
  overflow: visible;
}
.orders-table {
  table-layout: fixed;
  font-size: 14px;
}
.orders-table .order-id-col { width: 86px; }
.orders-table .order-artwork-col { width: 150px; }
.orders-table .order-type-col { width: 78px; }
.orders-table .order-status-col { width: 178px; }
.orders-table .order-money-col { width: 82px; }
.orders-table .order-customer-col { width: 190px; }
.orders-table .order-refund-col { width: 180px; }
.orders-table .order-date-col { width: 126px; }
.orders-table th,
.orders-table td {
  padding: 10px 12px;
  vertical-align: middle;
}
.orders-table th {
  font-size: 13px;
}
.orders-table td {
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.orders-table small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.25;
}
.order-id {
  display: block;
  font-size: 15px;
}
.order-artwork-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.order-product-type {
  display: block;
  font-weight: 700;
}
.orders-table .status-pill {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: .1em;
}
.order-status-form {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.order-status-form .custom-select-trigger {
  min-height: 34px;
  padding: 7px 9px 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  box-shadow: none;
}
.order-status-form .custom-select-menu {
  min-width: 210px;
}
.order-status-form .button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}
.refund-admin-cell {
  display: grid;
  min-width: 0;
  gap: 5px;
  align-items: start;
}
.refund-admin-cell .muted {
  color: var(--muted);
  font-size: 12px;
}
.refund-admin-cell small {
  display: block;
  max-width: 100%;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.refund-actions {
  display: grid;
  gap: 6px;
}
.refund-actions .button {
  width: 100%;
  min-height: 31px;
  padding: 6px 8px;
  font-size: 12px;
}
.orders-table time {
  display: inline-block;
  max-width: 112px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}
.orders-table td:last-child small {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.price-cell {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}
.user-stat {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 6px 6px 0;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f3;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.users-table td:first-child strong {
  display: block;
}
.user-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: 18px;
  align-items: start;
}
.user-admin-form {
  margin: 0;
}
.user-admin-form .settings-grid {
  align-items: end;
}
.user-admin-form .button {
  min-height: 46px;
}
.user-admin-side {
  display: grid;
  gap: 18px;
}
.admin-mini-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.admin-mini-card strong {
  display: block;
  margin-bottom: 4px;
}
.admin-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.admin-link-list {
  display: grid;
  gap: 8px;
}
.admin-link-list a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.actions form, .row-actions form { margin: 0; }
.actions button, .actions a,
.row-actions button, .row-actions a {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.row-actions a,
.row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  white-space: nowrap;
}
.row-actions a {
  background: #231f1a;
  border-color: #231f1a;
  color: #fffaf1;
  text-decoration: none;
}
.row-actions form:last-child button {
  color: #8b2f24;
}
.admin-form {
  display: grid;
  gap: 20px;
  max-width: 1100px;
}
.admin-form fieldset {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}
.form-grid, .inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.voucher-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.voucher-form > label {
  grid-column: span 2;
  min-width: 0;
  color: var(--muted);
  font-weight: 650;
}
.voucher-form input,
.voucher-form select {
  min-height: 46px;
  background: #fffdf9;
  border-color: #d8d0c5;
}
.voucher-active {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.voucher-active input {
  width: 18px;
  min-height: 18px;
}
.voucher-active small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.voucher-submit {
  grid-column: span 4;
  min-height: 58px;
}
.voucher-admin-list {
  display: grid;
  gap: 16px;
}
.voucher-admin-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.voucher-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.voucher-card-head span:first-child {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.voucher-card-head strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  letter-spacing: .02em;
}
.voucher-card-grid {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(120px, .7fr) minmax(340px, 1.5fr) minmax(190px, .9fr);
  gap: 14px;
  align-items: end;
}
.table-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.table-field input,
.table-field select {
  min-height: 42px;
  padding: 8px 10px;
  background: #fffdf9;
  border-color: #d8d0c5;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.voucher-window-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.voucher-use-cell {
  display: grid;
  gap: 8px;
}
.voucher-use-cell small {
  font-size: 13px;
  line-height: 1.35;
}
.status-available {
  background: #f5f8ef;
  color: #536b2e;
}
.voucher-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.voucher-card-actions form {
  margin: 0;
}
.voucher-card-actions button {
  min-width: 132px;
}
.danger-button {
  color: #8b2f24 !important;
}
.admin-section {
  margin-top: 34px;
}
.shipping-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf9 0%, #f5f0e8 100%);
  box-shadow: var(--shadow);
}
.shipping-hero span,
.shipping-add-panel > div > span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shipping-hero h2,
.shipping-add-panel h2 {
  margin: 5px 0 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.shipping-hero p,
.shipping-add-panel p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.shipping-hero strong {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #d9e0c9;
  border-radius: 999px;
  background: #f5f8ef;
  color: #536b2e;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shipping-admin-form {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.shipping-admin-list {
  display: grid;
  gap: 16px;
}
.shipping-admin-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(43, 36, 26, .06);
}
.shipping-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.shipping-card-head span:first-child {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shipping-card-head strong {
  display: block;
  margin-top: 3px;
  font-size: 21px;
  letter-spacing: .01em;
}
.shipping-card-head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 650;
}
.shipping-card-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(130px, .7fr) minmax(150px, .75fr) minmax(140px, .7fr);
  gap: 14px;
  align-items: end;
}
.shipping-card-toggle,
.shipping-active {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
  color: var(--muted);
  font-weight: 800;
}
.shipping-card-toggle {
  min-width: 138px;
  justify-content: center;
}
.shipping-card-toggle input,
.shipping-active input {
  width: 18px;
  min-height: 18px;
}
.shipping-actions {
  display: flex;
  justify-content: flex-end;
}
.shipping-save {
  min-width: min(100%, 360px);
  min-height: 54px;
}
.shipping-add-panel {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}
.shipping-template-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.shipping-template-form > label {
  grid-column: span 2;
  min-width: 0;
  color: var(--muted);
  font-weight: 650;
}
.shipping-template-form input {
  min-height: 46px;
  background: #fffdf9;
  border-color: #d8d0c5;
}
.shipping-active {
  min-height: 58px;
}
.shipping-active small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.shipping-submit {
  grid-column: span 2;
  min-height: 58px;
}
.settings-form {
  display: grid;
  gap: 18px;
  max-width: 1180px;
}
.settings-panel {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.settings-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.settings-panel h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.1;
}
.settings-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.settings-grid.single {
  grid-template-columns: minmax(0, 1fr);
}
.settings-grid label {
  min-width: 0;
  color: var(--muted);
  font-weight: 650;
}
.settings-grid .wide {
  grid-column: 1 / -1;
}
.settings-grid input,
.settings-grid textarea {
  min-height: 46px;
  background: #fffdf9;
  border-color: #d8d0c5;
}
.settings-actions {
  display: flex;
  justify-content: flex-end;
}
.settings-actions .button {
  min-width: 240px;
  min-height: 54px;
}
.auth-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 86px) 18px;
}
.auth-card {
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--shadow);
}
.auth-card > span,
.account-heading span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-card h1,
.account-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1;
}
.auth-card label,
.account-panel label,
.address-edit-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}
.auth-card input,
.account-panel input,
.address-edit-form input {
  min-height: 48px;
  background: #fffdf9;
  border-color: #d8d0c5;
}
.auth-card p {
  margin: 0;
}
.auth-card a,
.reset-link-note + p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-message {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbf8f3;
  color: var(--muted);
  font-weight: 700;
}
.form-message.success {
  border-color: #d9e0c9;
  background: #f5f8ef;
  color: #536b2e;
}
.form-message.error {
  border-color: #e2b9ae;
  background: #fff4ef;
  color: #8b2f24;
}
.account-page {
  width: min(100% - 36px, 1160px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0;
  transition: opacity .16s ease, filter .16s ease;
}
.account-page.is-updating {
  opacity: .62;
  filter: saturate(.9);
  pointer-events: none;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf9 0%, #f5f0e8 100%);
  box-shadow: var(--shadow);
}
.account-heading p {
  margin: 5px 0 0;
  color: var(--muted);
}
.account-heading h1 {
  font-size: clamp(28px, 3.2vw, 40px);
}
.account-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3eee6;
}
.account-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #6a645d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease;
}
.account-tabs a.active {
  background: #fffdf9;
  box-shadow: 0 6px 18px rgba(43, 36, 26, .08);
  color: var(--ink);
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.account-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(43, 36, 26, .06);
}
.account-panel.full {
  margin-top: 16px;
}
.account-panel h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: 0;
}
.account-password-panel {
  align-content: start;
  gap: 0;
}
.account-password-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  list-style: none;
  cursor: pointer;
}
.account-password-panel summary::-webkit-details-marker {
  display: none;
}
.account-password-panel summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .18s ease;
}
.account-password-panel[open] summary {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.account-password-panel[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}
.account-password-panel summary strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
}
.account-password-panel summary small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.account-panel form {
  display: grid;
  gap: 12px;
}
.account-panel label,
.address-edit-form label {
  gap: 5px;
  font-size: 13px;
  line-height: 1.25;
}
.account-panel input,
.address-edit-form input {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 1.25;
}
.account-panel .button,
.address-card .button {
  min-height: 44px;
  padding-block: 10px;
}
.account-panel .shipping-active {
  min-height: 44px;
  padding: 9px 11px;
}
.account-panel .shipping-active strong {
  font-size: 14px;
}
.address-list,
.order-list {
  display: grid;
  gap: 12px;
}
.address-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.address-card.is-default {
  border-color: #cbd5b7;
  background: #f5f8ef;
  box-shadow: inset 0 0 0 1px rgba(83, 107, 46, .08);
}
.address-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.address-card-head strong {
  font-size: 17px;
}
.address-card-head span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f8ef;
  color: #536b2e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.address-card.is-default .address-card-head span {
  background: #e8efd9;
  color: #4f6a2b;
}
.address-add-panel {
  margin-top: 14px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}
.address-add-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  list-style: none;
  cursor: pointer;
}
.address-add-panel summary::-webkit-details-marker {
  display: none;
}
.address-add-panel summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .18s ease;
}
.address-add-panel[open] summary {
  border-bottom: 1px solid var(--line);
}
.address-add-panel[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}
.address-add-panel summary strong {
  color: var(--ink);
  font-size: 17px;
}
.address-add-panel .address-form {
  padding: 16px;
}
.address-edit-form,
.address-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: end;
}
.address-edit-form > label,
.address-form > label {
  grid-column: span 4;
}
.address-edit-form > label:nth-of-type(4),
.address-form > label:nth-of-type(4) {
  grid-column: span 6;
}
.address-edit-form > label:nth-of-type(5),
.address-form > label:nth-of-type(5),
.address-edit-form > label:nth-of-type(6),
.address-form > label:nth-of-type(6),
.address-edit-form > label:nth-of-type(7),
.address-form > label:nth-of-type(7) {
  grid-column: span 2;
}
.address-form h3,
.address-edit-form .address-card-head {
  grid-column: 1 / -1;
  margin: 0;
}
.address-edit-form .shipping-active,
.address-form .shipping-active {
  grid-column: span 3;
  display: inline-flex;
  flex-direction: row;
  min-height: 42px;
  align-self: end;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 10px;
  color: var(--ink);
}
.address-edit-form button,
.address-form button {
  grid-column: span 3;
  align-self: end;
  width: 100%;
}
.address-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 14px;
  justify-content: end;
  align-items: end;
}
.address-actions .button,
.address-actions button {
  grid-column: auto;
  width: 100%;
  min-width: 0;
}
.address-action-spacer {
  display: block;
}
.address-edit-form .shipping-active input,
.address-form .shipping-active input {
  flex: 0 0 17px;
  width: 17px;
  min-height: 17px;
  margin: 0;
}
.address-edit-form .shipping-active span,
.address-form .shipping-active span {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}
.address-edit-form .shipping-active strong,
.address-form .shipping-active strong {
  font-size: 13px;
  letter-spacing: 0;
}
.account-empty {
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbf8f3;
  color: var(--muted);
  font-size: 15px;
}
.account-order {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}
.account-order img {
  width: 86px;
  height: 86px;
  object-fit: cover;
}
.account-order p,
.account-order small {
  margin: 0;
  color: var(--muted);
}
.account-order > div:last-child {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.account-order .order-detail-link {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}
.order-detail-panel {
  gap: 18px;
}
.order-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.order-detail-head h2 {
  margin-top: 6px;
}
.order-detail-head p {
  margin: 6px 0 0;
  color: var(--muted);
}
.back-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.order-artwork-card,
.order-price-card,
.order-address-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}
.order-artwork-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}
.order-artwork-card img {
  width: 118px;
  height: 138px;
  object-fit: cover;
  background: #e8e1d8;
}
.order-artwork-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}
.order-artwork-card p,
.order-artwork-card small {
  margin: 0 0 6px;
  color: var(--muted);
}
.order-price-card {
  display: grid;
  gap: 0;
  padding: 16px;
}
.order-price-card h3,
.order-address-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.order-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.order-detail-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.order-detail-meta span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.order-detail-meta strong {
  overflow-wrap: anywhere;
}
.order-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.order-address-grid section {
  padding: 16px;
}
.order-address-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.return-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}
.return-panel > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.return-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.return-panel p,
.return-panel blockquote {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.return-panel blockquote {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.return-form {
  display: grid;
  gap: 12px;
}
.return-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}
.return-form textarea {
  min-height: 118px;
  resize: vertical;
}
.liked-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.liked-card {
  display: grid;
  gap: 8px;
}
.liked-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.liked-card span {
  color: var(--muted);
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check input { width: auto; }
.painting-editor {
  max-width: 1480px;
}
.editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.editor-main {
  display: grid;
  gap: 22px;
}
.editor-panel, .preview-card, .save-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(35, 31, 25, .07);
}
.editor-panel {
  padding: 22px;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel-heading span, .preview-card > span {
  display: block;
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.panel-heading h2, .preview-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}
.panel-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.language-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.language-card legend {
  padding: 0 8px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .1em;
}
.language-card textarea {
  min-height: 188px;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.editor-grid .wide {
  grid-column: 1 / -1;
}
.commerce-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}
.commerce-grid > label {
  grid-column: span 3;
  min-width: 0;
}
.commerce-grid > .sale-field {
  grid-column: span 4;
}
.painting-editor label {
  color: var(--muted);
  font-weight: 650;
}
.painting-editor input,
.painting-editor select,
.painting-editor textarea {
  min-height: 46px;
  border-color: #d8d0c5;
  background: #fffdf9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.painting-editor input:focus,
.painting-editor select:focus,
.painting-editor textarea:focus {
  outline: 2px solid rgba(64, 93, 104, .18);
  border-color: var(--blue);
}
.gallery-admin-list {
  display: grid;
  gap: 14px;
}
.gallery-admin-item {
  display: grid;
  grid-template-columns: 92px minmax(180px, 1fr) 110px minmax(150px, .7fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.gallery-admin-item img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  background: #f2eee6;
}
.remove-gallery-image {
  margin: 0;
}
.toggle-row {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.toggle-row input {
  width: 18px;
  min-height: 18px;
}
.toggle-row small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.editor-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.preview-card, .save-card {
  padding: 18px;
}
.preview-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 12px 0 16px;
  border-radius: 6px;
  background: #e8e1d8;
}
.preview-card p {
  margin: 8px 0;
  color: var(--muted);
}
.preview-card strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}
.save-card {
  display: grid;
  gap: 10px;
}
.save-card .button {
  width: 100%;
}
.save-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-card {
  width: min(100%, 420px);
  display: grid;
  gap: 16px;
}
.hint, .error { color: var(--muted); margin: 0; }
.error { color: #8b2f2a; }

.reveal {
  opacity: 1;
  transform: none;
}

body.scroll-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition:
    opacity .82s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform .82s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    filter .82s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.scroll-reveal-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  body.scroll-reveal-ready .reveal,
  body.scroll-reveal-ready .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (min-width: 760px) {
  .cookie-actions {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cookie-actions .button:first-child,
  .cookie-actions .button:nth-child(2) {
    grid-column: span 3;
  }
  .cookie-actions .button:nth-child(3) {
    grid-column: 1 / -1;
  }
  .cookie-actions label {
    grid-column: span 2;
  }
}

@media (min-width: 980px) {
  .cookie-consent {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 26px;
    align-items: center;
  }
}

@media (max-width: 1360px) {
  .site-header, .admin-top {
    gap: 16px;
    padding-inline: 24px;
  }
  .site-header nav, .admin-top nav {
    gap: 13px;
  }
  .lang {
    gap: 4px;
    margin-left: 0;
  }
  .painting-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .purchase-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saatchi-gallery { column-count: 3; column-gap: 28px; }
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .mock-checkout-shell { grid-template-columns: 1fr; }
  .mock-payment-panel { position: static; }
  .cart-item { grid-template-columns: 82px minmax(0, 1fr) 76px; }
  .cart-item strong, .cart-item button { grid-column: 2 / -1; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-tab-panel {
    font-size: 19px;
  }
  .painting-browser-link {
    top: 50%;
    bottom: auto;
    width: 34px;
    height: 34px;
    max-width: none;
    padding: 0;
  }
  .painting-browser-link.left,
  .painting-browser-link.right {
    transform: translateY(-50%);
  }
  .painting-browser-link.left {
    left: -17px;
  }
  .painting-browser-link.right {
    right: -17px;
  }
  .painting-browser-link.left:hover,
  .painting-browser-link.left:focus-visible,
  .painting-browser-link.right:hover,
  .painting-browser-link.right:focus-visible {
    transform: translateY(-50%);
  }
  .admin-grid, .form-grid, .inline-form { grid-template-columns: 1fr 1fr; }
  .analytics-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .analytics-layout,
  .analytics-bottom {
    grid-template-columns: 1fr;
  }
  .voucher-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voucher-form > label,
  .voucher-submit {
    grid-column: auto;
  }
  .voucher-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .voucher-window-fields {
    grid-column: 1 / -1;
  }
  .shipping-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shipping-template-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shipping-template-form > label,
  .shipping-submit {
    grid-column: auto;
  }
  .settings-panel {
    grid-template-columns: 1fr;
  }
  .profile-crop-grid {
    grid-template-columns: 1fr;
  }
  .user-admin-layout {
    grid-template-columns: 1fr;
  }
  .account-grid,
  .address-edit-form,
  .address-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .address-edit-form > label,
  .address-form > label,
  .address-edit-form .shipping-active,
  .address-form .shipping-active,
  .address-edit-form button,
  .address-form button {
    grid-column: span 1;
  }
  .address-edit-form > label:nth-of-type(4),
  .address-form > label:nth-of-type(4),
  .address-edit-form > label:nth-of-type(5),
  .address-form > label:nth-of-type(5),
  .address-edit-form > label:nth-of-type(6),
  .address-form > label:nth-of-type(6),
	  .address-edit-form > label:nth-of-type(7),
	  .address-form > label:nth-of-type(7) {
	    grid-column: span 1;
	  }
	  .address-actions {
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	  }
	  .liked-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editor-shell { grid-template-columns: 1fr; }
  .editor-side { position: static; }
  .editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-grid > label,
  .commerce-grid > .sale-field {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .site-header, .admin-top {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }
  .site-header nav, .admin-top nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }
  .lang { margin-left: 0; }
  .hero { min-height: 64vh; }
  .profile-cover { height: 163px; }
  .artist-profile-card {
    margin-top: -58px;
    padding: 20px;
    display: grid;
  }
  .artist-summary {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }
  .artist-avatar { width: 70px; }
  .artist-summary h1 { font-size: 24px; }
  .gallery-tabs {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }
  .gallery-tabs form {
    grid-column: 1 / -1;
    margin-left: 0;
  }
  .gallery-tabs label {
    justify-content: space-between;
  }
  .saatchi-gallery {
    column-count: 2;
    column-gap: 18px;
  }
  .saatchi-meta {
    padding-right: 0;
    font-size: 13px;
  }
  .saatchi-actions {
    position: static;
    justify-content: flex-end;
    margin-top: 7px;
  }
  .cookie-consent {
    grid-template-columns: 1fr;
    bottom: 14px;
    padding: 16px;
  }
  .cookie-actions {
    grid-template-columns: 1fr;
  }
  .cookie-actions .button,
  .cookie-actions label {
    grid-column: auto;
  }
  .mock-brand-row,
  .mock-line-item {
    align-items: flex-start;
  }
  .mock-brand-row {
    display: grid;
  }
  .mock-detail-grid,
  .mock-payment-card .two-col {
    grid-template-columns: 1fr;
  }
  .mock-line-item {
    grid-template-columns: 62px minmax(0, 1fr);
    display: grid;
  }
  .mock-line-item strong {
    grid-column: 2 / -1;
  }
  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
  }
  .cart-item label,
  .cart-item strong,
  .cart-item button {
    grid-column: 2;
  }
  .shipping-form .two-col { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .art-meta h2 { font-size: 23px; }
  .painting-page { padding-inline: 18px; }
  .purchase-panel { padding: 20px; }
  dl { grid-template-columns: 1fr; }
  .profile-layout {
    width: min(calc(100% - 36px), 680px);
    padding: 34px 0;
  }
  .profile-aside {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
  }
  .profile-aside .avatar {
    grid-row: span 4;
    width: 86px;
    margin: 0;
  }
  .profile-aside h2,
  .profile-aside p {
    margin-bottom: 6px;
  }
  .profile-kicker,
  .profile-joined {
    font-size: 12px;
  }
  .profile-tabs {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 28px;
  }
  .profile-tabs button {
    padding-right: 16px;
    font-size: 16px;
  }
  .profile-tabs button::after {
    right: 16px;
  }
  .profile-tab-panel {
    font-size: 16px;
    line-height: 1.55;
  }
  .commission-card {
    padding: 24px 18px;
  }
  .commission-modal {
    width: min(100%, 520px);
    padding: 22px 18px;
  }
  .commission-modal h2 {
    font-size: 30px;
  }
  .commission-modal > p {
    font-size: 16px;
  }
  .commission-form input,
  .commission-form textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
  .premium-confirm-dialog div {
    grid-template-columns: 1fr;
  }
  .admin-grid, .form-grid, .inline-form { grid-template-columns: 1fr; }
  .dashboard-hero,
  .analytics-panel .panel-head,
  .recent-orders > div {
    display: grid;
    justify-content: stretch;
  }
  .analytics-metrics {
    grid-template-columns: 1fr;
  }
  .sales-chart {
    gap: 3px;
    height: 190px;
    overflow-x: auto;
  }
  .chart-day {
    min-width: 14px;
  }
  .recent-orders > div > span:last-child {
    justify-items: start;
  }
  .voucher-form { grid-template-columns: 1fr; }
  .voucher-form > label,
  .voucher-submit {
    grid-column: auto;
  }
  .voucher-admin-card {
    padding: 14px;
  }
  .voucher-card-head,
  .voucher-card-actions {
    display: grid;
    justify-content: stretch;
  }
  .voucher-card-grid,
  .voucher-window-fields {
    grid-template-columns: 1fr;
  }
  .voucher-window-fields {
    grid-column: auto;
  }
  .voucher-card-actions button {
    width: 100%;
  }
  .shipping-hero,
  .shipping-card-head {
    display: grid;
    justify-content: stretch;
  }
  .shipping-hero strong,
  .shipping-card-toggle,
  .shipping-save {
    width: 100%;
  }
  .shipping-card-grid {
    grid-template-columns: 1fr;
  }
  .shipping-actions {
    justify-content: stretch;
  }
  .shipping-template-form { grid-template-columns: 1fr; }
  .shipping-template-form > label,
  .shipping-submit {
    grid-column: auto;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
.settings-actions .button {
  width: 100%;
}
	  .account-heading,
	  .account-order {
	    grid-template-columns: 1fr;
	    display: grid;
	    justify-items: stretch;
	  }
	  .account-tabs {
	    grid-template-columns: 1fr;
	  }
	  .account-order > div:last-child {
    justify-items: start;
  }
  .order-detail-head,
  .order-detail-grid,
  .order-detail-meta,
  .order-address-grid,
  .return-panel {
    grid-template-columns: 1fr;
    display: grid;
  }
  .order-artwork-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .order-artwork-card img {
    width: 92px;
    height: 108px;
  }
  .account-grid,
  .address-edit-form,
  .address-form,
  .liked-grid {
    grid-template-columns: 1fr;
  }
  .address-edit-form > label,
  .address-form > label,
  .address-edit-form .shipping-active,
  .address-form .shipping-active,
	  .address-edit-form button,
	  .address-form button {
	    grid-column: 1 / -1;
	  }
	  .address-actions {
	    grid-template-columns: 1fr;
	  }
	  .address-action-spacer {
	    display: none;
	  }
	.language-grid, .commerce-grid, .editor-grid { grid-template-columns: 1fr; }
.commerce-grid > label,
.commerce-grid > .sale-field {
    grid-column: auto;
  }
  .panel-heading { display: grid; }
  .admin-table { font-size: 14px; }
  .site-footer { flex-direction: column; gap: 10px; }
}
/* Staccato Audio rebuild visual system */
:root {
  --sa-ink: #090909;
  --sa-muted: #606060;
  --sa-soft: #f5f3ef;
  --sa-line: #dedbd4;
  --sa-dark: #050606;
  --sa-dark-2: #101111;
  --sa-gold: #9d8a62;
  --sa-radius: 2px;
  --sa-ease: 180ms ease;
  --sa-heading-font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sa-body-font: Inter, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body:not(.admin-body):not(.login-screen) {
  background: #f8f6f2;
  color: var(--sa-ink);
  font-family: var(--sa-body-font);
  letter-spacing: 0;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) .brand,
body:not(.admin-body) .purchase-panel h1,
body:not(.admin-body) .catalog-intro h1,
body:not(.admin-body) .section-lead h2,
body:not(.admin-body) .craft-copy h2 {
  font-family: var(--sa-heading-font);
  letter-spacing: 0;
}

body:not(.admin-body) .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(136px, 214px) 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 92px;
  padding: 24px clamp(26px, 4vw, 58px);
  background: rgba(250, 249, 246, .9);
  backdrop-filter: blur(16px);
  border-bottom: 0;
}

body:not(.admin-body) .brand {
  display: inline-grid;
  gap: 2px;
  justify-items: center;
  color: var(--sa-ink);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: .28em;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.admin-body) .brand img {
  width: clamp(156px, 13vw, 220px);
  height: auto;
  display: block;
}

body:not(.admin-body) .brand small {
  font-size: .5rem;
  text-align: center;
  letter-spacing: .68em;
  font-weight: 400;
  padding-left: .68em;
}

body:not(.admin-body) .site-header nav {
  justify-self: center;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body:not(.admin-body) .site-header a {
  color: var(--sa-ink);
  text-decoration: none;
}

.shop-pill {
  border: 1px solid var(--sa-ink);
  border-radius: 999px;
  padding: 12px 22px;
  min-width: 78px;
  text-align: center;
}

.shop-pill span[data-cart-count] {
  display: none;
}

.account-link {
  display: none;
}

body:not(.admin-body) .lang {
  display: flex;
  gap: 8px;
  font-size: .68rem;
}

body:not(.admin-body) main {
  overflow: clip;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--sa-muted);
  font-size: .75rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .12em;
}

body:not(.admin-body) .hero-copy,
body:not(.admin-body) .hero-copy h1 {
  color: var(--sa-ink);
  font-family: var(--sa-heading-font);
}

body:not(.admin-body) .hero-copy .eyebrow {
  color: var(--sa-muted);
}

body:not(.admin-body) .hero-copy p:not(.eyebrow) {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

body:not(.admin-body) .cookie-consent {
  max-width: 360px;
  left: 18px;
  right: auto;
  bottom: 18px;
  transform: none;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .16);
}

body:not(.admin-body) .cookie-consent h2 {
  font-family: inherit;
  font-size: 1.08rem;
}

body:not(.admin-body) .cookie-consent p {
  font-size: .8rem;
  line-height: 1.48;
}

body:not(.admin-body) .cookie-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .cookie-actions .button:first-child,
body:not(.admin-body) .cookie-actions .button:nth-child(2),
body:not(.admin-body) .cookie-actions .button:nth-child(3),
body:not(.admin-body) .cookie-actions label {
  grid-column: auto;
}

body:not(.admin-body) .cookie-actions .button {
  min-height: 38px;
  font-size: .7rem;
}

.staccato-hero {
  min-height: clamp(650px, 48vw, 760px);
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
  align-items: center;
  padding: clamp(54px, 6vw, 84px) 0 clamp(54px, 6vw, 82px) clamp(34px, 6vw, 88px);
  background:
    radial-gradient(circle at 78% 52%, rgba(255, 255, 255, .9) 0%, rgba(247, 246, 242, .8) 44%, rgba(243, 240, 234, .72) 100%),
    linear-gradient(90deg, #fbfaf7 0%, #f6f4ef 100%);
}

.hero-copy {
  max-width: 560px;
  z-index: 2;
}

.hero-copy h1,
.section-lead h2,
.craft-copy h2,
.technology-hero h1,
.contact-copy h1 {
  margin: 0;
  font-size: clamp(3.25rem, 5.2vw, 5.85rem);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 360px;
  margin: 28px 0 30px;
  color: var(--sa-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.button,
button.button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--sa-ink);
  border-radius: var(--sa-radius);
  background: var(--sa-ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background var(--sa-ease), color var(--sa-ease), border-color var(--sa-ease), transform var(--sa-ease);
}

.button:hover {
  transform: translateY(-1px);
  background: #242424;
}

.button.ghost,
a.text-link,
.text-link {
  background: transparent;
  color: var(--sa-ink);
}

a.text-link,
.text-link {
  display: inline-flex;
  min-height: auto;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
}

.text-link.light {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-product {
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: center end;
  overflow: hidden;
}

.hero-product img {
  width: min(112%, 1250px);
  height: clamp(520px, 38vw, 660px);
  object-fit: cover;
  object-position: 46% 54%;
  filter: saturate(.72) contrast(1.03) brightness(1.04) drop-shadow(0 30px 56px rgba(0, 0, 0, .13));
  transform: translateX(7%);
}

.craft-band {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, .86fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  min-height: 500px;
  padding: clamp(70px, 7vw, 104px) clamp(34px, 6vw, 88px);
  background: radial-gradient(circle at 70% 28%, #181a1a 0%, #090a0a 54%, #030303 100%);
  color: #fff;
}

.craft-image img,
.technology-hero img,
.showcase-grid img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.craft-image img {
  aspect-ratio: 1.6;
  filter: contrast(1.04) brightness(.66);
}

.craft-copy {
  max-width: 460px;
}

.craft-copy h2 {
  font-size: clamp(2.45rem, 3.4vw, 3.9rem);
}

.craft-copy p:not(.eyebrow) {
  color: #dfdfdf;
  font-size: 1.05rem;
  line-height: 1.8;
}

.home-products {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(40px, 5.5vw, 74px);
  align-items: start;
  padding: clamp(70px, 7.5vw, 118px) clamp(34px, 6vw, 88px);
}

.section-lead {
  position: sticky;
  top: 130px;
}

.section-lead h2 {
  margin-bottom: 82px;
  font-size: clamp(2.65rem, 3.7vw, 4.25rem);
}

.home-product-grid,
.saatchi-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
}

.home-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.saatchi-card {
  position: relative;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.saatchi-image {
  display: grid;
  place-items: center;
  min-height: 286px;
  aspect-ratio: 1.05;
  padding: 32px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f0eee9 100%);
  text-decoration: none;
}

.saatchi-image img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.saatchi-meta {
  padding: 22px 26px 28px;
  text-align: center;
}

.saatchi-meta h2 {
  margin: 10px 0 6px;
  font-size: .95rem;
  line-height: 1.35;
  font-weight: 600;
}

.saatchi-meta h2 a {
  color: inherit;
  text-decoration: none;
}

.saatchi-meta p {
  margin: 0 0 6px;
  color: var(--sa-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.saatchi-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}

.home-product-grid .saatchi-card {
  border: 0;
  background: rgba(255, 255, 255, .42);
}

.home-product-grid .saatchi-image {
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(18px, 2vw, 32px);
}

.home-product-grid .saatchi-actions,
.home-product-grid .product-card-gallery,
.home-product-grid .saatchi-meta > strong,
.home-product-grid .gallery-price {
  display: none;
}

.home-product-grid .saatchi-meta {
  padding-top: 14px;
}

.home-product-grid .saatchi-meta h2 {
  margin-top: 0;
}

.home-product-grid .saatchi-meta p:first-of-type {
  display: none;
}

.icon-heart,
.icon-cart {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
}

.gallery-promo,
.profile-cover,
.artist-profile-card,
.gallery-tabs,
.saatchi-gallery,
.commission-card,
.page-narrow,
.profile-layout,
.painting-page,
.painting-description,
.cart-page,
.account-shell,
.checkout-mock,
.checkout-success,
.legal-page {
  margin-inline: clamp(22px, 7vw, 92px);
}

.gallery-promo {
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--sa-ink);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
}

.catalog-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  margin: clamp(34px, 5vw, 64px) clamp(22px, 7vw, 92px) 0;
  padding: clamp(28px, 4vw, 46px) 0 clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--sa-line);
}

.catalog-intro > div:first-child {
  max-width: 760px;
}

.catalog-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 5.8rem);
  line-height: .98;
  font-weight: 300;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.catalog-intro > div:first-child p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--sa-muted);
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.68;
}

.profile-cover {
  margin-top: 24px;
}

.profile-cover img,
.profile-hero img {
  width: 100%;
  height: clamp(360px, 52vw, 660px);
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.artist-profile-card,
.gallery-tabs,
.commission-card,
.profile-layout,
.painting-page,
.painting-description,
.technology-hero,
.principles-grid,
.showcase-grid,
.contact-page,
.newsletter-strip {
  margin-top: clamp(44px, 6vw, 86px);
}

.catalog-intro + .gallery-tabs {
  margin-top: clamp(26px, 3vw, 38px);
}

.artist-profile-card,
.commission-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--sa-line);
  background: rgba(255, 255, 255, .42);
}

.commission-card {
  margin-inline: auto;
}

.artist-summary {
  display: flex;
  align-items: center;
  gap: 28px;
}

.artist-avatar,
.profile-aside .avatar {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  padding: 20px;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--sa-line);
  padding-bottom: 18px;
  width: auto;
  margin-left: clamp(22px, 7vw, 92px);
  margin-right: clamp(22px, 7vw, 92px);
}

.gallery-tabs > a,
.gallery-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sa-ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  line-height: 1;
}

.gallery-tabs > a:first-child {
  justify-self: start;
}

.gallery-tabs > a:nth-child(2) {
  justify-self: center;
}

.gallery-tabs > a:hover,
.gallery-tabs > a.active,
.gallery-tabs a.active {
  background: transparent !important;
  color: var(--sa-ink);
  box-shadow: none !important;
  border-bottom: 1px solid var(--sa-ink);
}

.gallery-tabs form {
  justify-self: end;
  margin-left: auto;
}

.gallery-tabs label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sa-muted);
  font-size: .82rem;
  font-weight: 600;
}

.gallery-tabs select {
  min-height: 46px;
  min-width: 138px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--sa-line);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, .48);
  color: var(--sa-ink);
  box-shadow: none;
}

.painting-page {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .58fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.painting-media {
  display: grid;
  gap: 20px;
}

.painting-media > img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #f1eee8;
  padding: clamp(24px, 4vw, 60px);
}

.painting-media .mockup {
  max-height: 480px;
  object-fit: cover;
  padding: 0;
}

.purchase-panel {
  position: sticky;
  top: 132px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--sa-line);
  background: rgba(255, 255, 255, .5);
}

.purchase-panel h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.08;
  font-weight: 300;
}

.purchase-panel dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  margin: 28px 0;
}

.purchase-panel dt {
  color: var(--sa-muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.price-block strong {
  font-size: 1.6rem;
}

.technology-hero,
.contact-page {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(42px, 7vw, 92px) clamp(26px, 7vw, 92px);
}

.technology-hero img {
  aspect-ratio: 1.25;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--sa-line);
  margin-inline: clamp(22px, 7vw, 92px);
}

.principle-card {
  background: #f8f6f2;
  padding: clamp(24px, 3vw, 40px);
}

.principle-card h2 {
  margin: 0 0 18px;
  font-weight: 350;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-inline: clamp(22px, 7vw, 92px);
}

.showcase-grid figure {
  margin: 0;
}

.showcase-grid img {
  aspect-ratio: 1;
  filter: saturate(.85) contrast(1.04);
}

.newsletter-strip {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 32px;
  align-items: end;
  margin-top: 0;
  padding: 0 clamp(34px, 6vw, 88px) clamp(54px, 6vw, 82px);
}

.newsletter-strip h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 300;
}

.newsletter-strip p {
  margin: 0;
  color: var(--sa-muted);
  font-size: .9rem;
}

.newsletter-strip form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-strip input {
  min-height: 56px;
  border: 1px solid var(--sa-line);
  border-right: 0;
  padding: 0 18px;
  background: rgba(255, 255, 255, .68);
}

.newsletter-strip .newsletter-consent {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  color: var(--sa-muted);
  font-size: .72rem;
  line-height: 1.5;
}

.newsletter-strip .newsletter-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border-right: 1px solid var(--sa-line);
}

.newsletter-strip .newsletter-consent a {
  color: var(--sa-ink);
  text-underline-offset: 3px;
}

.newsletter-strip .form-message {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(34px, 6vw, 88px);
  padding: 28px 0 42px;
  border-top: 1px solid var(--sa-line);
  color: var(--sa-muted);
  font-size: .82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer .footer-meta {
  display: grid;
  gap: 4px;
}

.site-footer .footer-meta strong {
  color: var(--sa-ink);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer button {
  color: inherit;
  background: none;
  border: 0;
  text-decoration: none;
}

@media (max-width: 1020px) {
  body:not(.admin-body) .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 20px;
  }

  .staccato-hero,
  .craft-band,
  .home-products,
  .painting-page,
  .technology-hero,
  .contact-page,
  .newsletter-strip {
    grid-template-columns: 1fr;
  }

  .staccato-hero {
    min-height: auto;
    padding: 36px 24px 70px;
  }

  .hero-product {
    order: initial;
    margin-top: 30px;
    margin-inline: -24px;
  }

  .hero-product img {
    width: 118%;
    height: min(46vh, 500px);
    transform: translateX(3%);
  }

  .section-lead,
  .purchase-panel {
    position: static;
  }

  .home-product-grid,
  .saatchi-gallery,
  .principles-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Product-to-product navigation sits outside the gallery controls so its
   purpose remains clear on touch screens. */
.product-sibling-navigation {
  margin-top: 14px;
}

.product-sibling-navigation .painting-browser {
  position: static;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
}

.product-sibling-navigation .painting-browser-link,
.product-sibling-navigation .painting-browser-link:hover,
.product-sibling-navigation .painting-browser-link:focus-visible {
  position: static;
  top: auto;
  width: auto;
  min-width: 48px;
  height: 48px;
  max-width: min(48%, 270px);
  gap: 9px;
  padding: 0 14px;
  border-radius: 999px;
  opacity: 1;
  transform: none;
}

.product-sibling-navigation .painting-browser-link.right {
  margin-left: auto;
  flex-direction: row-reverse;
}

.product-sibling-navigation .painting-browser-link small {
  display: grid;
  min-width: 0;
  color: var(--sa-muted);
  font-size: .58rem;
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-sibling-navigation .painting-browser-link small b {
  overflow: hidden;
  color: var(--sa-ink);
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.product-compatibility-gate {
  margin: 18px 0;
}

.product-compatibility-gate summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.product-compatibility-gate summary::-webkit-details-marker {
  display: none;
}

.product-compatibility-gate summary::after {
  content: "+";
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.product-compatibility-gate[open] summary::after {
  content: "−";
}

.product-compatibility-gate summary strong {
  margin: 0;
}

.product-compatibility-gate[open] p {
  margin-top: 9px;
}

@media (max-width: 680px) {
  .site-footer {
    gap: 22px;
    margin-inline: 16px;
    padding: 28px 0 calc(30px + env(safe-area-inset-bottom));
  }

  .site-footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--sa-line);
    border-left: 1px solid var(--sa-line);
  }

  .site-footer nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 12px;
    border-right: 1px solid var(--sa-line);
    border-bottom: 1px solid var(--sa-line);
    font-size: .72rem;
    line-height: 1.2;
  }

  .site-footer nav .footer-cookie-settings {
    display: inline-flex;
    grid-column: 1 / -1;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border: 1px solid var(--sa-ink);
    color: var(--sa-ink);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  body:not(.admin-body) .site-header {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: auto;
    padding: 16px 16px 14px;
    overflow: hidden;
  }

  body:not(.admin-body) .brand {
    order: 1;
    justify-self: center;
  }

  body:not(.admin-body) .brand img {
    width: min(150px, 50vw);
  }

  body:not(.admin-body) .site-header nav {
    order: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, max-content));
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    margin: 0;
    padding: 2px 0 4px;
    font-size: .66rem;
    line-height: 1.2;
    text-align: center;
  }

  body:not(.admin-body) .lang {
    order: 3;
    justify-content: center;
    gap: 10px;
  }

  .shop-pill {
    min-width: 76px;
    padding: 8px 14px;
  }

  body:not(.admin-body) .header-cart {
    min-height: 32px;
    gap: 7px;
    justify-content: center;
    padding: 0;
  }

  body:not(.admin-body) .header-cart span {
    display: inline;
    overflow: hidden;
    max-width: 82px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:not(.admin-body) .header-cart strong {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: .64rem;
  }

  body:not(.admin-body) .cookie-consent {
    width: auto;
    max-width: none;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-height: 56vh;
    overflow: auto;
    padding: 14px;
    overflow-wrap: anywhere;
  }

  body:not(.admin-body) .cookie-actions {
    grid-template-columns: 1fr;
  }

  .gallery-tabs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-tabs > a:first-child,
  .gallery-tabs > a:nth-child(2),
  .gallery-tabs form {
    justify-self: stretch;
  }

  .gallery-tabs > a {
    justify-content: flex-start;
  }

  .gallery-tabs label {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy h1,
  .section-lead h2,
  .catalog-intro h1,
  .craft-copy h2,
  .technology-hero h1,
  .contact-copy h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.05;
  }

  .staccato-hero {
    padding: 42px 20px 52px;
  }

  .hero-copy p:not(.eyebrow) {
    margin: 22px 0 24px;
    font-size: .94rem;
    line-height: 1.58;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-product {
    margin-inline: -20px;
  }

  .hero-product img {
    width: 112%;
    height: 280px;
    object-position: 43% 50%;
    transform: translateX(2%);
  }

  .craft-band,
  .home-products,
  .technology-hero,
  .contact-page {
    padding-inline: 20px;
  }

  .home-products {
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-lead h2 {
    margin-bottom: 36px;
  }

  .home-product-grid,
  .saatchi-gallery,
  .principles-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .saatchi-image {
    min-height: 0;
    padding: 22px;
  }

  .saatchi-meta {
    padding: 18px 20px 24px;
  }

  .catalog-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
    align-items: start;
  }

  .artist-summary,
  .gallery-tabs,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-strip form {
    grid-template-columns: 1fr;
  }

  .newsletter-strip {
    padding: 0 20px 48px;
  }

  .newsletter-strip input {
    border-right: 1px solid var(--sa-line);
    border-bottom: 0;
  }

  .site-footer {
    margin-inline: 20px;
    padding-bottom: 34px;
  }
}

@media (max-width: 360px) {
  body:not(.admin-body) .site-header nav {
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 9px 14px;
    font-size: .62rem;
  }

  body:not(.admin-body) .lang {
    gap: 8px;
    font-size: .62rem;
  }
}

.admin-top nav form,
.account-logout-form {
  margin: 0;
}

.admin-top nav form button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

body:not(.admin-body) .cookie-consent {
  width: min(calc(100% - 32px), 430px);
  max-width: 430px;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
}

body:not(.admin-body) .cookie-consent-copy h2 {
  margin-top: 2px;
}

body:not(.admin-body) .cookie-consent-copy p {
  margin-bottom: 8px;
}

body:not(.admin-body) .cookie-actions,
body:not(.admin-body) .cookie-primary-actions,
body:not(.admin-body) .cookie-preferences {
  display: grid;
  gap: 9px;
}

body:not(.admin-body) .cookie-primary-actions {
  grid-template-columns: 1fr 1fr;
}

body:not(.admin-body) .cookie-primary-actions .button,
body:not(.admin-body) .cookie-preferences .button {
  width: 100%;
  min-height: 44px;
  grid-column: auto;
}

body:not(.admin-body) .cookie-customize {
  border-top: 1px solid var(--sa-line);
}

body:not(.admin-body) .cookie-customize summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sa-ink);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body:not(.admin-body) .cookie-customize summary::after {
  content: "+";
  font-size: 1.1rem;
}

body:not(.admin-body) .cookie-customize[open] summary::after {
  content: "−";
}

body:not(.admin-body) .cookie-preferences {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px 0 0;
}

body:not(.admin-body) .cookie-preferences label {
  min-height: 38px;
  grid-column: auto;
  font-size: .72rem;
}

body:not(.admin-body) .cookie-preferences .button {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  body:not(.admin-body) .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-height: min(52vh, 400px);
    gap: 9px;
    padding: 12px;
  }

  body:not(.admin-body) .cookie-primary-actions {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  body:not(.admin-body) .cookie-consent-copy > span {
    font-size: .6rem;
  }

  body:not(.admin-body) .cookie-consent-copy h2 {
    margin: 0 0 4px;
    font-size: 1.02rem;
  }

  body:not(.admin-body) .cookie-consent-copy p {
    margin: 0 0 4px;
    font-size: .76rem;
    line-height: 1.4;
  }

  body:not(.admin-body) .cookie-consent-copy a {
    font-size: .76rem;
  }

  body:not(.admin-body) .cookie-primary-actions .button {
    padding-inline: 7px;
    font-size: .64rem;
    line-height: 1.25;
  }

  body:not(.admin-body) .cookie-customize summary {
    min-height: 40px;
  }

  body:not(.admin-body) .cookie-preferences {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-body) .cookie-preferences label:first-child {
    grid-column: 1 / -1;
  }
}

/* Compact, accessible public navigation */
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 2px;
  background: #050606;
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

body:not(.admin-body) #main-content:focus {
  outline: none;
}

body:not(.admin-body) .site-header {
  grid-template-columns: minmax(150px, 202px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  min-height: 74px;
  padding: 11px clamp(24px, 4vw, 58px);
  border-bottom: 1px solid rgba(12, 13, 13, .09);
}

body:not(.admin-body) .site-header .brand {
  justify-self: start;
}

body:not(.admin-body) .site-header .brand img {
  width: clamp(150px, 12vw, 196px);
}

body:not(.admin-body) .site-header .brand small {
  font-size: .43rem;
}

body:not(.admin-body) .site-header .site-navigation {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(17px, 2vw, 34px);
  min-width: 0;
  margin-left: 0;
  color: var(--sa-ink);
  font-size: .69rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
}

body:not(.admin-body) .site-navigation > a:not(.cart-link) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

body:not(.admin-body) .site-navigation > a:not(.cart-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity var(--sa-ease), transform var(--sa-ease);
}

body:not(.admin-body) .site-navigation > a:hover::after,
body:not(.admin-body) .site-navigation > a:focus-visible::after,
body:not(.admin-body) .site-navigation > a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body:not(.admin-body) .site-navigation .account-link {
  display: inline-flex;
}

body:not(.admin-body) .site-navigation .header-cart {
  min-height: 44px;
}

body:not(.admin-body) .site-navigation .lang {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 0 2px;
  padding-left: 13px;
  border-left: 1px solid var(--sa-line);
}

body:not(.admin-body) .site-navigation .lang a {
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--sa-muted);
  font-size: .62rem;
}

body:not(.admin-body) .site-navigation .lang a:hover,
body:not(.admin-body) .site-navigation .lang a:focus-visible,
body:not(.admin-body) .site-navigation .lang a[aria-current="true"] {
  background: #ebe7df;
  color: var(--sa-ink);
}

.mobile-header-actions {
  display: none;
}

@media (max-width: 1179px) {
  body:not(.admin-body) .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 9px max(16px, env(safe-area-inset-right)) 9px max(16px, env(safe-area-inset-left));
    overflow: visible;
  }

  body:not(.admin-body) .site-header .brand {
    order: 0;
    justify-self: auto;
    flex: 0 1 170px;
    justify-items: start;
  }

  body:not(.admin-body) .site-header .brand img {
    width: min(154px, 42vw);
  }

  body:not(.admin-body) .site-header .brand small {
    width: min(154px, 42vw);
  }

  .mobile-header-actions {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
  }

  body:not(.admin-body) .mobile-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 7px;
    color: var(--sa-ink);
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  body:not(.admin-body) .mobile-cart span {
    display: inline;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
  }

  body:not(.admin-body) .mobile-cart strong {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid var(--sa-ink);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: .65rem;
    line-height: 1;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sa-ink);
    cursor: pointer;
  }

  .menu-toggle:hover {
    background: #ebe7df;
  }

  .menu-toggle:focus-visible {
    background: #ebe7df;
    outline: 2px solid var(--sa-ink);
    outline-offset: 2px;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 140ms ease;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  body:not(.admin-body) .site-header .site-navigation {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    z-index: 79;
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    width: 100%;
    max-height: calc(100dvh - 68px);
    margin: 0;
    padding: 10px max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow: auto;
    border-top: 1px solid rgba(12, 13, 13, .06);
    border-bottom: 1px solid rgba(12, 13, 13, .12);
    background: rgba(250, 249, 246, .985);
    box-shadow: 0 24px 50px rgba(5, 6, 6, .13);
    font-size: .78rem;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 180ms ease, visibility 0s linear 180ms;
    backdrop-filter: blur(18px);
  }

  body:not(.admin-body) .site-header.menu-open .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  body:not(.admin-body) .site-navigation > a:not(.cart-link),
  body:not(.admin-body) .site-navigation .header-cart {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--sa-line);
  }

  body:not(.admin-body) .site-navigation > a:not(.cart-link)::after {
    right: auto;
    bottom: -1px;
    width: 42px;
  }

  body:not(.admin-body) .site-navigation .header-cart {
    margin: 0;
  }

  body:not(.admin-body) .site-navigation .lang {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    margin: 12px 0 0;
    padding: 8px 0 0;
    border-left: 0;
  }

  body:not(.admin-body) .site-navigation .lang::before {
    flex-basis: 100%;
    content: attr(data-label);
    margin-right: 10px;
    color: var(--sa-muted);
    font-size: .67rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  body:not(.admin-body) .site-navigation .lang a {
    width: 44px;
    min-height: 44px;
  }

  body:not(.admin-body) .desktop-cart {
    display: none;
  }
}

@media (max-width: 1179px) {
  body.site-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
}

@media (max-width: 340px) {
  body:not(.admin-body) .site-header {
    gap: 6px;
    padding-inline: 12px;
  }

  body:not(.admin-body) .site-header .brand {
    flex-basis: 140px;
  }

  body:not(.admin-body) .site-header .brand img,
  body:not(.admin-body) .site-header .brand small {
    width: min(136px, 42vw);
  }

  body:not(.admin-body) .mobile-cart span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-body) .site-navigation,
  .menu-toggle span,
  .skip-link {
    transition: none;
  }
}

/* Complete cart experience */
body:not(.admin-body) .header-cart {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 0 0 2px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body:not(.admin-body) .header-cart span {
  display: inline;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

body:not(.admin-body) .header-cart strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid var(--sa-ink);
  border-radius: 999px;
  background: var(--sa-ink);
  color: #fff;
  font-size: .68rem;
  line-height: 1;
}

body:not(.admin-body) .cart-page {
  width: min(calc(100% - 44px), 1240px);
  margin: clamp(42px, 6vw, 78px) auto clamp(76px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

body:not(.admin-body) .cart-head {
  max-width: 680px;
  margin-bottom: 26px;
}

body:not(.admin-body) .cart-head > span,
body:not(.admin-body) .summary-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--sa-muted);
  font-size: .72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .14em;
}

body:not(.admin-body) .cart-head h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 1.02;
  font-weight: 300;
}

body:not(.admin-body) .cart-head p {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--sa-muted);
  font-size: 1rem;
  line-height: 1.7;
}

body:not(.admin-body) .cart-list {
  gap: 18px;
}

body:not(.admin-body) .cart-item {
  grid-template-columns: 150px minmax(0, 1fr) 82px minmax(100px, auto) auto;
  gap: clamp(16px, 2.5vw, 26px);
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(9, 9, 9, .08);
  border-radius: 0;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .045);
}

body:not(.admin-body) .cart-item-image {
  display: block;
  background: linear-gradient(180deg, #f7f6f3 0%, #ece9e3 100%);
}

body:not(.admin-body) .cart-item img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  padding: 8px;
  background: transparent;
}

body:not(.admin-body) .cart-item h2 {
  margin: 0 0 9px;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.16;
  font-weight: 400;
}

body:not(.admin-body) .cart-item-copy p {
  margin: 0 0 5px;
  color: var(--sa-muted);
  font-size: .86rem;
  line-height: 1.5;
}

body:not(.admin-body) .cart-quantity {
  display: grid;
  gap: 7px;
  color: var(--sa-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

body:not(.admin-body) .cart-quantity input {
  width: 72px;
  height: 42px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  text-align: center;
}

body:not(.admin-body) .cart-line-price {
  justify-self: end;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

body:not(.admin-body) .cart-remove {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--sa-muted);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: underline;
  text-underline-offset: 5px;
}

body:not(.admin-body) .cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body:not(.admin-body) .cart-actions form {
  margin: 0;
}

body:not(.admin-body) .button.subtle {
  border-color: transparent;
  color: var(--sa-muted);
}

body:not(.admin-body) .cart-summary {
  position: sticky;
  top: 118px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(9, 9, 9, .12);
  border-radius: 0;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .08);
  backdrop-filter: blur(16px);
}

body:not(.admin-body) .cart-summary h2 {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.05;
  font-weight: 300;
}

body:not(.admin-body) .summary-line {
  border-bottom: 1px solid var(--sa-line);
  color: var(--sa-muted);
  font-size: .92rem;
}

body:not(.admin-body) .summary-line strong {
  color: var(--sa-ink);
}

body:not(.admin-body) .discount-line strong {
  color: #6d5f42;
}

body:not(.admin-body) .total-line {
  color: var(--sa-ink);
}

body:not(.admin-body) .cart-voucher-form,
body:not(.admin-body) .shipping-form {
  border-color: var(--sa-line);
}

body:not(.admin-body) .cart-voucher-form label,
body:not(.admin-body) .shipping-form label {
  display: grid;
  gap: 7px;
  color: var(--sa-muted);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

body:not(.admin-body) .cart-voucher-form input,
body:not(.admin-body) .shipping-form input,
body:not(.admin-body) .shipping-form select {
  min-height: 44px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  padding: 0 13px;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body:not(.admin-body) .shipping-form .custom-select {
  margin-top: 1px;
}

body:not(.admin-body) .shipping-form .custom-select-trigger {
  min-height: 48px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--sa-ink);
  font-size: .9rem;
  font-weight: 500;
}

body:not(.admin-body) .shipping-form .custom-select-trigger:hover,
body:not(.admin-body) .shipping-form .custom-select.open .custom-select-trigger {
  border-color: var(--sa-ink);
  box-shadow: 0 10px 26px rgba(15, 14, 12, .1);
}

body:not(.admin-body) .shipping-form .custom-select-menu {
  z-index: 75;
  max-height: min(320px, 48vh);
  padding: 6px;
  border-color: var(--sa-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(15, 14, 12, .16);
}

body:not(.admin-body) .shipping-form .custom-select-option {
  min-height: 44px;
  border-radius: 0;
  font-size: .86rem;
}

body:not(.admin-body) .shipping-form .custom-select-option.selected {
  background: var(--sa-ink);
  color: #fff;
}

body:not(.admin-body) .shipping-form .button {
  width: 100%;
  margin-top: 4px;
}

body:not(.admin-body) .checkout-policy-note {
  border-radius: 0;
  background: #f5f2eb;
}

body:not(.admin-body) .empty-cart {
  max-width: 680px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(9, 9, 9, .1);
  border-radius: 0;
  background: rgba(255, 255, 255, .72);
}

body:not(.admin-body) .empty-cart h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 300;
}

body:not(.admin-body) .empty-cart p {
  max-width: 460px;
  margin: 0 0 24px;
  color: var(--sa-muted);
}

@media (max-width: 1060px) {
  body:not(.admin-body) .cart-page {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .cart-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .direct-checkout-fields {
    grid-template-columns: 1fr;
  }
  .direct-checkout-fields label:nth-child(4) {
    grid-column: auto;
  }
  body:not(.admin-body) .header-cart {
    padding: 0;
  }

  body:not(.admin-body) .header-cart span {
    display: inline;
  }

  body:not(.admin-body) .cart-page {
    width: min(calc(100% - 28px), 1240px);
    margin-top: 34px;
  }

  body:not(.admin-body) .cart-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body:not(.admin-body) .cart-quantity,
  body:not(.admin-body) .cart-line-price,
  body:not(.admin-body) .cart-remove {
    grid-column: 2;
    justify-self: start;
  }

  body:not(.admin-body) .cart-actions,
  body:not(.admin-body) .cart-actions .button {
    width: 100%;
  }

  body:not(.admin-body) .cart-actions form {
    width: 100%;
  }
}

/* Customer account and authentication */
body:not(.admin-body) .account-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--sa-muted);
}

body:not(.admin-body) .auth-page {
  min-height: min(760px, 76vh);
  padding: clamp(42px, 7vw, 94px) clamp(18px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(248, 246, 242, .98) 0%, rgba(248, 246, 242, .72) 52%, rgba(248, 246, 242, .96) 100%),
    url("/assets/img/brand/workshop-detail.webp") center / cover no-repeat;
}

body:not(.admin-body) .auth-card {
  width: min(100%, 520px);
  border: 1px solid rgba(9, 9, 9, .12);
  border-radius: 0;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 28px 85px rgba(0, 0, 0, .1);
  backdrop-filter: blur(16px);
}

body:not(.admin-body) .auth-card > span,
body:not(.admin-body) .account-heading span {
  color: var(--sa-muted);
  letter-spacing: .14em;
}

body:not(.admin-body) .auth-card h1,
body:not(.admin-body) .account-heading h1 {
  font-family: var(--sa-heading-font);
  font-weight: 300;
  letter-spacing: 0;
}

body:not(.admin-body) .auth-card label,
body:not(.admin-body) .account-panel label,
body:not(.admin-body) .address-edit-form label,
body:not(.admin-body) .address-form label {
  color: var(--sa-muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

body:not(.admin-body) .auth-card input,
body:not(.admin-body) .account-panel input,
body:not(.admin-body) .address-edit-form input,
body:not(.admin-body) .address-form input,
body:not(.admin-body) .return-form textarea {
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  letter-spacing: 0;
  text-transform: none;
}

body:not(.admin-body) .auth-check {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}

body:not(.admin-body) .auth-check input {
  width: 17px;
  min-height: 17px;
  margin: 0;
}

body:not(.admin-body) .auth-check span {
  color: var(--sa-ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body:not(.admin-body) .account-page {
  width: min(calc(100% - 44px), 1220px);
  padding: clamp(38px, 6vw, 74px) 0 clamp(72px, 8vw, 110px);
}

body:not(.admin-body) .account-heading,
body:not(.admin-body) .account-tabs,
body:not(.admin-body) .account-panel,
body:not(.admin-body) .address-card,
body:not(.admin-body) .address-add-panel,
body:not(.admin-body) .account-order {
  border-radius: 0;
}

body:not(.admin-body) .account-heading {
  padding: clamp(20px, 3vw, 34px);
  border-color: rgba(9, 9, 9, .1);
  background: linear-gradient(135deg, #fff 0%, #f3f0ea 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .07);
}

body:not(.admin-body) .account-tabs {
  padding: 0;
  border-color: rgba(9, 9, 9, .1);
  background: transparent;
  gap: 0;
}

body:not(.admin-body) .account-tabs a {
  border-right: 1px solid rgba(9, 9, 9, .1);
  border-radius: 0;
  background: rgba(255, 255, 255, .52);
  color: var(--sa-muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body:not(.admin-body) .account-tabs a:last-child {
  border-right: 0;
}

body:not(.admin-body) .account-tabs a.active {
  background: var(--sa-ink);
  color: #fff;
  box-shadow: none;
}

body:not(.admin-body) .account-panel {
  border-color: rgba(9, 9, 9, .1);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .055);
}

body:not(.admin-body) .account-panel h2,
body:not(.admin-body) .account-password-panel summary strong,
body:not(.admin-body) .address-add-panel summary strong {
  font-family: var(--sa-heading-font);
  font-weight: 300;
}

body:not(.admin-body) .address-card,
body:not(.admin-body) .address-add-panel,
body:not(.admin-body) .account-order {
  background: rgba(255, 255, 255, .64);
}

body:not(.admin-body) .address-card.is-default {
  border-color: rgba(157, 138, 98, .55);
  background: #f7f4ed;
}

@media (max-width: 760px) {
  body:not(.admin-body) .account-link {
    justify-content: center;
  }

  body:not(.admin-body) .account-tabs {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-body) .account-tabs a:nth-child(2) {
    border-right: 0;
  }

  body:not(.admin-body) .account-tabs a:nth-child(-n+2) {
    border-bottom: 1px solid rgba(9, 9, 9, .1);
  }

  body:not(.admin-body) .account-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Product detail experience */
body:not(.admin-body) .product-breadcrumb,
body:not(.admin-body) .product-page,
body:not(.admin-body) .product-information,
body:not(.admin-body) .product-support-strip,
body:not(.admin-body) .product-related {
  width: min(calc(100% - 48px), 1320px);
  margin-right: auto;
  margin-left: auto;
}

body:not(.admin-body) .product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 3.5vw, 48px);
  color: var(--sa-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body:not(.admin-body) .product-breadcrumb a {
  color: var(--sa-ink);
  text-underline-offset: 4px;
}

body:not(.admin-body) .product-breadcrumb a:hover {
  text-decoration: underline;
}

body:not(.admin-body) .product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
  margin-top: 18px;
  padding: 0;
}

body:not(.admin-body) .product-page .painting-media {
  min-width: 0;
  display: block;
}

.product-gallery {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.14;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(9, 9, 9, .055);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .9), rgba(241, 238, 232, .72) 52%, rgba(231, 227, 219, .78) 100%);
}

.product-gallery-stage > img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: clamp(30px, 4.5vw, 70px);
  object-fit: contain;
  background: transparent;
  transition: opacity 140ms ease, transform 240ms ease;
}

.product-gallery-stage.is-changing > img {
  opacity: .25;
  transform: scale(.992);
}

.product-gallery-stage .painting-browser-link {
  top: 50%;
  width: auto;
  min-width: 48px;
  height: 48px;
  gap: 10px;
  padding: 0 15px;
  border-color: rgba(9, 9, 9, .12);
  background: rgba(255, 255, 255, .88);
  color: var(--sa-ink);
  opacity: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.product-gallery-stage .painting-browser-link.left {
  left: 18px;
}

.product-gallery-stage .painting-browser-link.right {
  right: 18px;
  flex-direction: row-reverse;
}

.product-gallery-stage .painting-browser-link small {
  display: grid;
  color: var(--sa-muted);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-gallery-stage .painting-browser-link small b {
  color: var(--sa-ink);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .02em;
  text-transform: none;
}

.product-gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-gallery-thumbnail {
  width: 82px;
  height: 68px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid transparent;
  background: #efede8;
  cursor: pointer;
  opacity: .58;
  transition: opacity var(--sa-ease), border-color var(--sa-ease), background var(--sa-ease);
}

.product-gallery-thumbnail:hover,
.product-gallery-thumbnail:focus-visible,
.product-gallery-thumbnail.active {
  border-color: var(--sa-ink);
  background: #fff;
  opacity: 1;
  outline: 0;
}

.product-gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body:not(.admin-body) .product-page .purchase-panel {
  position: sticky;
  top: 116px;
  min-width: 0;
  padding: clamp(26px, 2.2vw, 30px);
  border: 1px solid rgba(9, 9, 9, .1);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .075);
  backdrop-filter: blur(18px);
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

body:not(.admin-body) .product-heading .kicker {
  margin: 0 0 11px;
  color: #806e4d;
  font-size: .68rem;
  letter-spacing: .14em;
}

body:not(.admin-body) .product-page .purchase-panel h1 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: normal;
  font-size: clamp(3.2rem, 4.6vw, 4.7rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.045em;
}

body:not(.admin-body) .product-page .purchase-panel h1.product-title-long {
  font-size: clamp(2.65rem, 3.65vw, 3.8rem);
  line-height: .98;
}

.product-subtitle {
  max-width: 31ch;
  margin: 12px 0 0;
  color: #333;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 400;
  line-height: 1.34;
}

.product-heading .detail-heart {
  display: inline-flex;
  min-width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: -6px -8px 0 0;
  padding: 0 9px;
  border-color: rgba(9, 9, 9, .12);
  background: rgba(255, 255, 255, .7);
  color: #806e4d;
}

.product-heading .detail-heart b {
  font-size: .76rem;
}

.product-summary {
  margin: 20px 0 0;
  color: var(--sa-muted);
  font-size: .95rem;
  line-height: 1.68;
}

.product-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin: 22px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--sa-line);
}

.product-price-row > div {
  display: grid;
  gap: 8px;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.product-price strong {
  font-size: clamp(1.9rem, 2.7vw, 2.45rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

.product-price del {
  color: var(--sa-muted);
  font-size: .95rem;
}

.product-price-row > p {
  max-width: 126px;
  margin: 0 0 3px;
  color: var(--sa-muted);
  font-size: .72rem;
  line-height: 1.4;
  text-align: right;
}

.product-purchase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-purchase-actions form,
.product-purchase-actions .button {
  width: 100%;
}

.product-purchase-actions .button {
  min-height: 52px;
}

.product-fulfilment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--sa-line);
  background: var(--sa-line);
}

.product-fulfilment > div {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, .86);
}

.product-fulfilment span {
  color: var(--sa-muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-fulfilment strong {
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
}

.product-assurance {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--sa-muted);
  font-size: .72rem;
  line-height: 1.4;
  list-style: none;
}

.product-assurance li {
  position: relative;
  padding-left: 21px;
}

.product-assurance li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #766744;
  font-weight: 800;
}

.product-assurance a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-contact-button {
  width: 100%;
}

body:not(.admin-body) .product-page .print-purchase-card {
  margin-top: 24px;
  border-radius: 0;
}

body:not(.admin-body) .product-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(44px, 8vw, 112px);
  align-items: start;
  margin-top: clamp(78px, 9vw, 132px);
}

.product-story {
  max-width: 720px;
}

.product-story h2,
.product-specification h2,
.product-support-strip h2,
.product-related-heading h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -.035em;
}

.product-story h2 {
  max-width: 720px;
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  line-height: 1.02;
}

.product-story .prose {
  max-width: 680px;
  margin-top: 34px;
  color: #3f3f3d;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.78;
}

.product-specification {
  padding: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--sa-ink);
  background: rgba(255, 255, 255, .45);
}

.product-specification h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.product-specification dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 30px 0 0;
}

.product-specification dl > div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 1.2fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--sa-line);
}

.product-specification dt {
  color: var(--sa-muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-specification dd {
  font-size: .86rem;
  line-height: 1.48;
}

body:not(.admin-body) .product-support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-top: clamp(74px, 8vw, 116px);
  padding: clamp(34px, 5vw, 66px);
  background:
    radial-gradient(circle at 78% 20%, rgba(75, 78, 76, .52), transparent 42%),
    #0b0c0c;
  color: #fff;
}

.product-support-strip .eyebrow {
  color: #b7b7b3;
}

.product-support-strip h2 {
  max-width: 740px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 1.02;
}

.product-support-strip p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: #cdcdca;
  line-height: 1.7;
}

.product-support-strip .button.ghost {
  min-width: 180px;
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

body:not(.admin-body) .product-related {
  margin-top: clamp(72px, 8vw, 112px);
  margin-bottom: clamp(76px, 9vw, 128px);
}

.product-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.product-related-heading h2 {
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 1;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

@media (max-width: 1040px) {
  body:not(.admin-body) .product-page,
  body:not(.admin-body) .product-information {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .product-page .purchase-panel {
    position: static;
    width: min(100%, 760px);
    justify-self: end;
  }

  .product-gallery-stage {
    aspect-ratio: 1.22;
  }

  .product-specification {
    width: min(100%, 760px);
    justify-self: end;
  }
}

@media (max-width: 680px) {
  /* Keep every section immediately legible on touch devices. The former
     viewport-triggered reveal left large blank areas during fast scrolling
     and on iPhone page captures before the observer had a chance to run. */
  body.scroll-reveal-ready .reveal,
  body.scroll-reveal-ready .reveal.in {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  body:not(.admin-body) .product-breadcrumb {
    width: calc(100% - 32px);
    margin-top: 18px;
  }

  body:not(.admin-body) .product-page {
    width: 100%;
    gap: 20px;
    margin-top: 12px;
  }

  .product-gallery-stage {
    min-height: 0;
    aspect-ratio: 1 / 1.02;
    border-right: 0;
    border-left: 0;
  }

  .product-gallery-stage > img {
    padding: 24px;
  }

  .product-gallery-stage .painting-browser-link {
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  .product-gallery-stage .painting-browser-link.left {
    left: 12px;
  }

  .product-gallery-stage .painting-browser-link.right {
    right: 12px;
  }

  .product-gallery-stage .painting-browser-link small {
    display: none;
  }

  .product-gallery-thumbnails {
    padding: 0 16px;
  }

  .product-gallery-thumbnail {
    width: 68px;
    height: 58px;
  }

  body:not(.admin-body) .product-page .purchase-panel {
    width: auto;
    margin: 0 16px;
    padding: 26px 22px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .065);
  }

  body:not(.admin-body) .product-page .purchase-panel h1 {
    font-size: clamp(2.7rem, 14vw, 3.7rem);
  }

  body:not(.admin-body) .product-page .purchase-panel h1.product-title-long {
    font-size: clamp(2.25rem, 10.8vw, 3.05rem);
    line-height: 1;
  }

  .product-subtitle {
    font-size: 1.03rem;
  }

  .product-summary {
    margin-top: 22px;
    font-size: .9rem;
    line-height: 1.62;
  }

  .product-price-row {
    align-items: start;
    margin-top: 23px;
    padding-top: 20px;
  }

  .product-price-row > p {
    max-width: 112px;
  }

  .product-purchase-actions .button {
    min-height: 50px;
    padding-inline: 10px;
    font-size: .7rem;
  }

  .product-fulfilment > div {
    padding: 13px 12px;
  }

  body:not(.admin-body) .product-information,
  body:not(.admin-body) .product-support-strip,
  body:not(.admin-body) .product-related {
    width: calc(100% - 32px);
  }

  body:not(.admin-body) .product-information {
    gap: 46px;
    margin-top: 72px;
  }

  .product-story h2 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .product-story .prose {
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .product-specification {
    width: 100%;
    padding: 26px 20px;
  }

  .product-specification dl > div {
    grid-template-columns: minmax(96px, .72fr) 1.28fr;
    gap: 14px;
  }

  body:not(.admin-body) .product-support-strip {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    margin-top: 68px;
    padding: 34px 24px;
  }

  .product-support-strip h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .product-support-strip .button.ghost {
    width: 100%;
  }

  .product-related {
    overflow: hidden;
  }

  .product-related-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .product-related-grid {
    display: flex;
    width: calc(100vw - 16px);
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 12px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .product-related-grid .saatchi-card {
    min-width: min(82vw, 330px);
    scroll-snap-align: start;
  }
}

@media (max-width: 360px) {
  .product-purchase-actions {
    grid-template-columns: 1fr;
  }

  .product-price-row {
    display: grid;
  }

  .product-price-row > p {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 1179px) {
  body:not(.admin-body) .site-navigation .desktop-cart {
    display: none;
  }
}

/* Public information pages: clear hierarchy, trustworthy actions, and mobile-first reading. */
body:not(.admin-body) .about-hero {
  isolation: isolate;
  min-height: clamp(560px, 68vh, 760px);
  align-items: center;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 8vw, 116px);
}

body:not(.admin-body) .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, .88) 0%, rgba(5, 6, 6, .68) 42%, rgba(5, 6, 6, .12) 78%),
    linear-gradient(0deg, rgba(5, 6, 6, .36), transparent 55%);
  pointer-events: none;
}

body:not(.admin-body) .about-hero > img {
  height: 100%;
  filter: saturate(.72) contrast(1.08) brightness(.82);
}

body:not(.admin-body) .about-hero .profile-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
}

body:not(.admin-body) .about-hero .eyebrow,
body:not(.admin-body) .about-hero h1,
body:not(.admin-body) .about-hero-intro {
  color: #fff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .24);
}

body:not(.admin-body) .about-hero h1 {
  max-width: 680px;
  margin: 12px 0 22px;
  font-family: inherit;
  font-size: clamp(3.5rem, 7vw, 7.25rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.035em;
}

body:not(.admin-body) .about-hero-intro {
  max-width: 570px;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

body:not(.admin-body) .about-hero-actions,
body:not(.admin-body) .technology-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 30px;
}

body:not(.admin-body) .about-hero-actions .button.ghost {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

body:not(.admin-body) .about-hero-actions .button.ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--sa-ink);
}

body:not(.admin-body) .technology-hero {
  align-items: stretch;
  margin: 0;
  background: linear-gradient(135deg, #f7f4ee 0%, #eeebe4 100%);
}

body:not(.admin-body) .technology-hero-content {
  align-self: center;
  max-width: 650px;
}

body:not(.admin-body) .technology-hero-content > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--sa-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.72;
}

body:not(.admin-body) .technology-hero > img {
  min-height: 470px;
  height: 100%;
  object-fit: cover;
  filter: saturate(.74) contrast(1.06);
}

body:not(.admin-body) .technology-hero-actions .text-link {
  min-height: 44px;
  align-items: center;
  padding-bottom: 0;
}

body:not(.admin-body) .technology-gallery {
  margin: clamp(78px, 9vw, 132px) clamp(22px, 7vw, 92px) 0;
}

body:not(.admin-body) .technology-section-heading {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(280px, 1.45fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 60px);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--sa-line);
}

body:not(.admin-body) .technology-section-heading h2,
body:not(.admin-body) .technology-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.025em;
}

body:not(.admin-body) .technology-gallery .showcase-grid {
  margin: 0;
}

body:not(.admin-body) .technology-cta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
  margin: clamp(78px, 9vw, 132px) clamp(22px, 7vw, 92px);
  padding: clamp(34px, 5vw, 68px);
  background: #080909;
  color: #fff;
}

body:not(.admin-body) .technology-cta p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: #d7d7d4;
  line-height: 1.7;
}

body:not(.admin-body) .technology-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body:not(.admin-body) .technology-cta .button {
  border-color: #fff;
  background: #fff;
  color: #080909;
}

body:not(.admin-body) .technology-cta .button.ghost {
  background: transparent;
  color: #fff;
}

body:not(.admin-body) .contact-page {
  align-items: start;
  margin: 0;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(70px, 9vw, 128px);
  background:
    radial-gradient(circle at 84% 18%, rgba(205, 198, 185, .32), transparent 34%),
    linear-gradient(180deg, #f8f6f1, #f1eee8);
}

body:not(.admin-body) .contact-copy {
  max-width: 690px;
}

body:not(.admin-body) .contact-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--sa-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

body:not(.admin-body) .contact-email {
  display: grid;
  gap: 5px;
  width: fit-content;
  min-height: 58px;
  margin: 30px 0 36px;
  color: var(--sa-ink);
  text-decoration: none;
}

body:not(.admin-body) .contact-email span {
  color: var(--sa-muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body:not(.admin-body) .contact-email strong {
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
}

body:not(.admin-body) .contact-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, .14);
}

body:not(.admin-body) .contact-trust-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 20px 0 0;
}

body:not(.admin-body) .contact-trust-grid > div + div {
  padding-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, .14);
}

body:not(.admin-body) .contact-trust-grid strong {
  font-size: .8rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

body:not(.admin-body) .contact-trust-grid span {
  color: var(--sa-muted);
  font-size: .86rem;
  line-height: 1.55;
}

body:not(.admin-body) .contact-panel {
  width: min(100%, 520px);
  justify-self: end;
}

body:not(.admin-body) .contact-panel .commission-card {
  width: 100%;
  margin: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 28px 70px rgba(39, 35, 29, .09);
  text-align: left;
}

body:not(.admin-body) .contact-panel .commission-card .button {
  width: 100%;
}

body:not(.admin-body) .commission-field {
  gap: 7px;
}

body:not(.admin-body) .commission-field > span {
  color: var(--sa-ink);
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.35;
}

body:not(.admin-body) .commission-field > span b {
  color: #87564c;
}

body:not(.admin-body) .not-found-page {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, .82fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  min-height: min(720px, calc(100vh - 110px));
  padding: clamp(64px, 10vw, 148px) clamp(24px, 8vw, 116px);
  overflow: hidden;
  background: linear-gradient(135deg, #f8f6f1, #ece8e0);
}

body:not(.admin-body) .not-found-copy {
  max-width: 700px;
}

body:not(.admin-body) .not-found-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.04em;
}

body:not(.admin-body) .not-found-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--sa-muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.72;
}

body:not(.admin-body) .not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

body:not(.admin-body) .not-found-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  box-shadow: inset 0 0 0 34px rgba(255, 255, 255, .22);
  color: rgba(7, 8, 8, .78);
}

body:not(.admin-body) .not-found-mark span {
  align-self: end;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 250;
  line-height: .8;
  letter-spacing: -.08em;
}

body:not(.admin-body) .not-found-mark small {
  align-self: start;
  margin-top: 24px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body:not(.admin-body) .legal-page {
  width: min(calc(100% - 44px), 1240px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0 clamp(76px, 10vw, 140px);
}

body:not(.admin-body) .legal-page-heading {
  max-width: 900px;
  margin-bottom: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--sa-line);
}

body:not(.admin-body) .legal-page-heading h1 {
  margin: 10px 0 22px;
  font-family: inherit;
  font-size: clamp(3.25rem, 7vw, 7.2rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.04em;
}

body:not(.admin-body) .legal-page-heading > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--sa-muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

body:not(.admin-body) .legal-page-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 720px);
  gap: clamp(46px, 8vw, 120px);
  align-items: start;
}

body:not(.admin-body) .legal-contact-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--sa-line);
  background: rgba(255, 255, 255, .5);
}

body:not(.admin-body) .legal-contact-card > strong {
  font-size: 1.05rem;
}

body:not(.admin-body) .legal-contact-card address {
  color: var(--sa-muted);
  font-style: normal;
  font-size: .9rem;
  line-height: 1.6;
}

body:not(.admin-body) .legal-contact-card > a {
  width: fit-content;
  color: var(--sa-ink);
  font-size: .9rem;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

body:not(.admin-body) .legal-rate-summary {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--sa-line);
}

body:not(.admin-body) .legal-rate-summary h2 {
  margin: 0 0 12px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body:not(.admin-body) .legal-rate-summary ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body:not(.admin-body) .legal-rate-summary li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--sa-muted);
  font-size: .82rem;
}

body:not(.admin-body) .legal-rate-summary li strong {
  color: var(--sa-ink);
}

body:not(.admin-body) .legal-content {
  color: #33322f;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}

body:not(.admin-body) .legal-content > p:first-child {
  color: var(--sa-muted);
  font-size: .82rem;
}

body:not(.admin-body) .legal-content h2 {
  margin: 44px 0 13px;
  font-family: inherit;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 420;
  line-height: 1.2;
}

body:not(.admin-body) .legal-content h2:first-of-type {
  margin-top: 22px;
}

@media (max-width: 980px) {
  body:not(.admin-body) .technology-cta,
  body:not(.admin-body) .not-found-page,
  body:not(.admin-body) .legal-page-layout {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .technology-cta {
    align-items: start;
  }

  body:not(.admin-body) .not-found-mark {
    width: min(100%, 460px);
    justify-self: center;
  }

  body:not(.admin-body) .legal-contact-card {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-body) .legal-contact-card .eyebrow,
  body:not(.admin-body) .legal-rate-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .about-hero {
    min-height: 610px;
    align-items: end;
    padding: 48px 20px;
  }

  body:not(.admin-body) .about-hero::after {
    background: linear-gradient(0deg, rgba(4, 5, 5, .92) 0%, rgba(4, 5, 5, .66) 52%, rgba(4, 5, 5, .14) 100%);
  }

  body:not(.admin-body) .about-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  body:not(.admin-body) .about-hero-actions,
  body:not(.admin-body) .about-hero-actions .button {
    width: 100%;
  }

  body:not(.admin-body) .technology-hero {
    gap: 36px;
    padding-top: 54px;
    padding-bottom: 0;
  }

  body:not(.admin-body) .technology-hero > img {
    width: calc(100% + 40px);
    min-height: 300px;
    height: 330px;
    margin-inline: -20px;
  }

  body:not(.admin-body) .technology-hero-actions,
  body:not(.admin-body) .technology-hero-actions .button {
    width: 100%;
  }

  body:not(.admin-body) .technology-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body:not(.admin-body) .technology-cta {
    margin-inline: 16px;
    padding: 32px 22px;
  }

  body:not(.admin-body) .technology-cta > div:last-child,
  body:not(.admin-body) .technology-cta .button {
    width: 100%;
  }

  body:not(.admin-body) .contact-page {
    gap: 46px;
    padding: 54px 20px 76px;
  }

  body:not(.admin-body) .contact-trust-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .contact-trust-grid > div,
  body:not(.admin-body) .contact-trust-grid > div + div {
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
  }

  body:not(.admin-body) .contact-panel {
    justify-self: stretch;
  }

  body:not(.admin-body) .not-found-page {
    min-height: auto;
    gap: 56px;
    padding: 72px 20px 84px;
  }

  body:not(.admin-body) .not-found-actions,
  body:not(.admin-body) .not-found-actions .button {
    width: 100%;
  }

  body:not(.admin-body) .not-found-mark {
    width: min(92vw, 340px);
  }

  body:not(.admin-body) .legal-page {
    width: calc(100% - 40px);
    padding-top: 58px;
  }

  body:not(.admin-body) .legal-page-heading h1 {
    font-size: clamp(2.25rem, 9.4vw, 3.35rem);
    line-height: 1;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  body:not(.admin-body) .legal-page-layout {
    gap: 42px;
  }

  body:not(.admin-body) .legal-contact-card {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .legal-contact-card .eyebrow,
  body:not(.admin-body) .legal-rate-summary {
    grid-column: auto;
  }

  body:not(.admin-body) .commission-modal {
    max-height: calc(100dvh - 24px);
  }

  body:not(.admin-body) .site-footer nav a,
  body:not(.admin-body) .site-footer nav button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Auth password controls and supporting account guidance */
body:not(.admin-body) .auth-card .password-control,
body:not(.admin-body) .account-page .password-control {
  display: grid;
  min-width: 0;
  gap: 7px;
}

body:not(.admin-body) .auth-card .password-field,
body:not(.admin-body) .account-page .password-field {
  position: relative;
  display: grid;
  min-width: 0;
}

body:not(.admin-body) .auth-card .password-field input,
body:not(.admin-body) .account-page .password-field input {
  width: 100%;
  padding-right: 82px;
}

body:not(.admin-body) .auth-card .password-toggle,
body:not(.admin-body) .account-page .password-toggle {
  position: absolute;
  inset: 6px 6px 6px auto;
  min-width: 64px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--sa-line);
  background: #fff;
  color: var(--sa-ink);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body:not(.admin-body) .auth-card .password-toggle:hover,
body:not(.admin-body) .account-page .password-toggle:hover {
  background: #f6f3ed;
}

body:not(.admin-body) .auth-card .password-toggle:focus-visible,
body:not(.admin-body) .account-page .password-toggle:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

body:not(.admin-body) .auth-card .password-help,
body:not(.admin-body) .account-page .password-help {
  display: block;
  color: var(--sa-muted);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

body:not(.admin-body) .auth-card .auth-label-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body:not(.admin-body) .auth-card .auth-label-line small {
  color: var(--sa-muted);
  font-size: .68rem;
  font-weight: 550;
  letter-spacing: .04em;
  text-transform: none;
}

body:not(.admin-body) .auth-card :is(.auth-intro, .auth-help, .auth-legal) {
  color: var(--sa-muted);
  font-size: .82rem;
  font-weight: 450;
  line-height: 1.58;
}

body:not(.admin-body) .auth-card .auth-help {
  padding-top: 14px;
  border-top: 1px solid var(--sa-line);
}

body:not(.admin-body) .auth-card .auth-legal {
  padding: 12px 0;
  border-top: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

body:not(.admin-body) .auth-card :is(.auth-help, .auth-legal) a {
  color: var(--sa-ink);
  font-weight: 650;
}

@media (max-width: 420px) {
  body:not(.admin-body) .auth-card .password-field input,
  body:not(.admin-body) .account-page .password-field input {
    padding-right: 76px;
  }

  body:not(.admin-body) .auth-card .password-toggle,
  body:not(.admin-body) .account-page .password-toggle {
    min-width: 58px;
    padding-inline: 9px;
    font-size: .68rem;
  }
}

/* Catalog comparison, product decision support, and final touch-target pass. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body:not(.admin-body) .catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  align-items: center;
  width: min(calc(100% - 48px), 1320px);
  min-height: 350px;
  margin: clamp(28px, 4vw, 54px) auto 0;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(157, 138, 98, .18), transparent 38%),
    #ece9e2;
}

body:not(.admin-body) .catalog-intro > div:first-child {
  max-width: 690px;
}

body:not(.admin-body) .catalog-intro h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
}

body:not(.admin-body) .catalog-intro > img {
  display: block;
  width: 100%;
  height: min(25vw, 300px);
  min-height: 220px;
  object-fit: contain;
  object-position: center;
  filter: saturate(.82) contrast(1.02);
  mix-blend-mode: multiply;
}

body:not(.admin-body) .catalog-family-filters,
body:not(.admin-body) .catalog-toolbar {
  width: min(calc(100% - 48px), 1320px);
  margin-right: auto;
  margin-left: auto;
}

body:not(.admin-body) .catalog-family-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

body:not(.admin-body) .catalog-family-filters a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--sa-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .46);
  color: var(--sa-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--sa-ease), background var(--sa-ease), border-color var(--sa-ease);
}

body:not(.admin-body) .catalog-family-filters a:hover,
body:not(.admin-body) .catalog-family-filters a:focus-visible,
body:not(.admin-body) .catalog-family-filters a.active {
  border-color: var(--sa-ink);
  background: var(--sa-ink);
  color: #fff;
  outline: 0;
}

body:not(.admin-body) .catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

body:not(.admin-body) .catalog-toolbar p,
body:not(.admin-body) .catalog-toolbar form {
  margin: 0;
}

body:not(.admin-body) .catalog-toolbar p {
  color: var(--sa-muted);
  font-size: .78rem;
  letter-spacing: .04em;
}

body:not(.admin-body) .catalog-toolbar p strong {
  color: var(--sa-ink);
  font-size: 1rem;
}

body:not(.admin-body) .catalog-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sa-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:not(.admin-body) .catalog-toolbar select {
  min-width: 152px;
  min-height: 44px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background-color: #fff;
  color: var(--sa-ink);
  font: inherit;
}

body:not(.admin-body) .catalog-toolbar + .saatchi-gallery {
  width: min(calc(100% - 48px), 1320px);
  margin-top: 28px;
  margin-right: auto;
  margin-left: auto;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-card-media {
  position: relative;
  min-width: 0;
}

.product-card-media .saatchi-image {
  height: 100%;
}

.product-card .product-card-gallery {
  top: auto;
  right: auto;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  gap: 0;
  overflow-x: auto;
  padding: 2px 4px;
}

.product-card .product-card-gallery button {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.product-card .product-card-gallery button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(43, 41, 37, .56);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.product-card .product-card-gallery button.active::after {
  border-color: #2b2925;
  background: #2b2925;
}

.product-card .saatchi-actions {
  top: 12px;
  right: 12px;
}

.product-card :is(.icon-heart, .icon-cart) {
  width: 46px;
  min-width: 46px;
  height: 46px;
  cursor: pointer;
}

.product-card .saatchi-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 24px 24px;
  text-align: left;
}

.product-card-category {
  margin-bottom: 11px !important;
  color: #806e4d !important;
  font-size: .64rem !important;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-card .saatchi-meta > strong,
.product-card .gallery-price {
  display: flex;
  min-height: 25px;
  align-items: baseline;
  gap: 9px;
  color: var(--sa-ink);
  font-size: 1.03rem;
  font-weight: 650;
}

.product-card .gallery-price del {
  color: var(--sa-muted);
  font-size: .77rem;
  font-weight: 450;
}

.product-card .saatchi-meta h2 {
  margin: 13px 0 8px;
  font-size: 1rem;
  text-align: left;
}

.product-card-application {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-foot {
  display: flex;
  min-height: 45px;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--sa-line);
}

.product-card-foot small {
  max-width: 58%;
  color: var(--sa-muted);
  font-size: .68rem;
  line-height: 1.35;
}

.product-card-foot a {
  color: var(--sa-ink);
  font-size: .72rem;
  font-weight: 750;
  text-align: right;
  text-decoration: none;
}

.product-card-foot a:hover,
.product-card-foot a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-product-grid .saatchi-meta > strong {
  display: flex;
}

.home-product-grid .gallery-price {
  display: flex;
}

.home-product-grid .product-card-gallery,
.home-product-grid .saatchi-actions {
  display: none;
}

.product-compatibility-gate {
  margin: 0 0 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--sa-gold);
  background: #f3f0e8;
}

.product-compatibility-gate strong {
  display: block;
  margin-bottom: 6px;
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.product-compatibility-gate p {
  margin: 0;
  color: #4f4d48;
  font-size: .78rem;
  line-height: 1.55;
}

.product-compatibility-gate a {
  color: var(--sa-ink);
  font-weight: 750;
  text-underline-offset: 3px;
}

.product-configuration-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}

.product-configuration-actions .button {
  min-height: 52px;
  padding-inline: 14px;
}

.product-configuration-note {
  margin: 13px 0 0;
  color: var(--sa-muted);
  font-size: .74rem;
  line-height: 1.5;
}

body:not(.admin-body) .product-installation-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(calc(100% - 48px), 1320px);
  margin: clamp(66px, 8vw, 110px) auto 0;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 84% 4%, rgba(157, 138, 98, .24), transparent 37%),
    #171817;
  color: #fff;
}

.product-installation-note .eyebrow {
  color: #c9bea8;
}

.product-installation-note h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 4.7rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.product-installation-note p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: #cfceca;
  line-height: 1.72;
}

.product-installation-note .button.ghost {
  min-width: 220px;
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

body:not(.admin-body) .cart-page[data-cart-state-count="0"] {
  grid-template-columns: 1fr;
  margin-bottom: 52px;
}

body:not(.admin-body) .cart-page[data-cart-state-count="0"] .cart-main,
body:not(.admin-body) .cart-page[data-cart-state-count="0"] .empty-cart {
  width: 100%;
  max-width: 820px;
}

body:not(.admin-body) .empty-cart-related {
  margin-top: 0;
}

@media (max-width: 900px) {
  body:not(.admin-body) .catalog-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr);
  }

  body:not(.admin-body) .catalog-intro > img {
    min-height: 180px;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .gallery-promo {
    padding: 9px 12px;
    font-size: .62rem;
    line-height: 1.45;
  }

  body:not(.admin-body) .catalog-intro {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 32px);
    min-height: 0;
    gap: 20px;
    margin-top: 24px;
    padding: 22px 22px 18px;
  }

  body:not(.admin-body) .catalog-intro h1 {
    margin-bottom: 11px;
    font-size: clamp(2.55rem, 12vw, 3.6rem);
    overflow-wrap: anywhere;
  }

  body:not(.admin-body) .catalog-intro > div:first-child {
    min-width: 0;
  }

  body:not(.admin-body) .catalog-intro > div:first-child p:last-child {
    font-size: .9rem;
    line-height: 1.55;
  }

  body:not(.admin-body) .catalog-intro > img {
    width: calc(100% + 20px);
    height: 92px;
    min-height: 0;
    margin-inline: -10px;
    object-fit: cover;
    object-position: 50% 58%;
  }

  body:not(.admin-body) .catalog-family-filters,
  body:not(.admin-body) .catalog-toolbar {
    width: calc(100% - 32px);
  }

  body:not(.admin-body) .catalog-family-filters {
    margin-top: 16px;
  }

  body:not(.admin-body) .catalog-toolbar {
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
  }

  body:not(.admin-body) .catalog-toolbar label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  body:not(.admin-body) .catalog-toolbar select {
    min-width: 136px;
  }

  body:not(.admin-body) .catalog-toolbar + .saatchi-gallery {
    width: calc(100% - 32px);
    margin-top: 20px;
  }

  .product-card .saatchi-image {
    aspect-ratio: 1.12;
  }

  .product-card .saatchi-meta {
    padding: 20px;
  }

  .product-gallery-stage {
    aspect-ratio: 1.18;
  }

  .product-gallery-thumbnails {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-compatibility-gate {
    margin-bottom: 16px;
    padding: 14px;
  }

  body:not(.admin-body) .product-installation-note {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 28px;
    margin-top: 66px;
    padding: 34px 24px;
  }

  .product-installation-note h2 {
    font-size: clamp(2.1rem, 10.8vw, 3.25rem);
  }

  .product-installation-note .button.ghost {
    width: 100%;
    min-width: 0;
  }

  body:not(.admin-body) .empty-cart-related {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .product-configuration-actions {
    grid-template-columns: 1fr;
  }

  .product-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card-foot small {
    max-width: none;
  }
}

/* Final accessibility target and focus refinements. */
body:not(.admin-body) .cookie-consent-copy > span {
  color: #7f4f3d;
}

body:not(.admin-body) .modal-close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
}

body:not(.admin-body) .modal-close::before,
body:not(.admin-body) .modal-close::after {
  top: 22px;
  left: 10px;
}

body:not(.admin-body) .auth-check {
  min-height: 44px;
}

body:not(.admin-body) .cart-quantity input {
  height: 44px;
}

body:not(.admin-body) .auth-card .password-toggle,
body:not(.admin-body) .account-page .password-toggle {
  inset: 2px 2px 2px auto;
}

.painting-browser-link:focus-visible,
.product-gallery-thumbnail:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  body:not(.admin-body) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),
  body:not(.admin-body) select,
  body:not(.admin-body) textarea {
    font-size: 16px !important;
  }
}

body:not(.admin-body) details.product-compatibility-gate {
  margin: 18px 0;
}

body:not(.admin-body) .product-compatibility-gate summary strong {
  margin: 0;
}

.custom-select.invalid .custom-select-trigger,
.custom-select-trigger[aria-invalid="true"] {
  border-color: #9f2f24;
  outline: 2px solid rgba(159, 47, 36, .22);
  outline-offset: 2px;
}

/* Admin control room: shared navigation, hierarchy, responsive data, and forms. */
.admin-body,
.login-screen {
  --admin-bg: #f3f1ed;
  --admin-panel: #fff;
  --admin-ink: #141414;
  --admin-muted: #68645e;
  --admin-line: #ddd8cf;
  --admin-accent: #8b604c;
  --admin-dark: #111;
  background: var(--admin-bg);
  color: var(--admin-ink);
}

.admin-top {
  z-index: 100;
  min-height: 72px;
  gap: 22px;
  padding: 11px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid rgba(20, 20, 20, .1);
  background: rgba(250, 249, 246, .94);
  box-shadow: 0 8px 30px rgba(25, 22, 18, .045);
}

.admin-brand {
  display: grid;
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
}

.admin-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.admin-brand span {
  margin-top: 6px;
  color: var(--admin-muted);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.admin-header-status {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #d8dfcb;
  border-radius: 999px;
  background: #f3f7ec;
  color: #53643a;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-header-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #698044;
  box-shadow: 0 0 0 4px rgba(105, 128, 68, .12);
}

.admin-top nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-left: 0;
  color: var(--admin-muted);
}

.admin-nav-primary,
.admin-nav-utilities {
  display: flex;
  align-items: center;
  gap: 3px;
}

.admin-top nav a,
.admin-top nav button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.admin-top nav a:hover,
.admin-top nav button:hover,
.admin-top nav a:focus-visible,
.admin-top nav button:focus-visible {
  background: #ece8e1;
  color: var(--admin-ink);
}

.admin-top nav a.active {
  background: var(--admin-dark);
  color: #fff;
}

.admin-nav-utilities {
  padding-left: 10px;
  border-left: 1px solid var(--admin-line);
}

.admin-top nav form {
  margin: 0;
}

.admin-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.admin-menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--admin-ink);
  transition: transform .18s ease, opacity .18s ease;
}

.admin-top.menu-open .admin-menu-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.admin-top.menu-open .admin-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.admin-top.menu-open .admin-menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.admin-main {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 34px clamp(18px, 3.5vw, 52px) 80px;
}

.admin-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-page-heading span {
  display: block;
  margin-bottom: 7px;
  color: var(--admin-accent);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.admin-page-heading h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 430;
  line-height: .96;
  letter-spacing: -.035em;
}

.admin-page-heading p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--admin-muted);
  font-size: .94rem;
  line-height: 1.5;
}

.admin-data-section + .admin-data-section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--admin-line);
}

.admin-section-head > span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: #fff;
  color: var(--admin-muted);
  font-size: .76rem;
  font-weight: 750;
  white-space: nowrap;
}

.admin-body :is(input, select, textarea) {
  border-radius: 8px;
}

.admin-body :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(64, 93, 104, .16);
  outline-offset: 1px;
  border-color: var(--blue);
}

.admin-body :is(.button, button):focus-visible,
.admin-body a:focus-visible,
.admin-menu-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.admin-body .button {
  border-radius: 8px;
}

.admin-body .notice {
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  box-shadow: none;
}

.admin-body .dashboard-hero span,
.admin-body .analytics-panel .panel-head span {
  color: #865442;
}

.admin-body .status-archived {
  color: #566162;
}

.integration-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 2px 0 10px;
  padding: 4px 9px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  font-size: .66rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.integration-status.configured {
  border-color: #d8dfcb;
  background: #f3f7ec;
  color: #53643a;
}

.integration-status.incomplete {
  border-color: #e3d3bd;
  background: #fbf4e8;
  color: #765b38;
}

.danger-toggle {
  border-color: #ead4cd;
  background: #fff8f5;
}

.admin-list-toolbar {
  min-height: 48px;
  margin-bottom: 18px;
}

.admin-toolbar-copy {
  display: grid;
  gap: 2px;
}

.admin-toolbar-copy strong {
  font-size: .95rem;
}

.admin-toolbar-copy span {
  color: var(--admin-muted);
  font-size: .8rem;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-search {
  position: relative;
  display: block;
}

.admin-search input {
  width: min(32vw, 320px);
  min-height: 44px;
  padding: 9px 36px 9px 12px;
  border: 1px solid var(--admin-line);
  background: #fff;
  font-size: .88rem;
}

.admin-search::after {
  content: "⌕";
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--admin-muted);
  font-size: 1.15rem;
  pointer-events: none;
  transform: translateY(-52%);
}

.admin-filter-empty {
  margin: 14px 0 0;
  padding: 18px;
  border: 1px dashed var(--admin-line);
  border-radius: 10px;
  background: #faf8f4;
  color: var(--admin-muted);
  text-align: center;
}

.admin-table-wrap {
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(37, 32, 25, .06);
}

.orders-table-wrap {
  overflow-x: auto;
}

.admin-table th {
  background: #f6f3ee;
  color: #59544d;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.admin-table tbody tr {
  transition: background .15s ease;
}

.admin-table tbody tr:hover {
  background: #fdfbf7;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr[hidden] {
  display: none !important;
}

.admin-empty-cell {
  padding: 34px !important;
  color: var(--admin-muted);
  text-align: center !important;
}

.admin-empty-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 34px;
  border: 1px dashed var(--admin-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  text-align: center;
}

.admin-empty-state > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 2px;
  border-radius: 50%;
  background: #ebe7df;
  color: var(--admin-accent);
  font-size: 1.3rem;
}

.admin-empty-state h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.admin-empty-state p {
  max-width: 480px;
  margin: 0;
  color: var(--admin-muted);
}

.admin-empty-state .button {
  margin-top: 8px;
}

.admin-empty-state.compact {
  min-height: 230px;
}

.sales-chart-empty {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 28px;
  border: 1px dashed var(--admin-line);
  border-radius: 10px;
  background: #faf8f4;
  text-align: center;
}

.sales-chart-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #ece8e1;
  color: var(--admin-accent);
  font-size: 1.15rem;
}

.sales-chart-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--admin-muted);
  font-size: .84rem;
}

.sales-chart-empty a {
  margin-top: 5px;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.row-actions :is(a, button),
.actions :is(a, button) {
  min-height: 40px;
  min-width: 40px;
  padding: 8px 11px;
}

.row-action-menu {
  position: relative;
}

.row-action-menu summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  list-style: none;
}

.row-action-menu summary::-webkit-details-marker {
  display: none;
}

.row-action-menu summary::after {
  content: "+";
  margin-left: 7px;
}

.row-action-menu[open] summary::after {
  content: "−";
}

.row-action-menu > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.language-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.language-card > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.language-card > summary::-webkit-details-marker {
  display: none;
}

.language-card > summary b {
  display: grid;
  width: 36px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  background: #e9edf0;
  color: var(--blue);
  font-size: .7rem;
  letter-spacing: .08em;
}

.language-card > summary strong {
  color: var(--admin-ink);
  font-size: .9rem;
}

.language-card > summary small {
  color: var(--admin-muted);
  font-size: .74rem;
}

.language-card.is-complete > summary small {
  color: #53643a;
  font-weight: 750;
}

.language-card > summary::after {
  content: "+";
  color: var(--admin-muted);
  font-size: 1.1rem;
}

.language-card[open] > summary {
  border-bottom: 1px solid var(--admin-line);
  background: #f7f4ef;
}

.language-card[open] > summary::after {
  content: "−";
}

.language-fields {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.language-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 2px;
}

.language-card-actions .translation-button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: .76rem;
}

.language-card-actions p,
.language-translation-hint {
  margin: 0;
  color: var(--admin-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.translation-request-form {
  display: none;
}

.preview-card.is-empty img {
  aspect-ratio: 16 / 10;
  padding: 42px;
  object-fit: contain;
  background: #f1eee8;
}

.editor-mobile-actions {
  display: none;
}

.login-screen {
  padding: 24px;
  background:
    radial-gradient(circle at 75% 20%, rgba(139, 96, 76, .13), transparent 32%),
    linear-gradient(145deg, #eeebe5, #f8f6f2);
}

.login-card {
  gap: 18px;
  padding: clamp(26px, 5vw, 40px);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(24, 21, 17, .15);
}

.login-card .login-kicker {
  margin: 0;
  color: var(--admin-accent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: -6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 8vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
}

.login-card .login-intro,
.login-card .login-security-note {
  margin: 0;
  color: var(--admin-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--admin-muted);
  font-size: .8rem;
  font-weight: 750;
}

.login-card input,
.login-card .button {
  min-height: 50px;
}

.login-password-field {
  position: relative;
  display: grid;
}

.login-password-field input {
  width: 100%;
  padding-right: 78px;
}

.login-password-field button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  min-width: 66px;
  border: 0;
  border-radius: 6px;
  background: #ece8e1;
  color: var(--admin-ink);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 750;
}

.login-card .login-store-link {
  justify-self: center;
  color: var(--admin-muted);
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1180px) {
  .admin-top {
    flex-wrap: nowrap;
  }

  .admin-menu-toggle {
    display: flex;
  }

  .admin-top nav {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 110;
    display: none;
    width: min(460px, calc(100vw - 32px));
    max-height: calc(100dvh - 88px);
    align-content: start;
    gap: 14px;
    margin: 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 70px rgba(20, 18, 15, .2);
  }

  .admin-top.menu-open nav {
    display: grid;
  }

  .admin-nav-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .admin-nav-primary a {
    justify-content: flex-start !important;
    min-height: 48px !important;
  }

  .admin-nav-utilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 12px 0 0;
    border-top: 1px solid var(--admin-line);
    border-left: 0;
  }

  .admin-nav-utilities a,
  .admin-nav-utilities button,
  .admin-nav-utilities form {
    width: 100%;
  }

  body.admin-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .admin-top {
    min-height: 66px;
    padding: 10px 14px;
  }

  .admin-top nav {
    top: 66px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 76px);
  }

  .admin-header-status {
    margin-left: auto;
  }

  .admin-header-status span {
    display: none;
  }

  .admin-main {
    padding: 22px 14px 64px;
  }

  .admin-page-heading {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .admin-page-heading h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .admin-page-heading p {
    font-size: .88rem;
  }

  .admin-list-toolbar,
  .admin-toolbar-actions {
    display: grid;
    width: 100%;
    align-items: stretch;
  }

  .admin-search input,
  .admin-toolbar-actions .button {
    width: 100%;
  }

  .admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  .admin-body select,
  .admin-body textarea {
    font-size: 16px !important;
  }

  .admin-body :is(button, .button, .row-actions a, .actions a) {
    min-height: 44px;
  }

  .row-actions :is(a, button),
  .actions :is(a, button) {
    min-width: 44px;
  }

  .analytics-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .analytics-metric {
    min-height: 116px;
    padding: 14px;
  }

  .analytics-metric strong {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .admin-table-wrap,
  .orders-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table {
    min-width: 0;
    table-layout: auto;
    background: transparent;
  }

  .admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .admin-table colgroup {
    display: none;
  }

  .admin-table tbody tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(37, 32, 25, .055);
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(86px, .34fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 13px;
    border-bottom: 1px solid var(--admin-line);
    text-align: left;
  }

  .admin-table td::before {
    content: attr(data-label);
    padding-top: 2px;
    color: var(--admin-muted);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .admin-table td > .status-pill,
  .admin-table .order-cell > span {
    justify-self: start;
  }

  .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-table td[colspan] {
    display: block;
    padding: 24px;
    text-align: center;
  }

  .admin-table td[colspan]::before {
    display: none;
  }

  .paintings-table .painting-list-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .paintings-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paintings-table td {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--admin-line);
  }

  .paintings-table td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    border-right: 0;
  }

  .paintings-table td:nth-child(1),
  .paintings-table td:nth-child(3) {
    grid-row: 2;
  }

  .paintings-table td:nth-child(4),
  .paintings-table td:nth-child(5) {
    grid-row: 3;
  }

  .paintings-table td:nth-child(3),
  .paintings-table td:nth-child(5) {
    border-right: 0;
  }

  .paintings-table td:last-child {
    grid-column: 1 / -1;
    grid-row: 4;
    border-right: 0;
  }

  .paintings-table .painting-list-item img {
    width: 58px;
    height: 68px;
  }

  .paintings-table .painting-list-item strong,
  .paintings-table .painting-list-item small {
    white-space: normal;
  }

  .row-actions {
    align-items: stretch;
  }

  .row-actions > a,
  .row-actions > form,
  .row-actions > form button,
  .row-action-menu,
  .row-action-menu summary {
    flex: 1 1 auto;
  }

  .row-action-menu > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .row-action-menu > div form,
  .row-action-menu > div button {
    width: 100%;
  }

  .order-status-form .custom-select-menu {
    min-width: min(260px, calc(100vw - 58px));
  }

  .settings-panel,
  .editor-panel,
  .preview-card,
  .save-card,
  .analytics-panel,
  .analytics-metric,
  .dashboard-hero,
  .shipping-admin-card,
  .voucher-admin-card,
  .voucher-form,
  .shipping-template-form {
    border-radius: 12px;
  }

  .settings-panel,
  .editor-panel {
    padding: 18px;
  }

  .language-grid {
    gap: 10px;
  }

  .editor-mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr);
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--admin-line);
    background: rgba(250, 249, 246, .96);
    box-shadow: 0 -12px 32px rgba(20, 18, 15, .12);
    backdrop-filter: blur(16px);
  }

  .editor-mobile-actions .button {
    width: 100%;
  }

  .painting-editor {
    padding-bottom: 78px;
  }

  .panel-heading {
    gap: 10px;
  }

  .panel-heading h2 {
    font-size: 1.55rem;
  }

  .settings-actions,
  .shipping-actions {
    position: sticky;
    bottom: 8px;
    z-index: 20;
    padding: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: rgba(250, 249, 246, .94);
    box-shadow: 0 12px 32px rgba(20, 18, 15, .12);
    backdrop-filter: blur(14px);
  }

  .settings-actions .button,
  .shipping-actions .button {
    width: 100%;
  }

  .voucher-card-actions,
  .shipping-card-head,
  .voucher-card-head {
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .admin-brand strong {
    font-size: 1.12rem;
  }

  .admin-nav-primary {
    grid-template-columns: 1fr;
  }

  .admin-header-status {
    display: none;
  }

  .admin-table td {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .paintings-table td:nth-child(1),
  .paintings-table td:nth-child(3),
  .paintings-table td:nth-child(4),
  .paintings-table td:nth-child(5) {
    grid-template-columns: 1fr;
  }
}
