/* =====================================================================
   KATE KONOVKA — Art Gallery
   Design tokens compiled from Art_Gallery_Design_System.pdf
   Inspirations: theartling.com, kunsthaus-artes.de
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Colour — primary */
  --color-background:     #F8F6F0;   /* warm cream */
  --color-background-alt: #F0ECE1;   /* deeper cream */
  --color-surface:        #FFFFFF;

  /* Colour — text */
  --color-text-primary:   #1E1E1E;
  --color-text-secondary: #625D4C;
  --color-text-muted:     #959595;

  /* Colour — borders */
  --color-border:      #E6E3D8;
  --color-border-dark: #DEDEDE;

  /* Colour — functional */
  --color-accent:       #2C2C2C;
  --color-accent-hover: #000000;
  --color-price:        #423E31;
  --color-tag:          #092933;
  --color-error:        #DC3A0F;
  --color-success:      #2FB138;
  --color-gold:         #B8965A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   24px;
  --text-xl:   32px;
  --text-2xl:  48px;
  --text-3xl:  64px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 56px;
  --space-9: 80px;
  --space-10: 120px;

  /* Containers */
  --container-max:    1440px;
  --container-wide:   1280px;
  --container-normal: 1080px;
  --container-narrow: 720px;
  --page-padding-x:   clamp(20px, 4vw, 80px);

  /* Radii */
  --radius-none: 0px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-pill: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-modal: 0 24px 64px rgba(0,0,0,0.20);
  --shadow-nav:   0 2px 12px rgba(0,0,0,0.08);

  /* Layout */
  --nav-height-desktop: 72px;
  --nav-height-mobile:  56px;
  --promo-height:       40px;

  /* Motion */
  --ease-out:      cubic-bezier(.2,.7,.2,1);
  --ease-in-out:   cubic-bezier(.6,.05,.2,1);
  --dur-1:         180ms;
  --dur-2:         260ms;
  --dur-3:         420ms;
  --dur-4:         700ms;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--dur-1) ease; }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--color-text-primary); color: var(--color-background); }

/* Focus rings — visible, on-brand */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  background: var(--color-accent); color: #fff;
  padding: 12px 18px; z-index: 9999;
  letter-spacing: .08em; text-transform: uppercase; font-size: var(--text-xs);
}

/* ---------- 3. TYPOGRAPHY HELPERS ---------- */
.serif-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, var(--text-2xl));
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin: 0;
}
.serif-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
}
.serif-h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  line-height: 1.25;
  margin: 0;
}
.serif-h1 em, .serif-h2 em { font-style: italic; color: var(--color-text-secondary); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow--gold { color: var(--color-gold); }
.eyebrow--gold::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: currentColor;
}
.eyebrow--light { color: rgba(255,255,255,.85); }

.link-arrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-text-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap var(--dur-1) ease, color var(--dur-1) ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow:hover { gap: 10px; color: var(--color-accent-hover); }

/* ---------- 4. BUTTONS ---------- */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: background var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease, transform var(--dur-1) ease;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--color-accent-hover); color: #fff; }
.btn-primary--light { background: #fff; color: var(--color-text-primary); }
.btn-primary--light:hover { background: var(--color-text-primary); color: #fff; }
.btn-primary--full { width: 100%; }
.btn-primary--sm { height: 44px; padding: 0 22px; font-size: var(--text-xs); }

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-text-primary);
  padding: 0 8px;
}
.btn-ghost:hover { color: var(--color-accent-hover); }
.btn-ghost--light { color: #fff; border-color: rgba(255,255,255,.4); padding: 0 24px; }
.btn-ghost--light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost--full { width: 100%; height: 48px; }

.btn-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-background-alt);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  transition: all var(--dur-1) ease;
}
.btn-tag:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ---------- 5. PROMO BAR ---------- */
.promo-bar {
  position: relative;
  height: var(--promo-height);
  background: var(--color-text-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--page-padding-x);
}
.promo-bar.is-hidden { display: none; }
.promo-bar__text {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.promo-bar__text strong { font-weight: 600; }
.promo-bar__icon { color: var(--color-gold); margin-right: 8px; }
.promo-bar__divider { margin: 0 12px; opacity: .5; }
.promo-bar__link { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; }
.promo-bar__link:hover { color: var(--color-gold); border-color: var(--color-gold); }
.promo-bar__close {
  position: absolute;
  right: var(--page-padding-x);
  top: 50%;
  transform: translateY(-50%);
  background: transparent; border: 0; color: #fff; opacity: .65;
  padding: 6px;
  transition: opacity var(--dur-1);
}
.promo-bar__close:hover { opacity: 1; }

@media (max-width: 640px) {
  .promo-bar__divider, .promo-bar__link { display: none; }
}

/* ---------- 6. NAVIGATION ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--dur-1) ease;
}
.site-nav.is-scrolled { box-shadow: var(--shadow-nav); }

.site-nav__inner {
  height: var(--nav-height-desktop);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
}

/* Brand */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}
.brand__line { display: block; }
.brand__line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  margin-top: 2px;
  font-size: 13px;
}
.brand--footer .brand__line { font-size: 22px; letter-spacing: .14em; }
.brand--footer .brand__line--accent { font-size: 16px; }

/* Primary nav */
.primary-nav { justify-self: start; }
.primary-nav__list {
  display: flex;
  gap: var(--space-7);
}
.primary-nav__item > a {
  display: inline-flex;
  align-items: center;
  height: var(--nav-height-desktop);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  position: relative;
}
.primary-nav__item > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-2) var(--ease-out);
}
.primary-nav__item > a:hover::after { transform: scaleX(1); }

/* Dropdown */
.primary-nav__item.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 720px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  box-shadow: var(--shadow-hover);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  z-index: 99;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}
.dropdown__col a {
  display: block;
  padding: 8px 0;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}
.dropdown__col a:hover { color: var(--color-accent-hover); padding-left: 4px; }
.dropdown__feature {
  background: var(--color-background-alt);
  padding: var(--space-3);
}
.dropdown__feature img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  margin-bottom: var(--space-3);
}
.dropdown__feature-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  margin: 4px 0 12px;
}

/* Utility */
.nav-utility {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  background: transparent; border: 0;
  color: var(--color-text-primary);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--dur-1) ease;
}
.nav-icon-btn:hover { background: var(--color-background-alt); }
.nav-badge {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
  transform: scale(0);
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-icon-btn--has-badge.has-items .nav-badge { transform: scale(1); }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--color-text-primary);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) ease;
}

/* Search panel */
.search-panel {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-6) var(--page-padding-x);
}
.search-panel__inner {
  max-width: var(--container-normal);
  margin: 0 auto;
}
.search-form {
  display: flex;
  gap: var(--space-3);
  border-bottom: 1.5px solid var(--color-text-primary);
  padding-bottom: 12px;
  margin-bottom: var(--space-4);
}
.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
}
.search-form input:focus { outline: none; }
.search-panel__suggestions {
  display: flex; flex-wrap: wrap;
  gap: var(--space-2); align-items: center;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0 30% 0 0;
  background: var(--color-background);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--dur-3) var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__inner {
  padding: var(--space-7);
  height: 100%;
  display: flex; flex-direction: column;
}
.mobile-menu__close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: 0; padding: 8px;
}
.mobile-menu nav {
  margin-top: var(--space-9);
  display: flex; flex-direction: column;
  gap: var(--space-5);
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-text-primary);
}
.mobile-menu__sub {
  margin-top: auto;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.mobile-menu__sub a {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .site-nav__inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; padding-left: var(--space-3); }
}
@media (max-width: 768px) {
  .site-nav__inner { height: var(--nav-height-mobile); }
  .nav-icon-btn { width: 36px; height: 36px; }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 600px;
  max-height: 880px;
  width: 100%;
  overflow: hidden;
  background: var(--color-text-primary);
}
.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%);
}

.hero__content {
  position: absolute;
  bottom: clamp(48px, 8vh, 96px);
  left: var(--page-padding-x);
  right: var(--page-padding-x);
  max-width: 720px;
  color: #fff;
  z-index: 2;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, var(--text-3xl));
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 var(--space-5);
}
.hero__headline em {
  font-style: italic;
  color: rgba(255,255,255,.78);
}
.hero__lead {
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin: 0 0 var(--space-7);
}
.hero__actions {
  display: flex; flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__caption {
  position: absolute;
  bottom: clamp(48px, 8vh, 96px);
  right: var(--page-padding-x);
  display: flex; align-items: center; gap: var(--space-3);
  color: rgba(255,255,255,.7);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  z-index: 2;
}
.hero__caption-line {
  display: block; width: 48px; height: 1px;
  background: rgba(255,255,255,.5);
}
.hero__caption p { margin: 0; }
.hero__caption em { font-style: italic; text-transform: none; letter-spacing: 0; }

.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
  z-index: 2;
}
.hero__scroll span {
  display: block; width: 100%; height: 30%;
  background: #fff;
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}

@media (max-width: 768px) {
  .hero { height: 78vh; min-height: 520px; }
  .hero__caption { display: none; }
  .hero__lead { font-size: var(--text-base); }
}

/* ---------- 8. SECTIONS ---------- */
.section {
  padding: var(--space-10) var(--page-padding-x);
  max-width: var(--container-max);
  margin: 0 auto;
}
.section--padded { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section--alt {
  background: var(--color-background-alt);
  max-width: none;
  margin: 0;
}
.section--alt > * { max-width: var(--container-max); margin-left: auto; margin-right: auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: var(--space-7);
  margin-bottom: var(--space-9);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-4);
}
.section-head__meta p {
  margin: 0;
  max-width: 460px;
  color: var(--color-text-secondary);
}
.section-head__sub {
  max-width: 560px;
  color: var(--color-text-secondary);
  margin: 12px 0 0;
}

@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-5); margin-bottom: var(--space-7); }
  .section-head__meta { text-align: left; align-items: flex-start; }
}

/* ---------- 9. EDITORIAL INTRO (split) ---------- */
.intro {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: clamp(520px, 70vh, 760px);
  background: var(--color-background-alt);
}
.intro__image { overflow: hidden; }
.intro__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.intro__panel {
  padding: clamp(40px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}
.intro__lead {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: var(--space-5) 0 var(--space-4);
}
.intro__body {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-7);
}

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro__image { aspect-ratio: 4/3; height: auto; }
}

/* ---------- 10. ART CARD GRID ---------- */
.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 24px;
}
@media (max-width: 1200px) { .art-grid { gap: 48px 20px; } }
@media (max-width: 1024px) { .art-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 18px; } }
@media (max-width: 768px)  { .art-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; } }
@media (max-width: 480px)  { .art-grid { grid-template-columns: 1fr; gap: 32px; } }

.art-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.art-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-background-alt);
  aspect-ratio: 4/5;
  margin-bottom: 18px;
}
.art-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
  display: block;
}
.art-card:hover .art-card__image-wrap img { transform: scale(1.04); }

.art-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-tag);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}
.art-card__badge--gold { background: var(--color-gold); color: #fff; }
.art-card__badge--sold { background: var(--color-text-muted); }

.art-card__wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: 0;
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform var(--dur-1) ease, background var(--dur-1) ease, color var(--dur-1) ease;
}
.art-card__wishlist:hover { transform: scale(1.08); background: #fff; }
.art-card__wishlist.is-active {
  background: var(--color-accent);
  color: #fff;
}
.art-card__wishlist.is-active svg { fill: currentColor; }

.art-card__add-btn {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform var(--dur-2) var(--ease-out), background var(--dur-1) ease;
  z-index: 2;
}
.art-card__add-btn:hover { background: var(--color-accent-hover); }
.art-card:hover .art-card__add-btn { transform: translateY(0); }
.art-card__add-btn.is-added { background: var(--color-success); transform: translateY(0); }

.art-card__info {
  display: flex;
  flex-direction: column;
}
.art-card__artist {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 6px;
}
.art-card__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}
.art-card__title em { font-style: italic; }
.art-card__medium {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.art-card__price {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-price);
  margin: 0;
  letter-spacing: 0.02em;
}
.art-card__price del {
  margin-right: 8px;
  color: var(--color-text-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  /* Always show Add to Cart on touch devices */
  .art-card__add-btn { transform: translateY(0); height: 44px; }
}

/* ---------- 11. COLLECTIONS GRID ---------- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.collection-tile {
  display: block;
  background: var(--color-surface);
  transition: transform var(--dur-2) var(--ease-out);
}
.collection-tile:hover { transform: translateY(-4px); }
.collection-tile__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-background-alt);
}
.collection-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.collection-tile:hover .collection-tile__media img { transform: scale(1.05); }
.collection-tile__body {
  padding: var(--space-6) var(--space-5) var(--space-5);
}
.collection-tile__body h3 { margin: 6px 0 var(--space-3); }
.collection-tile__body p { margin: 0 0 var(--space-4); color: var(--color-text-secondary); }

@media (max-width: 900px) {
  .collections-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* ---------- 12. QUOTE SECTION ---------- */
.quote-section {
  padding: clamp(64px, 9vw, 120px) var(--page-padding-x);
  background: var(--color-text-primary);
  color: var(--color-background);
  text-align: center;
}
.quote-section__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.quote-section .eyebrow--gold { color: var(--color-gold); margin-bottom: var(--space-6); }
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  margin: 0 0 var(--space-6);
  color: var(--color-background);
  letter-spacing: -0.005em;
}
.quote::before, .quote::after { display: none; }
.quote__attr {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248,246,240,.6);
  margin: 0 0 var(--space-7);
}
.quote-section .btn-outline {
  border-color: rgba(248,246,240,.4);
  color: var(--color-background);
}
.quote-section .btn-outline:hover {
  background: var(--color-background);
  color: var(--color-text-primary);
  border-color: var(--color-background);
}

/* ---------- 13. TRUST ---------- */
.trust {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-9) var(--page-padding-x);
  background: var(--color-background);
}
.trust__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-7);
}
.trust__col {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.trust__col svg { color: var(--color-text-primary); margin-bottom: var(--space-2); }
.trust__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  margin: 0;
}
.trust__col p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.55;
}

@media (max-width: 1024px) { .trust__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .trust__inner { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---------- 14. PRESS STRIP ---------- */
.press {
  padding: var(--space-9) var(--page-padding-x);
  text-align: center;
}
.press__lead {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}
.press__list {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.press__list li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  opacity: .7;
  transition: opacity var(--dur-1) ease;
}
.press__list li:hover { opacity: 1; }

/* ---------- 15. NEWSLETTER ---------- */
.newsletter {
  background: var(--color-background-alt);
  padding: clamp(64px, 9vw, 120px) var(--page-padding-x);
}
.newsletter__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.newsletter__copy p { color: var(--color-text-secondary); max-width: 460px; }
.newsletter__copy h2 { margin-bottom: var(--space-4); }

.newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: stretch;
}
.newsletter__form input {
  height: 52px;
  padding: 0 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-none);
  font-size: var(--text-base);
  transition: border-color var(--dur-1) ease;
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--color-accent);
}
.newsletter__note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.newsletter__note a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter__success {
  grid-column: 1 / -1;
  color: var(--color-success);
  font-size: var(--text-sm);
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__form { grid-template-columns: 1fr; }
}

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: var(--color-text-primary);
  color: rgba(248,246,240,.78);
  padding: var(--space-10) var(--page-padding-x) var(--space-6);
  font-size: var(--text-sm);
}
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-7);
  padding-bottom: var(--space-9);
}
.site-footer__brand p { margin: 12px 0; line-height: 1.7; }
.site-footer__brand a { color: rgba(248,246,240,.85); border-bottom: 1px solid rgba(248,246,240,.2); }
.site-footer__brand a:hover { color: #fff; border-color: #fff; }
.site-footer .brand--footer .brand__line { color: var(--color-background); }
.site-footer .brand--footer .brand__line--accent { color: var(--color-gold); }

.site-footer__col {
  display: flex; flex-direction: column;
  gap: var(--space-2);
}
.site-footer__heading {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 var(--space-3);
  font-weight: 500;
}
.site-footer__col a {
  color: rgba(248,246,240,.7);
  transition: color var(--dur-1) ease, padding-left var(--dur-1) ease;
  padding: 4px 0;
}
.site-footer__col a:hover { color: #fff; padding-left: 4px; }

.site-footer__base {
  border-top: 1px solid rgba(248,246,240,.15);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: rgba(248,246,240,.55);
}
.site-footer__base ul {
  display: flex; gap: var(--space-5);
  flex-wrap: wrap;
}
.site-footer__base ul a { color: inherit; }
.site-footer__base ul a:hover { color: #fff; }
.site-footer__lang { margin: 0; }

@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- 17. CART DRAWER ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }

.drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(30,30,30,.5);
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}
.drawer.is-open .drawer__overlay { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--color-background);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease-out);
  box-shadow: var(--shadow-modal);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.drawer__head .eyebrow { margin: 0; }
.drawer__close {
  background: transparent; border: 0; padding: 8px;
  color: var(--color-text-primary);
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}
.drawer__empty {
  text-align: center;
  padding: var(--space-9) 0;
  display: flex; flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}
.drawer__empty p { margin: 0; color: var(--color-text-secondary); }
.drawer__empty .serif-h3 { color: var(--color-text-primary); }

.cart-list {
  display: flex; flex-direction: column;
  gap: var(--space-5);
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-4);
  align-items: start;
}
.cart-item img {
  width: 80px; aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--color-background-alt);
}
.cart-item__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  margin: 0 0 4px;
}
.cart-item__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.cart-item__price {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-price);
  font-weight: 500;
  margin: 0;
}
.cart-item__remove {
  background: transparent; border: 0;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 0;
}
.cart-item__remove:hover { color: var(--color-error); }

.drawer__foot {
  border-top: 1px solid var(--color-border);
  padding: var(--space-5);
  display: flex; flex-direction: column;
  gap: var(--space-3);
  background: var(--color-background);
}
.drawer__row {
  display: flex; justify-content: space-between;
  font-size: var(--text-md);
  font-family: var(--font-display);
}
.drawer__row strong { font-family: var(--font-mono); font-weight: 500; }
.drawer__shipping {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}
.wish-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.wish-item__add {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-accent);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color var(--dur-1) ease;
  white-space: nowrap;
}
.wish-item__add:hover:not(:disabled) { color: var(--color-accent-hover); }
.wish-item__add.is-in-cart { color: var(--color-success); cursor: default; }

/* ---------- 18. TOAST ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-text-primary);
  color: #fff;
  padding: 14px 24px;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  z-index: 400;
  display: flex; align-items: center; gap: 12px;
  transition: transform var(--dur-2) var(--ease-out);
  max-width: calc(100vw - 32px);
  box-shadow: var(--shadow-modal);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }
.toast::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
}

/* ---------- 19. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger inside grids */
.art-grid > .reveal:nth-child(2) { transition-delay: 60ms; }
.art-grid > .reveal:nth-child(3) { transition-delay: 120ms; }
.art-grid > .reveal:nth-child(4) { transition-delay: 180ms; }
.art-grid > .reveal:nth-child(5) { transition-delay: 240ms; }
.art-grid > .reveal:nth-child(6) { transition-delay: 300ms; }
.art-grid > .reveal:nth-child(7) { transition-delay: 360ms; }
.art-grid > .reveal:nth-child(8) { transition-delay: 420ms; }

.collections-grid > .reveal:nth-child(2) { transition-delay: 100ms; }
.collections-grid > .reveal:nth-child(3) { transition-delay: 200ms; }

/* =====================================================================
   20. PRODUCT PAGE
   ===================================================================== */

/* Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-5) var(--page-padding-x) 0;
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--color-border-dark);
}
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-accent-hover); }
.breadcrumb [aria-current="page"] { color: var(--color-text-primary); }

/* Layout 60/40 -------------------------------------------------------- */
.product {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-6) var(--page-padding-x) clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.product__details {
  position: sticky;
  top: calc(var(--nav-height-desktop) + var(--space-5));
  align-self: start;
}

@media (max-width: 1024px) {
  .product { grid-template-columns: 56fr 44fr; gap: 32px; }
}
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 40px; padding-top: var(--space-5); }
  .product__details { position: static; }
}

/* Gallery ------------------------------------------------------------- */
.gallery { display: flex; flex-direction: column; gap: var(--space-4); }

.gallery__main {
  position: relative;
  background: var(--color-background-alt);
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__main img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out);
}
.gallery__main.is-changing img { opacity: 0; }

.gallery__zoom-hint {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(30,30,30,.85);
  color: #fff;
  border: 0;
  height: 36px;
  padding: 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  z-index: 2;
  cursor: zoom-in;
  transition: background var(--dur-1) ease;
}
.gallery__zoom-hint:hover { background: var(--color-accent-hover); }

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery__thumb {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--color-background-alt);
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--dur-1) ease, opacity var(--dur-1) ease;
  padding: 0;
  opacity: .68;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--color-accent); opacity: 1; }

.gallery__caption {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Details panel ------------------------------------------------------- */
.product-details { max-width: 480px; }
.product-details > .eyebrow { margin-bottom: var(--space-3); }

.product-details__artist {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.product-details__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, var(--text-xl));
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4);
}

.product-details__rating {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4);
}
.stars {
  display: inline-flex; gap: 2px; color: var(--color-gold);
}
.rating-value { font-weight: 600; color: var(--color-text-primary); }
.rating-count { color: var(--color-text-muted); font-size: var(--text-xs); }

.product-details__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 28px;
  color: var(--color-price);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-4);
}

.product-details__badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 var(--space-5);
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-background-alt);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}
.trust-pill svg { color: var(--color-text-secondary); }

.product-details__actions {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-5);
}
.btn-outline--full { width: 100%; }
.btn-outline--full svg { margin-right: 4px; }
#wishBtn.is-active { background: var(--color-accent); color: #fff; }
#wishBtn.is-active svg { fill: #fff; }

.product-details__quick {
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 0 0 var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--color-background-alt);
  border-left: 2px solid var(--color-gold);
}
.product-details__quick li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.product-details__quick li strong { color: var(--color-text-primary); font-weight: 600; }
.product-details__quick svg { flex-shrink: 0; margin-top: 2px; color: var(--color-text-secondary); }

/* Accordion ----------------------------------------------------------- */
.accordion details {
  border-top: 1px solid var(--color-border);
}
.accordion details:last-of-type {
  border-bottom: 1px solid var(--color-border);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
  transition: color var(--dur-1) ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--color-accent-hover); }
.accordion__icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out);
}
.accordion__icon::before {
  left: 0; right: 0; top: 50%;
  height: 1px; transform: translateY(-50%);
}
.accordion__icon::after {
  top: 0; bottom: 0; left: 50%;
  width: 1px; transform: translateX(-50%);
}
.accordion details[open] .accordion__icon::after { transform: translateX(-50%) rotate(90deg); }
.accordion__body {
  padding: 0 0 var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
}
.accordion__body p { margin: 0 0 12px; }
.accordion__body p:last-child { margin-bottom: 0; }
.accordion__body ul {
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.accordion__body ul li {
  padding-left: 18px;
  position: relative;
}
.accordion__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--color-text-muted);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6px var(--space-4);
  margin: 0;
}
.spec-list dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 6px 0;
}
.spec-list dd {
  margin: 0;
  padding: 6px 0;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.product-details__share {
  margin: var(--space-5) 0 0;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.product-details__share a {
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
}
.product-details__share a:hover { color: var(--color-accent-hover); border-color: currentColor; }

/* Horizontal scroll (more by artist) --------------------------------- */
.hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: var(--space-3);
  margin: 0 calc(-1 * var(--page-padding-x));
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
}
.hscroll > * { scroll-snap-align: start; }
.hscroll::-webkit-scrollbar { height: 4px; }
.hscroll::-webkit-scrollbar-track { background: var(--color-background-alt); }
.hscroll::-webkit-scrollbar-thumb { background: var(--color-border-dark); }

@media (min-width: 1024px) {
  .hscroll { grid-auto-columns: minmax(0, calc(25% - 18px)); }
}

/* =====================================================================
   21. LIGHTBOX (zoom viewer)
   ===================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15,15,15,0.97);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}
.lightbox.is-open { visibility: visible; opacity: 1; }

.lightbox__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  color: rgba(255,255,255,.85);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0));
}
.lightbox__title em { font-style: italic; text-transform: none; letter-spacing: 0; }
.lightbox__tools { display: flex; gap: 6px; align-items: center; }

.lb-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-1) ease, border-color var(--dur-1) ease;
}
.lb-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.lb-btn:disabled { opacity: .35; cursor: not-allowed; }
.lb-btn--close { margin-left: 8px; }

.lightbox__zoom-level {
  display: inline-flex; align-items: center;
  padding: 0 10px;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #fff;
  letter-spacing: 0;
  min-width: 56px; justify-content: center;
}

.lightbox__stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  user-select: none;
  touch-action: none;
}
.lightbox__stage.is-zoomed { cursor: grab; }
.lightbox__stage.is-zoomed.is-panning { cursor: grabbing; }
.lightbox__stage img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transform-origin: 0 0;
  transition: transform var(--dur-2) var(--ease-out);
  will-change: transform;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.lightbox__stage.is-panning img { transition: none; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background var(--dur-1) ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__filmstrip {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  justify-content: center;
  background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0));
}
.lb-thumb {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid transparent;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  opacity: .55;
  transition: opacity var(--dur-1) ease, border-color var(--dur-1) ease;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .9; }
.lb-thumb.is-active { border-color: #fff; opacity: 1; }

.lightbox__hint {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  pointer-events: none;
  transition: opacity var(--dur-2) ease;
}
.lightbox.is-zoomed-once .lightbox__hint { opacity: 0; }

@media (max-width: 768px) {
  .lightbox__nav { display: none; }
  .lightbox__topbar { padding: 14px 16px; }
  .lightbox__filmstrip { padding: 10px 16px; }
  .lb-thumb { width: 44px; height: 44px; }
  .lightbox__hint { bottom: 78px; font-size: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}
