/* ArtsDiva — public site styles (gallery / brochure layout) */

:root {
  --ad-black: #0e1116;
  --ad-text: #16191f;
  --ad-muted: #5c6570;
  --ad-border: #dde2e8;
  --ad-bg: #f4f6f8;
  --ad-surface: #ffffff;
  --ad-footer: #e9edf1;
  --ad-accent: #9e2b2b;
  --ad-accent-soft: rgba(158, 43, 43, 0.1);
  --ad-ink-wash: #1c2430;
  --ad-max: 1280px;
  --ad-gutter: 24px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --ad-shadow: 0 18px 40px rgba(14, 17, 22, 0.08);
  --ad-radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ad-text);
  background:
    radial-gradient(1200px 520px at 8% -10%, rgba(28, 36, 48, 0.07), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(158, 43, 43, 0.05), transparent 45%),
    linear-gradient(180deg, #f7f8fa 0%, var(--ad-bg) 40%, #eef1f4 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  opacity: 0.75;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3,
.cat-hero h1,
.page-hero h1,
.pd-title,
.art-card__title,
.mega__title {
  font-family: var(--font-display);
  font-weight: 600;
}

.container {
  width: min(100% - (var(--ad-gutter) * 2), var(--ad-max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221, 226, 232, 0.9);
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo logo"
    "nav utils";
  align-items: center;
  column-gap: 24px;
}

.nav-toggle {
  display: none;
  grid-area: toggle;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #111;
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.logo {
  grid-area: logo;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 18px 0 16px;
  border-bottom: 1px solid #ececec;
  width: 100%;
  justify-content: center;
}

.logo:hover {
  opacity: 1;
}

.logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
}

.logo--footer img {
  width: 140px;
}

.main-nav__panel-head,
.main-nav__close {
  display: none;
}

.nav-backdrop {
  display: none;
}

.main-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  min-height: 52px;
}

.main-nav > .nav-link,
.main-nav .nav-item__trigger {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 16px 0 14px;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.main-nav > .nav-link.active::after,
.main-nav .nav-item__trigger.active::after,
.main-nav .nav-item.is-open > .nav-item__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 1px;
  background: #111;
}

.main-nav > .nav-link:hover,
.main-nav .nav-item__trigger:hover {
  opacity: 1;
  color: #000;
}

.main-nav > .nav-link:hover::after,
.main-nav .nav-item__trigger:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 1px;
  background: #111;
}

.nav-item {
  position: static;
}

.nav-item__trigger .nav-chevron {
  display: none;
}

/* ---------- Mega menu ---------- */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 120;
  background: #111;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #222;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  color: #f2f2f2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item.is-open > .mega,
.mega:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega[hidden] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-item.is-open > .mega[hidden] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 20px 28px;
  padding: 20px 0 22px;
  align-items: start;
}

.mega__rail {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.mega__eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.mega__title {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
  text-transform: none;
}

.mega__blurb {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #a3a3a3;
  max-width: 22ch;
}

.mega__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 3px;
  width: fit-content;
}

.mega__cta:hover {
  opacity: 1;
  color: #fff;
  border-bottom-color: #fff;
}

.mega__cta::after {
  content: "→";
  font-size: 12px;
  line-height: 1;
}

/* Catalogue: 3 compact equal cards */
.mega__feature {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  min-width: 0;
  align-items: start;
}

.mega__side {
  display: contents;
}

.mega__feature > .mega-card--lead {
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}

.mega__feature > .mega-card--lead .mega-card__media, .mega__side .mega-card__media, .mega__feature .mega-card__media {
  flex: none;
  aspect-ratio: 4 / 4;
  max-height: 260px;
  height: auto;
}

.mega__feature--stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.mega__feature--stack .mega-card__media {
  aspect-ratio: 3 / 3;
  max-height: 300px;
}

.mega__feature--stack .mega-card--lead .mega-card__media {
  aspect-ratio: 3 / 3;
  max-height: 300px;
  min-height: 0;
  flex: none;
}

.mega__feature--artists {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 12px;
}

.mega__feature--artists .mega-card__media {
  aspect-ratio: 3 / 4;
  max-height: 148px;
}

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: inherit;
}

.mega-card:hover {
  opacity: 1;
}

.mega-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #2a2a2a;
  aspect-ratio: 3 / 2;
  max-height: 132px;
}

.mega-card--portrait .mega-card__media {
  aspect-ratio: 3 / 4;
  max-height: 204px;
}

.mega-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-card:hover .mega-card__media img {
  transform: scale(1.04);
}

.mega-card__index,
.mega-card__chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  background: #fff;
  padding: 5px 7px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06);
}

.mega-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex-shrink: 0;
}

.mega-card__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: #f2f2f2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-card__sub {
  font-size: 11px;
  color: #9a9a9a;
  letter-spacing: 0.03em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega__lists {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 0 24px;
  border-left: 1px solid #2c2c2c;
  min-width: 0;
}

.mega-list__label {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.mega-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-list li {
  line-height: 1.35;
}

.mega-list a {
  font-size: 13px;
  color: #eaeaea;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.mega-list a:hover {
  opacity: 1;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.mega-list__note {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #8f8f8f;
  letter-spacing: 0.02em;
}

.mega__empty {
  margin: 0;
  font-size: 13px;
  color: #8f8f8f;
}

/* Panels without side lists (news / events / artists / pubs) */
.nav-item:not(:has(.mega__lists)) .mega__inner {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px 32px;
}

/* ---------- Publications mega — folio strip ---------- */
.mega--pubs {
  background: #111;
  border-top-color: #1f1f1f;
  border-bottom-color: #222;
  color: #f2f2f2;
}

.mega-pubs {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0 20px;
  align-items: start;
}

.mega-pubs__intro {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.mega-pubs__kicker {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a89878;
}

.mega-pubs__heading {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #f7f3eb;
}

.mega-pubs__lede {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #9a9388;
  max-width: 18ch;
}

.mega-pubs__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7f3eb;
  border-bottom: 1px solid rgba(247, 243, 235, 0.55);
  padding-bottom: 3px;
  width: fit-content;
}

.mega-pubs__cta:hover {
  opacity: 1;
  border-bottom-color: #f7f3eb;
}

.mega-pubs__cta::after {
  content: "→";
}

.mega-pubs__folios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  min-width: 0;
}

.mega-folio {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: inherit;
}

.mega-folio:hover {
  opacity: 1;
}

.mega-folio__frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 225px;
  background: #2a2824;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mega-folio--focus .mega-folio__frame {
  outline: 1px solid rgba(196, 165, 116, 0.55);
  outline-offset: 2px;
}

.mega-folio__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  filter: saturate(0.92) contrast(1.04);
}

.mega-folio:hover .mega-folio__frame img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.06);
}

.mega-folio__index {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #141311;
  background: #f7f3eb;
  padding: 3px 7px;
  line-height: 1;
}

.mega-folio__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega-folio__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #f7f3eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-folio__by {
  font-size: 11px;
  color: #8f877c;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-pubs__empty {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 13px;
  color: #9a9388;
  align-self: center;
}

.header-utils {
  grid-area: utils;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  justify-self: end;
}

.header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
}

.header-search:hover {
  opacity: 0.7;
}

.header-search.is-active {
  color: #111;
  opacity: 1;
}

.currency-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 40;
}

.currency-picker__wrap {
  position: relative;
  display: inline-flex;
}

.currency-picker__label {
  font-size: 12px;
  color: var(--ad-muted, #5c6570);
  white-space: nowrap;
}

.currency-picker__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #e2e6eb;
  border-radius: 999px;
  background: #fff;
  color: #16191f;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.currency-picker__trigger:hover,
.currency-picker.is-open .currency-picker__trigger {
  border-color: #b8c0c9;
  background: #f7f8fa;
  box-shadow: 0 2px 8px rgba(14, 17, 22, 0.06);
}

.currency-picker__trigger:focus-visible {
  outline: 2px solid rgba(14, 17, 22, 0.22);
  outline-offset: 2px;
}

.currency-picker__chevron {
  display: inline-flex;
  color: #5c6570;
  transition: transform 0.2s ease;
}

.currency-picker.is-open .currency-picker__chevron {
  transform: rotate(180deg);
}

.currency-picker__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 14px;
  box-shadow:
    0 4px 6px rgba(14, 17, 22, 0.04),
    0 18px 40px rgba(14, 17, 22, 0.12);
  z-index: 60;
  animation: currencyMenuIn 0.16s ease;
}

.currency-picker--inline .currency-picker__menu {
  right: auto;
  left: 0;
}

.currency-picker__menu[hidden] {
  display: none;
}

@keyframes currencyMenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.currency-picker__option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #16191f;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.currency-picker__option:hover {
  background: #f2f4f6;
}

.currency-picker__option.is-active {
  background: #16191f;
  color: #fff;
}

.currency-picker__option.is-active .currency-picker__symbol {
  opacity: 0.85;
}

.currency-picker__code {
  letter-spacing: 0.08em;
}

.currency-picker__symbol {
  opacity: 0.65;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.currency-picker--inline .currency-picker__trigger {
  font-size: 12px;
  padding: 9px 16px;
  letter-spacing: 0.06em;
}

.header-search-panel {
  border-top: 1px solid #ececec;
  background: #fff;
  padding: 14px 0;
}

.header-search-panel[hidden] {
  display: none;
}

.header-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-search-form input {
  flex: 1;
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  outline: none;
  width: 100%;
}

.header-search-form .live-search {
  flex: 1;
  min-width: 0;
}

.live-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.live-search--wide {
  flex: 1;
}

.live-search__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ad-border);
  box-shadow: var(--ad-shadow);
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 8px 0;
  backdrop-filter: blur(8px);
}

.live-search__panel[hidden] {
  display: none;
}

.live-search__keyword {
  padding: 8px 14px 10px;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}

.live-search__keyword strong {
  color: #111;
}

.live-search__group {
  padding: 6px 0;
}

.live-search__label {
  margin: 0;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.live-search__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 14px;
  text-decoration: none;
  color: inherit;
}

.live-search__item:hover {
  background: #f7f7f7;
  opacity: 1;
}

.live-search__item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.live-search__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.live-search__title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search__meta {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search__all {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.live-search__all:hover {
  background: #f7f7f7;
  opacity: 1;
}

.live-search__empty {
  padding: 14px;
  font-size: 13px;
  color: #666;
}

.cat-search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.cat-search-bar .live-search input[type="search"],
.cat-search-bar input[type="search"] {
  flex: 1;
  min-width: 220px;
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}

.cat-hero__search {
  margin: 8px 0 0;
  color: #555;
  font-size: 15px;
}

.cat-hero__search strong {
  color: #111;
  font-weight: 600;
}

.cat-hero__search-count {
  color: #888;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  height: min(78vh, 680px);
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}

.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  z-index: 0;
}

.hero__slide.is-active {
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.hero__slide.is-prev {
  transform: translateX(-100%);
  z-index: 1;
}

.hero__slide.is-next {
  transform: translateX(100%);
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.01s linear;
  will-change: transform;
}

.hero__slide.is-active .hero__media img {
  transform: scale(1.12);
  transition: transform 6.5s ease-out;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 0 48px;
}

.hero__footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero__content {
  max-width: 720px;
  text-align: left;
  color: #fff;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
}

.hero__content h1 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.12;
  color: #fff;
}

.hero__subtitle {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: #fff;
  text-transform: none;
  opacity: 1;
}

.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start;
}

.hero__btn,
.hero__actions .btn {
  margin: 0;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
}

.hero__btn + .hero__btn,
.hero__actions .btn + .btn {
  margin-left: -1px;
}

.hero__btn:hover,
.hero__actions .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  opacity: 1;
}

.hero__pager {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  flex-shrink: 0;
}

.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.hero__dot:hover {
  opacity: 1;
  background: #fff;
}

.hero__dot-num {
  display: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero__dot.is-active {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__dot.is-active .hero__dot-num {
  display: inline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:hover {
  opacity: 1;
}

.btn--light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--light:hover {
  background: #fff;
  color: var(--ad-black);
}

.btn--dark {
  background: var(--ad-ink-wash);
  color: #fff;
  border-color: var(--ad-ink-wash);
}

.btn--dark:hover {
  background: var(--ad-accent);
  border-color: var(--ad-accent);
}

.btn--outline {
  background: transparent;
  color: var(--ad-black);
  border-color: var(--ad-black);
}

.btn--outline:hover {
  background: var(--ad-black);
  color: #fff;
}

.btn--link {
  padding: 0;
  border: none;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ---------- Exhibitions slider ---------- */
.exhibitions {
  padding-top: 64px;
  padding-bottom: 64px;
}

.ex-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.ex-head__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: wrap;
}

.ex-head__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 25px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
}

.ex-head__sep {
  width: 2px;
  height: 25px;
  background: #cfcfcf;
  flex-shrink: 0;
}

.ex-head__view {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #444;
  white-space: nowrap;
}

.ex-head__view:hover {
  opacity: 1;
  color: #111;
}

.ex-head__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ex-head__count {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #555;
  min-width: 46px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ex-nav-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
  padding: 0;
}

.ex-nav-btn:hover:not(:disabled) {
  opacity: 0.55;
}

.ex-nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.ex-viewport {
  overflow: hidden;
}

.ex-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ex-card {
  flex: 0 0 calc((100% - 84px) / 4);
  min-width: 0;
}

.ex-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
  margin-bottom: 18px;
}

.ex-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ex-card:hover .ex-card__image img {
  transform: scale(1.04);
}

.ex-card__title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.35;
}

.ex-card__subtitle,
.ex-card__meta {
  margin: 0 0 3px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  line-height: 1.5;
}

.ex-card__subtitle {
  margin-bottom: 10px;
  color: #555;
}

.ex-card__meta:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .ex-card {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (max-width: 900px) {
  .ex-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .ex-track {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .exhibitions.section,
  .exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .ex-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title title"
      "view nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    margin-bottom: 20px;
  }

  .ex-head__left {
    display: contents;
  }

  .ex-head__title {
    grid-area: title;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .ex-head__sep {
    display: none;
  }

  .ex-head__view {
    grid-area: view;
    justify-self: start;
    font-size: 12px;
  }

  .ex-head__nav {
    grid-area: nav;
    justify-self: end;
    align-self: center;
    gap: 6px;
  }

  .ex-head__count {
    min-width: 42px;
    font-size: 12px;
  }

  .ex-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    background: #fff;
  }

  .ex-viewport {
    margin-right: calc(-1 * var(--ad-gutter));
    padding-right: var(--ad-gutter);
  }

  .ex-track {
    gap: 16px;
  }

  .ex-card {
    flex-basis: min(82%, 340px);
  }

  .ex-card__image {
    aspect-ratio: 16 / 11;
    margin-bottom: 14px;
  }

  .ex-card__title {
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 0.07em;
  }

  .ex-card__subtitle {
    margin-bottom: 6px;
    font-size: 11px;
    color: #555;
  }

  .ex-card__meta {
    font-size: 11px;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  .ex-card {
    flex-basis: min(86%, 320px);
  }
}
/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--muted {
  background: #fafafa;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.view-all {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------- Cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  margin-top: 50px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
  margin-bottom: 16px;
  border: 1px solid #ddd;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card__text {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ad-muted);
  line-height: 1.55;
  flex: 1;
}

.card__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--ad-muted);
  display: grid;
  gap: 4px;
}

.card__link {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__price {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Feature split (Curated Art) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  align-items: center;
  background: #fff;
  margin: 33px 0 50px;
  gap: 0;
}

.feature-split__media {
  height: 500px;
  background: #e8e8e8;
  overflow: hidden;
}

.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-split__body {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 340px;
  padding: 40px clamp(28px, 5vw, 72px);
  background: #fff;
  box-sizing: border-box;
}

.feature-split__content {
  max-width: 400px;
  width: 100%;
}

.feature-split__content h2 {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.45;
  color: #111;
}
.feature-split__content p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.75;
  color: #6a6a6a;
  font-weight: 400;
}

.feature-split__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

.feature-split__link:hover {
  opacity: 1;
  gap: 12px;
}

.feature-split__link span {
  transition: transform 0.2s ease;
}

.feature-split__link:hover span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    margin: 40px 0;
  }

  .feature-split__media {
    height: 260px;
  }

  .feature-split__body {
    height: auto;
    padding: 28px var(--ad-gutter) 8px;
  }

  .feature-split__content {
    max-width: none;
  }
}

/* ---------- Events slider ---------- */
.events-section {
  padding: 30px 0 30px;
}

.ev-viewport {
  overflow: hidden;
  padding-bottom: 40px;
}

.ev-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ev-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.ev-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.ev-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ev-card:hover .ev-card__media img {
  transform: scale(1.04);
}

.ev-card__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.ev-tag {
  display: inline-block;
  padding: 5px 9px;
  background: rgba(40, 40, 40, 0.72);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ev-card__body {
  padding: 18px 18px 22px;
  flex: 1;
}

.ev-card__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  letter-spacing: 0.01em;
  min-height: 2.7em;
}

.ev-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ev-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}

.ev-card__meta svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #888;
}

@media (max-width: 1100px) {
  .ev-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 900px) {
  .ev-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .events-section {
    padding: 48px 0;
  }

  .ev-card {
    flex-basis: 100%;
  }

  .ev-card__title {
    min-height: 0;
  }
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.events-page .ev-card {
  flex: none;
  width: 100%;
  min-width: 0;
}

.events-page .ev-card__title {
  min-height: 0;
}

@media (max-width: 1100px) {
  .ev-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Publications slider ---------- */
.publications-section {
  background: #fff;
  padding: 64px 0;
}

.pub-viewport {
  overflow: hidden;
}

.pub-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.pub-card {
  flex: 0 0 calc((100% - 84px) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pub-card__frame {
  border: 1px solid #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

.pub-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pub-card:hover .pub-card__frame img {
  transform: scale(1.03);
}

.pub-card__artist {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.pub-card__rule {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 12px;
}

.pub-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.pub-card__excerpt {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.pub-card.is-expanded .pub-card__excerpt {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.pub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.pub-card__title a {
  color: inherit;
  text-decoration: none;
}

.pub-card__title a:hover {
  text-decoration: underline;
}

.publication-detail {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px 40px;
}

.publication-detail__media {
  margin-bottom: 28px;
  border: 1px solid #111;
  background: #fff;
  overflow: hidden;
}

.publication-detail__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 560px;
}

.publication-detail__body {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.publication-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.pub-card__link:hover {
  opacity: 1;
  gap: 10px;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.publications-page .pub-card {
  flex: none;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .pub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .pub-card {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (max-width: 900px) {
  .pub-card {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 640px) {
  .publications-section {
    padding: 48px 0;
  }

  .pub-card {
    flex-basis: 100%;
  }

  .pub-track {
    gap: 20px;
  }
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

.split--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.split__media {
  height: 500px;
  background: #ddd;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
  background: #fff;
}

.split__body h2 {
  margin: 0 0 18px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
}

.split__body p {
  margin: 0 0 24px;
  color: var(--ad-muted);
  font-size: 14px;
  max-width: 420px;
}

/* ---------- Lease band (content in .container, image flush right) ---------- */
.lease-band {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  background: #fff;
  margin: 24px 0 56px;
  overflow: hidden;
}

.lease-band > .container {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--ad-gutter) * 2), var(--ad-max));
}

.lease-band__content {
  max-width: 420px;
  width: min(100%, 42%);
  padding-right: 24px;
  box-sizing: border-box;
}

.lease-band__content h2 {
  margin: 0 0 18px;
  text-transform: uppercase;
  line-height: 1.4;
  color: #111;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: 1px;
}

.lease-band__content p {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.75;
  color: #6a6a6a;
}

.lease-band__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  text-decoration: none;
}

.lease-band__link:hover {
  gap: 12px;
}

.lease-band__link span {
  transition: transform 0.2s ease;
}

.lease-band__link:hover span {
  transform: translateX(3px);
}

.lease-band__media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  /* ~55% column, then 5% narrower; flush to right edge */
  width: 52.25%;
  height: 500px;
  background: #e8e8e8;
  overflow: hidden;
}

.lease-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .lease-band {
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 16px 0 40px;
    overflow: visible;
  }

  .lease-band > .container {
    padding-top: 8px;
    padding-bottom: 28px;
    order: 2;
  }

  .lease-band__content {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  .lease-band__media {
    position: relative;
    width: 100%;
    height: 500px;
    order: 1;
  }
}

/* ---------- Dual CTA ---------- */
.audience {
  padding-top: 72px;
  padding-bottom: 72px;
}

.dual-cta {
  text-align: center;
  margin-bottom: 44px;
}

.dual-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.dual-cta p {
  margin: 0 auto;
  max-width: 620px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dual-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.dual-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.dual-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.dual-card:hover .dual-card__image img {
  transform: scale(1.03);
}

.dual-card__body {
  background: #f3f3f3;
  padding: 28px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dual-card__body h3 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #111;
}

.dual-card__body p {
  margin: 0 0 22px;
  color: #444;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.dual-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.dual-card__link:hover {
  opacity: 1;
  gap: 12px;
}

@media (max-width: 768px) {
  .dual-grid {
    grid-template-columns: 1fr;
  }

  .dual-card__body {
    padding: 22px 20px 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ad-footer);
  padding: 64px 0 24px;
  margin-top: 40px;
  border-top: 1px solid var(--ad-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.4fr;
  column-gap: 32px;
  row-gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 18px;
}

.newsletter-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ad-muted);
}

.newsletter {
  display: flex;
  border-bottom: 1px solid var(--ad-black);
  max-width: 200px;
  margin-bottom: 0;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 8px 0;
  outline: none;
}

.newsletter button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px 4px;
  letter-spacing: 0.1em;
}

.socials {
  display: flex;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ad-muted);
  margin: 0 0 8px;
}

.footer-col a:hover {
  color: var(--ad-black);
}

.footer-col--contact a {
  white-space: nowrap;
}

.footer-contact-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ad-black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.footer-bottom {
  border-top: 1px solid var(--ad-border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--ad-muted);
  text-align: center;
}

/* ---------- Page chrome ---------- */
.page-hero {
  padding: 48px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--ad-border);
}

.page-hero--detail {
  padding: 28px 0 32px;
}

.page-hero--detail .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--ad-muted);
}

.site-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 8px 14px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #777;
}

.site-crumb a {
  color: #555;
  text-decoration: none;
  padding: 2px 4px;
  transition: color 0.2s ease;
}

.site-crumb a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-crumb__sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px;
  border-radius: 50%;
  background: #c8c8c8;
  flex-shrink: 0;
}

.site-crumb__current {
  max-width: min(280px, 52vw);
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111;
  font-weight: 600;
}

.breadcrumb {
  font-size: 12px;
  color: var(--ad-muted);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

/* ---------- Catalogue page (mockup) ---------- */
body.page-catalogue .site-header {
  border-bottom: none;
  box-shadow: none;
}

.cat-hero {
  position: relative;
  padding: 56px 0 36px;
  text-align: center;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.cat-hero::before,
.cat-hero::after {
  content: none !important;
  display: none !important;
}

.cat-hero__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ad-accent);
}

.cat-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ad-ink-wash);
}

.cat-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--ad-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}

.cat-page {
  padding-bottom: 72px;
}

.cat-search-bar {
  background: var(--ad-surface);
  border: 1px solid var(--ad-border);
  box-shadow: var(--ad-shadow);
  padding: 12px;
  margin-bottom: 22px !important;
}

.cat-search-bar .live-search input[type="search"],
.cat-search-bar input[type="search"] {
  border: 0 !important;
  background: transparent !important;
  height: 40px !important;
  box-shadow: none;
}

.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--ad-border);
  border-bottom: 1px solid var(--ad-border);
  margin-bottom: 22px;
  background: transparent;
}

.cat-toolbar__left,
.cat-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.cat-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ad-black);
  background: #fff;
  color: var(--ad-black);
  padding: 10px 14px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cat-all-filters:hover {
  background: var(--ad-black);
  color: #fff;
}

.cat-all-filters__count {
  font-weight: 600;
}

.cat-quick {
  position: relative;
}

.cat-quick__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ad-border);
  background: #fff;
  padding: 10px 14px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.cat-quick__btn:hover,
.cat-quick__btn[aria-expanded="true"] {
  border-color: #999;
}

.cat-quick__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: min(280px, 80vw);
  background: #fff;
  border: 1px solid var(--ad-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 14px;
}

.cat-quick__panel label:not(.cat-check) {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-muted);
  margin: 8px 0 6px;
}

.cat-quick__panel input[type="number"] {
  width: 100%;
  border: 1px solid var(--ad-border);
  padding: 8px 10px;
  margin-bottom: 8px;
}

.cat-quick__form .btn,
.cat-quick__panel .btn {
  margin-top: 8px;
  width: 100%;
}

.cat-count {
  font-size: 13px;
  color: var(--ad-muted);
  margin-left: 4px;
}

.cat-view {
  display: inline-flex;
  border: 1px solid var(--ad-border);
}

.cat-view__btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: #fff;
  color: #999;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-view__btn + .cat-view__btn {
  border-left: 1px solid var(--ad-border);
}

.cat-view__btn.is-active {
  color: var(--ad-black);
  background: #f5f5f5;
}

.cat-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.cat-sort label {
  color: var(--ad-muted);
  letter-spacing: 0.04em;
}

.cat-sort select {
  border: 1px solid var(--ad-border);
  background: #fff;
  padding: 9px 28px 9px 12px;
  font: inherit;
  font-size: 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%333' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.cat-chips__label {
  font-size: 12px;
  color: var(--ad-muted);
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ad-border);
  padding: 6px 10px;
  font-size: 12px;
  background: #f7f7f7;
}

.cat-chip span {
  font-size: 14px;
  line-height: 1;
}

.cat-chips__clear {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.cat-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.cat-grid[data-view="list"] .art-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  align-items: stretch;
}

.cat-grid[data-view="list"] .art-card__media {
  margin: 0;
}

.cat-grid[data-view="list"] .art-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-card {
  display: flex;
  flex-direction: column;
  background: var(--ad-surface);
  border: 1px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: ad-rise 0.55s ease both;
}

.cat-grid .art-card:nth-child(1) { animation-delay: 0.02s; }
.cat-grid .art-card:nth-child(2) { animation-delay: 0.06s; }
.cat-grid .art-card:nth-child(3) { animation-delay: 0.1s; }
.cat-grid .art-card:nth-child(4) { animation-delay: 0.14s; }
.cat-grid .art-card:nth-child(5) { animation-delay: 0.18s; }
.cat-grid .art-card:nth-child(6) { animation-delay: 0.22s; }

@keyframes ad-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-card {
    animation: none;
  }
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ad-shadow);
  border-color: var(--ad-border);
}

.art-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #e4e8ee;
  overflow: hidden;
}

.art-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(14, 17, 22, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.art-card:hover .art-card__media::after {
  opacity: 1;
}

.art-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.art-card:hover .art-card__media img {
  transform: scale(1.045);
}

.art-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: #888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
  line-height: 0;
}

.art-card__serial {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ad-ink-wash);
  padding: 7px 9px;
  line-height: 1;
}

.art-card__serial-inline {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ad-accent);
}

.art-card__wish svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
  flex-shrink: 0;
}

.art-card__wish .wish-fill {
  display: none;
}

.art-card__wish.is-active {
  color: #e11d48;
}

.art-card__wish.is-active .wish-outline {
  display: none;
}

.art-card__wish.is-active .wish-fill {
  display: block;
}

.art-card__body {
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%);
  padding: 18px 16px 20px;
  flex: 1;
}

.art-card__artist {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.art-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.25;
  color: var(--ad-ink-wash);
}

.art-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}

.art-card__meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--ad-muted);
  line-height: 1.5;
}

.art-card__meta span {
  margin: 0 4px;
  color: #c5cad1;
}

.art-card__price {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 16px;
  color: var(--ad-muted);
}

.cat-empty .btn {
  margin-top: 16px;
}

.cat-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.cat-pager__num,
.cat-pager__arrow {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 0;
  background: transparent;
}

.cat-pager__num.is-active {
  background: var(--ad-ink-wash);
  color: #fff;
}

.cat-pager__arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.cat-pager__ellipsis {
  color: var(--ad-muted);
  padding: 0 4px;
}

/* Filter drawer */
body.cat-drawer-open {
  overflow: hidden;
}

.cat-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 80;
}

.cat-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 999;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ad-border);
}

.cat-drawer.is-open {
  transform: translateX(0);
}

.cat-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--ad-border);
}

.cat-drawer__head h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cat-drawer__close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ad-muted);
  padding: 0 4px;
}

.cat-drawer__body {
  overflow: auto;
  padding: 8px 22px 28px;
  flex: 1;
}

.cat-drawer__foot {
  display: flex;
  gap: 10px;
  padding: 16px 0px 22px;
  border-top: 1px solid var(--ad-border);
  background: #fff;
}

.cat-drawer__foot .btn {
  flex: 1;
  text-align: center;
}

.btn--sm {
  padding: 8px 12px;
  font-size: 11px;
}

.btn--ghost {
  border: 1px solid var(--ad-border);
  background: #fff;
  color: var(--ad-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn--ghost:hover {
  border-color: var(--ad-black);
}

.cat-acc {
  border-bottom: 1px solid var(--ad-border);
  padding: 4px 0;
}

.cat-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-acc summary::-webkit-details-marker {
  display: none;
}

.cat-acc summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #333;
  border-bottom: 1.5px solid #333;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.cat-acc[open] summary::after {
  transform: rotate(-135deg);
}

.cat-acc__body {
  padding: 0 0 16px;
}

.cat-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  cursor: pointer;
}

.cat-check input {
  width: 16px;
  height: 16px;
  accent-color: #111;
  flex-shrink: 0;
}

.cat-check span {
  flex: 1;
  line-height: 1.35;
}

.cat-check em {
  font-style: normal;
  color: var(--ad-muted);
  font-size: 12px;
}

.cat-show-more {
  border: 0;
  background: none;
  color: var(--ad-black);
  font: inherit;
  font-size: 12px;
  padding: 8px 0 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cat-custom-label {
  margin: 14px 0 8px;
  font-size: 12px;
  color: var(--ad-muted);
}

.cat-custom-size {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cat-custom-size label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-muted);
  margin-bottom: 6px;
}

.cat-custom-size input {
  width: 100%;
  border: 1px solid var(--ad-border);
  padding: 10px 12px;
}

.cat-range__track {
  position: relative;
  height: 28px;
  margin: 8px 0 16px;
}

.cat-range__fill {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #111;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.cat-range__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #ddd;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.cat-range__input {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  height: 28px;
  z-index: 2;
}

.cat-range__input[data-range-max] {
  z-index: 3;
}

.cat-range__input::-webkit-slider-runnable-track {
  appearance: none;
  height: 2px;
  background: transparent;
  border: none;
}

.cat-range__input::-moz-range-track {
  height: 2px;
  background: transparent;
  border: none;
}

.cat-range__input::-moz-range-progress {
  background: transparent;
}

.cat-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 4;
}

.cat-range__input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: auto;
  cursor: pointer;
}

.cat-range__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cat-range__inputs label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-muted);
  margin-bottom: 6px;
}

.cat-range__field {
  display: flex;
  align-items: center;
  border: 1px solid var(--ad-border);
  padding: 0 10px;
}

.cat-range__field span {
  color: var(--ad-muted);
  font-size: 13px;
}

.cat-range__field input {
  border: 0;
  width: 100%;
  padding: 10px 8px;
  outline: none;
  font: inherit;
}

@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cat-toolbar {
    align-items: stretch;
  }

  .cat-toolbar__left,
  .cat-toolbar__right {
    width: 100%;
  }

  .cat-count {
    width: 100%;
    margin: 4px 0 0;
  }

  .cat-grid[data-view="list"] .art-card {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 520px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid[data-view="list"] .art-card {
    grid-template-columns: 1fr;
  }
}


/* ---------- Artwork detail (product page) ---------- */
.pd {
  padding-top: 20px;
  padding-bottom: 80px;
}

.pd-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-muted);
  margin-bottom: 28px;
}

.pd-crumb a:hover {
  color: var(--ad-black);
}

.pd-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px 56px;
  align-items: start;
  margin-bottom: 56px;
}

.pd-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid transparent;
  background: #f0f0f0;
  cursor: pointer;
  overflow: hidden;
}

.pd-thumb.is-active,
.pd-thumb:hover {
  border-color: var(--ad-black);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-stage {
  aspect-ratio: 1 / 1.05;
  background: #f0f0f0;
  overflow: hidden;
}

.pd-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-info__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pd-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.pd-serial {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #111;
}

.pd-title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pd-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pd-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ad-border);
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pd-icon-btn:hover {
  border-color: #999;
  color: var(--ad-black);
}

.pd-icon-btn.art-card__wish {
  position: static;
  border-radius: 0;
  box-shadow: none;
}

.pd-icon-btn.art-card__wish.is-active {
  color: #e11d48;
  border-color: #e11d48;
}

.pd-artist {
  margin: 14px 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.pd-artist a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.pd-artist a:hover {
  border-bottom-color: currentColor;
}

.pd-meta {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--ad-muted);
}

.pd-meta span {
  margin: 0 6px;
  color: #ccc;
}

.pd-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ad-border);
  margin: 8px 0 18px;
}

.pd-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.pd-price-row .currency-picker {
  z-index: 30;
}

.pd-specs {
  margin: 0;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--ad-border);
}

.pd-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pd-specs > div:last-child {
  border-bottom: 0;
}

.pd-specs dt {
  margin: 0;
  font-size: 13px;
  color: var(--ad-muted);
}

.pd-specs dd {
  margin: 0;
  font-size: 13px;
  color: var(--ad-text);
}

.pd-desc {
  padding: 22px 0 8px;
}

.pd-desc h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.pd-desc p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ad-muted);
}

.pd-lease {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  padding: 18px 20px;
  margin: 22px 0 20px;
}

.pd-lease__text strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pd-lease__price {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.pd-lease__price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ad-muted);
}

.pd-lease__note {
  margin: 0;
  font-size: 12px;
  color: var(--ad-muted);
}

.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

.pd-actions__buy {
  display: block;
  width: 100%;
  margin: 0;
}

.pd-actions .btn,
.pd-actions__primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 14px 20px;
  line-height: 1.2;
  box-sizing: border-box;
}

.pd-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 0 2px;
  color: #111;
}

.pd-enquire:hover {
  opacity: 1;
  color: #000;
}

.pd-trust {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ad-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pd-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--ad-muted);
  line-height: 1.35;
}

.pd-trust__icon {
  color: #444;
}

.pd-tabs {
  margin-bottom: 64px;
}

.pd-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  border-bottom: 1px solid var(--ad-border);
  margin-bottom: 24px;
}

.pd-tabs__nav button {
  border: 0;
  background: none;
  padding: 12px 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ad-muted);
  cursor: pointer;
  position: relative;
}

.pd-tabs__nav button.is-active {
  color: var(--ad-black);
}

.pd-tabs__nav button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ad-black);
}

.pd-tabs__panel {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ad-muted);
}

.pd-tabs__panel p {
  margin: 0 0 12px;
  max-width: 820px;
}

.pd-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
}

.pd-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-detail-grid span {
  font-size: 12px;
  color: var(--ad-muted);
}

.pd-detail-grid strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ad-text);
}

.pd-related {
  padding-top: 8px;
}

.pd-related .section-head {
  margin-bottom: 28px;
}

.pd-related .section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* legacy detail helpers kept for any leftover markup */
.detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 48px 0 72px;
}

.gallery-main {
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  overflow: hidden;
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-thumbs button {
  border: 1px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--ad-black);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__info h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.detail__artist {
  margin: 0 0 24px;
  color: var(--ad-muted);
  font-size: 14px;
}

.detail__price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail__lease {
  background: #f7f7f7;
  padding: 16px 18px;
  margin: 20px 0 28px;
  border-left: 2px solid var(--ad-black);
}

.detail__lease strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 0 0 28px;
  padding: 0;
}

.specs dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ad-muted);
  margin: 0;
}

.specs dd {
  margin: 2px 0 0;
  font-size: 14px;
}

.detail__desc {
  color: var(--ad-muted);
  margin-bottom: 28px;
}

.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1024px) {
  .pd-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pd-gallery {
    grid-template-columns: 1fr;
  }

  .pd-thumbs {
    flex-direction: row;
    order: 2;
  }

  .pd-thumb {
    width: 64px;
    height: 64px;
  }

  .pd-trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .pd-specs > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pd-lease {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-trust {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.field select,
.field input,
.field textarea {
  border: 1px solid var(--ad-border);
  padding: 10px 12px;
  min-width: 140px;
  background: #fff;
  outline: none;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  border-color: #999;
}

.form-wrap {
  max-width: 720px;
  margin: 40px auto 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.alert {
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--ad-border);
  background: #fafafa;
  font-size: 13px;
}

.alert--error {
  border-color: #c44;
  background: #fff5f5;
  color: #8a1f1f;
}

.alert--success {
  border-color: #2a7;
  background: #f3fff8;
}

.confirm-box {
  text-align: center;
  padding: 64px 20px 96px;
  max-width: 560px;
  margin: 0 auto;
}

.confirm-box h1 {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 24px;
}

.confirm-box p {
  color: var(--ad-muted);
}

.error-list {
  margin: 0;
  padding-left: 18px;
  color: #8a1f1f;
}

/* ---------- Static pages ---------- */
.prose {
  max-width: 720px;
  margin: 40px auto 80px;
  color: var(--ad-muted);
}

.prose h2 {
  color: var(--ad-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-col--contact a {
    white-space: normal;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .main-nav {
    gap: 0 14px;
  }

  .main-nav > .nav-link,
  .main-nav .nav-item__trigger {
    font-size: 11px;
  }

  .mega__inner {
    gap: 18px 22px;
    grid-template-columns: 150px minmax(0, 1fr) 160px;
    padding: 18px 0 20px;
  }

  .nav-item:not(:has(.mega__lists)) .mega__inner {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .mega__feature {
    gap: 10px 12px;
  }

  .mega__feature > .mega-card--lead .mega-card__media,
  .mega__side .mega-card__media,
  .mega__feature .mega-card__media,
  .mega-card__media {
    max-height: 110px;
  }

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

  .mega__feature--artists > .mega-card:nth-child(n + 4) {
    display: none;
  }

  .mega__feature--artists .mega-card__media,
  .mega-card--portrait .mega-card__media {
    max-height: 120px;
  }

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

  .mega__feature--stack > .mega-card:nth-child(n + 3) {
    display: none;
  }

  .mega--pubs {
    background: #111;
  }

  .mega-pubs {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0 18px;
  }

  .mega-pubs__folios {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .mega-folio__frame {
    max-height: 120px;
  }

  .mega-pubs__folios .mega-folio:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-shell {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas: "toggle logo utils";
    column-gap: 8px;
    row-gap: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 130;
  }

  .logo {
    width: auto;
    justify-self: center;
    padding: 0;
    border-bottom: 0;
  }

  .logo img {
    max-width: 140px;
    height: auto;
  }

  .header-utils {
    gap: 10px;
  }

  .currency-picker__trigger {
    font-size: 10px;
    padding: 6px 10px;
  }

  .currency-picker__menu {
    min-width: 140px;
  }

  .currency-picker--inline {
    width: 100%;
  }

  .pd-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    background: #fff;
    border-top: 0;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #ececec;
  }

  .main-nav__panel-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .main-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #111;
    cursor: pointer;
  }

  .main-nav > .nav-link,
  .main-nav .nav-item__trigger {
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    letter-spacing: 0.1em;
    justify-content: space-between;
  }

  .main-nav > .nav-link.active::after,
  .main-nav > .nav-link:hover::after,
  .main-nav .nav-item__trigger.active::after,
  .main-nav .nav-item__trigger:hover::after,
  .main-nav .nav-item.is-open > .nav-item__trigger::after {
    bottom: 14px;
    right: auto;
    width: 40px;
    max-width: 40px;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-item .nav-item__trigger {
    border-bottom: 0;
  }

  .nav-item__trigger {
    position: relative;
  }

  .nav-item__trigger::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #111;
    border-bottom: 1.5px solid #111;
    transform: rotate(45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    opacity: 0.7;
  }

  .nav-item.is-open > .nav-item__trigger::before {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .mega {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: 0;
    border-bottom: 0;
    background: #111;
    color: #f2f2f2;
    transition: none;
    max-height: 0;
    overflow: hidden;
  }

  .mega[hidden],
  .nav-item.is-open > .mega[hidden] {
    display: block !important;
  }

  .nav-item:not(.is-open) > .mega {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-item.is-open > .mega {
    max-height: 2200px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding-bottom: 8px;
  }

  .mega__inner,
  .nav-item:not(:has(.mega__lists)) .mega__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 8px 0 16px;
    width: 100%;
  }

  .mega__title {
    font-size: 24px;
  }

  .mega__blurb {
    max-width: none;
  }

  .mega__cta {
    margin-top: 0;
  }

  .mega__feature,
  .mega__feature--stack,
  .mega__feature--artists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mega__feature > .mega-card--lead {
    grid-column: auto;
    height: auto;
  }

  .mega__feature > .mega-card--lead .mega-card__media,
  .mega__side .mega-card__media,
  .mega__feature .mega-card__media,
  .mega-card__media {
    min-height: 0;
    max-height: 100px;
    aspect-ratio: 3 / 2;
    flex: none;
  }

  .mega__side {
    display: contents;
  }

  .mega__feature--artists > .mega-card:nth-child(n + 4),
  .mega__feature--stack > .mega-card:nth-child(n + 3) {
    display: flex;
  }

  .mega__lists {
    border-left: 0;
    padding: 4px 0 0;
    gap: 20px;
  }

  .mega--pubs {
    background: #111;
  }

  .mega-pubs {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 12px;
    gap: 16px;
  }

  .mega-pubs__intro {
    padding-top: 0;
  }

  .mega-pubs__heading {
    font-size: 28px;
  }

  .mega-pubs__lede {
    max-width: none;
  }

  .mega-pubs__cta {
    margin-top: 0;
  }

  .mega-pubs__folios {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mega-pubs__folios .mega-folio:nth-child(n + 4) {
    display: flex;
  }

  .mega-folio__frame {
    max-height: 130px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__body {
    order: 2;
  }

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

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

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 560px;
    height: 560px;
  }

  .hero__footer {
    padding-bottom: 28px;
  }

  .hero__footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero__pager {
    padding-bottom: 0;
    align-self: flex-end;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 520px;
    height: 520px;
  }

  .hero__actions {
    width: 100%;
    display: flex;
  }

  .hero__btn,
  .hero__actions .btn {
    flex: 1 1 0;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }

  .hero__dot.is-active {
    width: 38px;
    height: 38px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand,
  .footer-col--contact {
    grid-column: auto;
  }

  .newsletter {
    max-width: 100%;
  }

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

/* ---------- Artist profile (MutualArt-style info) ---------- */
.artist-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: start;
  padding: 40px 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.artist-profile__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.artist-profile__body {
  max-width: none;
  margin: 0;
}

.artist-profile__body h2 {
  margin-top: 0;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.artist-profile__cta {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .artist-profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Customer auth pages ---------- */
body.auth-lock {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.auth-lock main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  background: #111;
}

.auth-stage__visual {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 0;
  height: 100%;
}

.auth-stage__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.92) contrast(1.04);
}

.auth-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.72) 100%);
  pointer-events: none;
}

.auth-stage__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 28px;
  max-width: 32ch;
  color: #f4f1ea;
}

.auth-stage__kicker {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
}

.auth-stage__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
}

.auth-stage__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f5f1;
  padding: 20px 28px;
  min-height: 0;
  overflow-y: auto;
}

.auth-stage__panel-inner {
  width: min(100%, 360px);
  padding: 4px 0;
}

.auth-card__eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a847a;
}

.auth-card__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #141311;
}

.auth-card__lede {
  margin: 0 0 14px;
  color: #6f6a62;
  font-size: 13px;
  line-height: 1.4;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f6a62;
}

.auth-field em {
  font-style: normal;
  color: #9a948a;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
}

.auth-field input,
.auth-field textarea {
  border: 0;
  border-bottom: 1px solid #d8d2c6;
  border-radius: 0;
  padding: 6px 0 7px;
  background: transparent;
  outline: none;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #141311;
  transition: border-color 0.2s ease;
}

.auth-field input::placeholder,
.auth-field textarea::placeholder {
  color: #b0a99c;
}

.auth-field input:focus,
.auth-field textarea:focus {
  border-bottom-color: #141311;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: #6f6a62;
  cursor: pointer;
}

.auth-check input {
  accent-color: #141311;
}

.auth-submit {
  margin-top: 6px;
  width: 100%;
  border: 0;
  background: #141311;
  color: #f7f5f1;
  padding: 11px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.auth-submit:hover {
  background: #000;
}

.auth-card__footer {
  margin: 14px 0 0;
  font-size: 12px;
  color: #6f6a62;
}

.auth-card__footer a {
  color: #141311;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-card__footer a:hover {
  opacity: 1;
}

body.auth-lock .account-flash {
  margin-bottom: 10px;
  padding: 8px 10px;
  font-size: 12px;
}

@media (max-width: 900px) {
  body.auth-lock {
    overflow: auto;
    height: auto;
    max-height: none;
  }

  body.auth-lock main {
    flex: none;
  }

  .auth-stage {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .auth-stage__visual {
    min-height: 160px;
    max-height: 180px;
    height: 180px;
  }

  .auth-stage__caption {
    padding: 14px 18px;
  }

  .auth-stage__quote {
    font-size: 20px;
  }

  .auth-stage__panel {
    padding: 20px 18px 28px;
    overflow: visible;
  }

  .auth-form__pair {
    grid-template-columns: 1fr;
  }
}

.header-account {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  white-space: nowrap;
}

.header-account:hover {
  opacity: 1;
  color: #000;
}

.account {
  padding: 0 0 64px;
  background:
    linear-gradient(180deg, #f3f1ec 0%, #f7f5f1 28%, #fff 100%);
}

.account__shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(78vh, 820px);
  padding-top: 28px;
}

.account-rail {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #141311;
  color: #f4f0e8;
  padding: 28px 22px 24px;
  min-height: 100%;
}

.account-rail__kicker {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a89878;
}

.account-rail__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: #f7f3eb;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.account-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 232, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-nav a:hover,
.account-nav a.is-active {
  opacity: 1;
  color: #f7f3eb;
}

.account-nav a.is-active {
  color: #f7f3eb;
}

.account-nav a.is-active .account-nav__idx {
  color: #c4a574;
}

.account-nav__idx {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.4);
}

.account-nav__ghost {
  margin-top: 8px;
  border-bottom: 0 !important;
}

.account-rail__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account__logout {
  border: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.65);
  cursor: pointer;
  padding: 0;
}

.account__logout:hover {
  color: #f7f3eb;
}

.account__canvas {
  background: #fff;
  border: 1px solid #e4dfd6;
  border-left: 0;
  padding: 28px 32px 36px;
  min-width: 0;
}

.account__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ece7df;
}

.account__eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a847a;
}

.account__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #141311;
}

.account-welcome {
  margin-bottom: 22px;
}

.account-welcome__hello {
  margin: 0 0 6px;
  font-size: 18px;
  color: #141311;
}

.account-welcome__hello em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2em;
  font-weight: 500;
}

.account-welcome__sub {
  margin: 0 !important;
  color: #6f6a62 !important;
  font-size: 14px !important;
  max-width: 46ch;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.account-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  background: #141311;
  color: #f7f3eb;
  min-height: 132px;
  position: relative;
  overflow: hidden;
}

.account-stat::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(196, 165, 116, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.account-stat--mid {
  background: #1c1a17;
}

.account-stat--soft {
  background: #f3f1ec;
  color: #141311;
  border: 1px solid #ddd6c8;
}

.account-stat--soft::after {
  border-color: rgba(20, 19, 17, 0.12);
}

.account-stat:hover {
  opacity: 1;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.account-stat__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.65;
}

.account-stat__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 0.95;
  color: inherit;
}

.account-stat__num--text {
  font-size: 34px;
}

.account-stat__cta {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.account-panel {
  border: 1px solid #e4dfd6;
  padding: 22px 22px 10px;
  background: #faf8f4;
}

.account-panel--clean {
  background: transparent;
  border: 0;
  padding: 0;
}

.account-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.account-panel__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a847a;
}

.account-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #141311;
}

.account-panel__link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #141311;
}

/* Clean purchase / wishlist item blocks */
.acct-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acct-item {
  background: #fff;
  border: 1px solid #e8e3d9;
  padding: 16px 18px 18px;
}

.acct-item__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #efebe3;
}

.acct-item__code {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #141311;
  font-weight: 600;
}

.acct-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 12px;
  color: #7a746a;
}

.acct-item__meta i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c4bbae;
}

.acct-item__works {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acct-work {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.acct-work__media {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #ebe6dc;
}

.acct-work__media.is-static {
  pointer-events: none;
}

.acct-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.acct-work__media:hover img {
  transform: scale(1.05);
}

.acct-work__title {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.3;
  color: #141311;
}

.acct-work__title a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acct-work__by {
  margin: 0 0 4px;
  font-size: 12px;
  color: #8a847a;
}

.acct-work__price {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #141311;
}

.acct-item__note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #e4dfd6;
  font-size: 12px;
  color: #7a746a;
}

/* Wishlist folio grid */
.acct-folio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.acct-folio__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e3d9;
  min-width: 0;
}

.acct-folio__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebe6dc;
}

.acct-folio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.acct-folio__card:hover .acct-folio__media img {
  transform: scale(1.04);
}

.acct-folio__idx {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #141311;
  background: #fff;
  padding: 4px 7px;
  line-height: 1;
}

.acct-folio__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  min-width: 0;
}

.acct-folio__artist {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a847a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acct-folio__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.acct-folio__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acct-folio__title a:hover {
  opacity: 1;
}

.acct-folio__price {
  margin: 2px 0 8px;
  font-size: 13px;
  color: #141311;
}

.acct-folio__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.acct-btn {
  border: 1px solid #d8d2c6;
  background: #fff;
  color: #141311;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1;
}

.acct-btn:hover {
  border-color: #141311;
}

.acct-btn--solid {
  background: #141311;
  border-color: #141311;
  color: #f7f3eb;
}

.acct-btn--solid:hover {
  background: #000;
}

.account-badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 9px;
  border: 1px solid #ddd;
  color: #555;
  white-space: nowrap;
  background: #fff;
  flex-shrink: 0;
}

.account-badge--pending {
  border-color: #c4a574;
  color: #8a6a2f;
  background: #fbf6eb;
}

.account-badge--confirmed,
.account-badge--completed,
.account-badge--paid {
  border-color: #2f6b3a;
  color: #2f6b3a;
  background: #f1f7f2;
}

.account-badge--cancelled,
.account-badge--failed {
  border-color: #a33;
  color: #a33;
  background: #fbf0f0;
}

.account-empty {
  padding: 28px 18px;
  text-align: center;
  color: #6f6a62;
  background: #fff;
  border: 1px dashed #ddd6c8;
}

.account-empty p {
  margin: 0 0 14px;
}

.account-empty__btn {
  display: inline-flex;
  width: auto;
  padding-inline: 22px;
}

.account-pager {
  margin-top: 18px;
}

.account-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.auth-field--full {
  grid-column: 1 / -1;
}

.account-form__subhead {
  margin: 8px 0 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-form__hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: #777;
}

.account-flash {
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
}

.account-flash ul {
  margin: 0;
  padding-left: 18px;
}

.account-flash--ok {
  background: #eef6ef;
  color: #2f6b3a;
}

.account-flash--err {
  background: #f8ecec;
  color: #8a1f1f;
}

@media (max-width: 1024px) {
  .acct-folio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .account__shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 16px;
  }

  .account-rail {
    min-height: 0;
    padding: 20px 18px;
    gap: 18px;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .account-nav a {
    border-bottom: 0;
    padding: 6px 0;
    grid-template-columns: auto auto;
  }

  .account__canvas {
    border-left: 1px solid #e4dfd6;
    padding: 22px 18px 28px;
  }

  .account-stats {
    grid-template-columns: 1fr;
  }

  .acct-folio,
  .account-form__grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Checkout (PayU) ---------- */
.co {
  padding: 48px 0 96px;
  background: #f7f3eb;
}

.co__narrow {
  max-width: 720px;
}

.co__back {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6a62;
  text-decoration: none;
}

.co__back:hover {
  color: #141311;
}

.co__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  margin: 14px 0 28px;
}

.co__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .co__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.co-summary,
.co-form,
.co-result {
  background: #fff;
  border: 1px solid #e6dfd2;
}

.co-summary__img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f1ece2;
}

.co-summary__body {
  padding: 22px 24px 26px;
}

.co-summary__title {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0;
}

.co-summary__by,
.co-summary__meta {
  margin: 4px 0 0;
  color: #6f6a62;
  font-size: 13px;
}

.co-summary__lines {
  margin: 20px 0 0;
  border-top: 1px solid #ece6da;
}

.co-summary__lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #ece6da;
  font-size: 14px;
}

.co-summary__lines dt {
  color: #6f6a62;
}

.co-summary__lines dd {
  margin: 0;
}

.co-summary__total dd {
  font-weight: 600;
  font-size: 16px;
}

.co-summary__note,
.co-form__fine,
.co-result__fine {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8a847a;
}

.co-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  align-self: start;
}

.co-form__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6a62;
}

.co-form__terms {
  align-items: flex-start;
  line-height: 1.5;
}

.co-form__terms input {
  margin-top: 3px;
}

.co-form__submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.co-form__fine {
  text-align: center;
  margin-top: 0;
}

.co__unavailable {
  max-width: 560px;
}

.co-result {
  padding: 40px 24px;
  text-align: center;
}

.co-result__ref {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6a62;
}

.co-result__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 40px);
  margin: 14px 0 8px;
}

.co-result--paid .co-result__title {
  color: #2f6b3a;
}

.co-result--failed .co-result__title,
.co-result--cancelled .co-result__title {
  color: #8a1f1f;
}

.co-result__lede {
  margin: 0 auto 20px;
  max-width: 480px;
  color: #4d4840;
  line-height: 1.6;
}

.co-result__items {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
}

.co-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.co-result__actions form {
  margin: 0;
}

/* ---------- Header wishlist & cart ---------- */
.header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #1a1a1a;
  text-decoration: none;
}
.header-icon:hover { opacity: 0.7; }
.header-icon .wish-fill { display: none; }
.header-cart__count {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ad-black);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
}
.header-cart__count[hidden] { display: none; }

/* ---------- Cart drawer ---------- */
html.cart-locked { overflow: hidden; }
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(14, 17, 22, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart-overlay.is-open { opacity: 1; }
.cart-overlay[hidden] { display: none; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1201;
  width: min(480px, 100vw);
  background: var(--ad-surface);
  border-radius: 24px 0 0 24px;
  box-shadow: -20px 0 50px rgba(14, 17, 22, 0.12);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0); visibility: visible; }
.cart-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--ad-border);
}
.cart-drawer__tabs { display: flex; gap: 28px; align-items: baseline; }
.cart-drawer__tab {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #b6bcc4;
  cursor: pointer;
}
.cart-drawer__tab.is-active { color: var(--ad-text); }
.cart-drawer__tab sup { font-size: 13px; margin-left: 2px; }
.cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--ad-border);
  border-radius: 50%;
  background: #fff;
  color: var(--ad-text);
  cursor: pointer;
}
.cart-drawer__close:hover { border-color: var(--ad-text); }
.cart-drawer__pane { flex: 1; overflow-y: auto; padding: 8px 32px 24px; }
.cart-drawer__pane[hidden] { display: none; }
.cart-drawer__error {
  margin: 12px 32px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ad-accent-soft);
  color: var(--ad-accent);
  font-size: 13px;
}

.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 40px 0; text-align: center; }
.cart-empty__title { margin: 0 0 18px; font-family: var(--font-body); font-size: 28px; font-weight: 300; line-height: 1.2; color: var(--ad-text); }
.cart-empty__lead { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--ad-muted); }
.cart-empty__links { display: grid; gap: 10px; width: min(300px, 100%); margin: 0; padding: 0; list-style: none; }
.cart-empty__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--ad-bg);
  color: var(--ad-text);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.cart-empty__links a:hover { background: var(--ad-footer); }

.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ad-border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item.is-unavailable .cart-item__img { opacity: 0.45; }
.cart-item__img { display: block; width: 96px; height: 96px; overflow: hidden; border-radius: 6px; background: var(--ad-bg); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { min-width: 0; }
.cart-item__title { display: block; margin-bottom: 4px; color: var(--ad-text); font-size: 16px; font-weight: 500; text-decoration: none; }
.cart-item__title:hover { text-decoration: underline; }
.cart-item__meta { margin: 0 0 2px; color: var(--ad-muted); font-size: 13px; }
.cart-item__price { margin: 8px 0 0; color: var(--ad-text); font-size: 15px; font-weight: 600; }
.cart-item__flag { margin: 8px 0 0; color: var(--ad-accent); font-size: 13px; font-weight: 500; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  border-radius: 8px;
  background: var(--ad-bg);
  font-size: 15px;
  cursor: help;
}
.cart-item__remove, .cart-item__add {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ad-text);
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__add { padding: 8px 12px; border: 1px solid var(--ad-text); border-radius: 4px; text-decoration: none; white-space: nowrap; }
.cart-item__add:hover { background: var(--ad-text); color: #fff; }
.cart-item__incart { font-size: 12px; color: var(--ad-muted); white-space: nowrap; }

.cart-drawer__foot { padding: 0 32px 28px; border-top: 1px solid var(--ad-border); background: #fafbfc; border-bottom-left-radius: 24px; }
.cart-drawer__foot[hidden] { display: none; }
.cart-note { border-bottom: 1px solid var(--ad-border); }
.cart-note summary { display: flex; align-items: center; gap: 10px; padding: 18px 0; font-size: 14px; cursor: pointer; list-style: none; }
.cart-note summary::-webkit-details-marker { display: none; }
.cart-note textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ad-border);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.cart-note textarea:focus { outline: none; border-color: var(--ad-text); }
.cart-note__saved { min-height: 18px; margin: 6px 0 12px; font-size: 12px; color: var(--ad-muted); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 0; }
.cart-drawer__fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ad-muted); }
.cart-drawer__sub { display: flex; flex-direction: column; align-items: flex-end; margin: 0; text-align: right; }
.cart-drawer__sub span { font-size: 14px; color: var(--ad-muted); }
.cart-drawer__sub strong { font-size: 22px; font-weight: 600; color: var(--ad-text); }
.cart-drawer__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  background: var(--ad-black);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cart-drawer__checkout:hover { opacity: 0.88; color: #fff; }
.cart-drawer__checkout.is-disabled { opacity: 0.35; cursor: not-allowed; }
.cart-drawer .cart-drawer__foot .cart-drawer__error { margin: 0 0 12px; }

/* Artwork page wishlist toggle */
.pd-wish { margin: 0; }
.pd-wish__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ad-text);
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.pd-wish__btn .wish-fill { display: none; }
.pd-wish__btn.is-active { color: var(--ad-accent); }
.pd-wish__btn.is-active .wish-fill { display: inline; }

/* Cart checkout list */
.co-cart-list { margin: 0; padding: 0; list-style: none; }
.co-cart-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ad-border); }
.co-cart-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.co-cart-list .t { font-weight: 500; font-size: 14px; }
.co-cart-list .m { font-size: 12px; color: var(--ad-muted); }
.co-cart-list .p { font-weight: 600; font-size: 14px; white-space: nowrap; }

@media (max-width: 560px) {
  .cart-drawer { border-radius: 0; }
  .cart-drawer__foot { border-bottom-left-radius: 0; }
  .cart-drawer__head { padding: 20px 16px 16px; }
  .cart-drawer__tabs { gap: 18px; }
  .cart-drawer__tab { font-size: 21px; }
  .cart-drawer__pane { padding: 4px 16px 16px; }
  .cart-drawer__foot { padding: 0 16px 20px; }
  .cart-item { grid-template-columns: 72px 1fr auto; gap: 12px; }
  .cart-item__img { width: 72px; height: 72px; }
}
