/* Public gallery — airy, white, grey bold type (after the reference portfolio). */

:root {
  --ink: #1c1c1c;
  --text: #474747;
  --muted: #9b9b9b;
  --brand: #bcbcbc;
  --line: #e8e8e6;
  --soft: #f6f5f2;
  --sold: #c0392b;
  --reserved: #d39b1c;
  --free: #4f8a5b;
  --side-w: 270px;
  --gap: 22px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Layout ---------- */

.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  padding: 28px 0 28px 40px;
  overflow-y: auto;
}
.side-inner { display: flex; flex-direction: column; min-height: 100%; }

.brand {
  display: block;
  font-size: 29px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}
.brand span { display: block; }
.brand:hover { color: #8d8d8d; }

.tagline { margin: 20px 0 54px; font-size: 11px; color: var(--muted); letter-spacing: .01em; }

.side-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.menu-btn {
  width: 164px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px;
  border: 1px solid #2b2b2b;
  background: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
/* Two bars that fold into a cross when the menu is open */
.menu-btn .bars { position: relative; width: 18px; height: 11px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #2b2b2b;
  transition: transform .35s cubic-bezier(.6, .05, .25, 1), top .35s cubic-bezier(.6, .05, .25, 1);
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.cart-link {
  font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; padding-left: 16px;
}
.cart-link:hover, .cart-link.on { color: var(--ink); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  display: inline-grid; place-items: center;
  font-size: 11px; background: var(--line); color: var(--ink);
}
.cart-count.has { background: var(--ink); color: #fff; }

/* The list slides open (0fr → 1fr) and the links fade in one after another */
.menu { display: grid; grid-template-rows: 1fr; margin: 22px 0 0; }
.menu-inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 9px; padding-left: 16px; }
.menu a { font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.menu a:hover, .menu a.on { color: var(--ink); }
.menu.closed { grid-template-rows: 0fr; margin-top: 0; }
.menu.closed a { opacity: 0; transform: translateY(-8px); }
.menu.animate { transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), margin-top .45s cubic-bezier(.2, .7, .2, 1); }
.menu.animate a { transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1), color .2s; transition-delay: calc(var(--i, 0) * 60ms + 90ms), calc(var(--i, 0) * 60ms + 90ms), 0s; }
.menu.animate.closed a { transition-delay: 0s; transition-duration: .15s, .2s, .2s; }

.side-foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.side-foot a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.side-foot a:hover { color: var(--ink); }

.content {
  margin-left: var(--side-w);
  padding: 22px 48px 40px 0;
  max-width: calc(var(--side-w) + 1180px);
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* Social icons (bottom-left corner on desktop, page footer on phones) */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 6px; margin: -6px 0 0 -6px; color: var(--muted); text-decoration: none; transition: color .2s; }
.socials a:hover { color: var(--ink); }
.socials svg { display: block; fill: currentColor; }
.socials.with-labels { gap: 8px; margin-top: 22px; }
.socials.with-labels a {
  margin: 0; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.socials.with-labels a:hover { border-color: var(--ink); }
.socials.with-labels svg { width: 15px; height: 15px; }
.foot-socials { display: none; width: 100%; }

.site-foot {
  margin-top: auto; padding-top: 80px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 11px; color: var(--muted);
}

.page-title {
  margin: 0 0 30px;
  font-size: 29px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em;
  color: var(--brand);
}

.section-title { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

.small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.empty { color: var(--muted); max-width: 46ch; }

/* ---------- Gallery ---------- */

.gallery-head { margin: 4px 0 26px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; font-weight: 700; }
.filters a { color: var(--muted); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.filters a:hover { color: var(--ink); }
.filters a.on { color: var(--ink); border-bottom-color: var(--ink); }
.filters-sep { width: 1px; height: 14px; background: var(--line); }
/* On wide screens both groups sit in one flowing line, as if the wrappers weren't there. */
.filter-group { display: contents; }


.grid { columns: 2; column-gap: var(--gap); }
.grid.masonry { columns: auto; display: flex; gap: var(--gap); align-items: flex-start; }
.grid .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.grid:not(.masonry) .tile { break-inside: avoid; margin-bottom: var(--gap); }

.tile a { display: block; text-decoration: none; }
.tile-img { background: var(--soft); overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.tile a:hover .tile-img img { transform: scale(1.025); }

.tile-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0 0; font-size: 12.5px; }
.tile-title { font-weight: 700; color: var(--ink); }
.tile-title .en { color: var(--muted); font-weight: 400; }
.tile-meta { color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot-sold { background: var(--sold); }
.dot-reserved { background: transparent; border: 2px solid var(--reserved); }
.dot-free { background: var(--free); }

/* ---------- Painting page ---------- */

.artwork { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: 44px; align-items: start; }

.artwork-main { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; }
.artwork-main img { width: 100%; }

.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; transition: opacity .2s; }
.thumb img { width: 66px; height: 66px; object-fit: cover; }
.thumb:hover, .thumb.on { opacity: 1; }
.thumb.on { border-color: var(--ink); }

.artwork-info { position: sticky; top: 24px; }

.facts { margin: 0 0 24px; display: grid; gap: 6px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.facts a { text-decoration: none; border-bottom: 1px solid var(--line); }

.buy { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price { margin: 0; font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.price.muted { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.availability { margin: 4px 0 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn.added { background: var(--free); border-color: var(--free); color: #fff; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

.link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px; padding: 0; border: 0; background: none;
  font-size: 13px; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px;
}
.link-btn:hover { text-decoration-color: var(--ink); }

.description { margin-top: 22px; font-size: 14.5px; }
.description p { margin: 0 0 12px; }

.perks { list-style: none; margin: 22px 0 0; padding: 0; font-size: 12.5px; color: var(--muted); display: grid; gap: 6px; }
.perks li { padding-left: 18px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: var(--muted); }

.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700;
}
.pager a { color: var(--muted); text-decoration: none; }
.pager a:hover { color: var(--ink); }
.pager a[rel="next"] { text-align: right; }
.pager-all { font-weight: 400; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(255, 255, 255, .97);
  display: grid; place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 92vh; width: auto; object-fit: contain; box-shadow: 0 10px 50px rgba(0,0,0,.12); }
.lightbox button { position: absolute; border: 0; background: none; font-size: 44px; line-height: 1; color: var(--ink); cursor: pointer; padding: 12px 18px; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }


/* ---------- About / contact / forms ---------- */

.prose { max-width: 62ch; font-size: 15px; }
.prose p { margin: 0 0 14px; }

.eyebrow { margin: 0 0 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.about-hero { max-width: 720px; padding: 6px 0 64px; }
.about-name { margin: 0 0 22px; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; color: var(--brand); }
.about-lead { margin: 0 0 30px; font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 56ch; }

.about-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.about-row.reverse .about-media { order: 2; }
.about-text .prose { max-width: 54ch; }
.about-figure { display: block; margin: 0; text-decoration: none; }
.about-figure img { width: 100%; max-height: 78vh; object-fit: cover; background: var(--soft); }
.about-caption { display: block; margin-top: 9px; font-size: 12px; color: var(--muted); }
.about-figure:hover .about-caption { color: var(--ink); }
.link-arrow { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-bottom-color: var(--ink); }

.about-cta { padding: 56px 0 8px; border-top: 1px solid var(--line); max-width: 640px; }
.about-cta p { margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--ink); }

/* Contact: info on the left, form on a soft panel on the right, FAQ below in the same two columns */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact-info { position: sticky; top: 28px; }
.contact-title { margin: 0 0 18px; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); }
.contact-intro { margin: 0 0 16px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 40ch; }
.contact-reply { display: flex; align-items: center; gap: 8px; margin: 0 0 32px; font-size: 13px; }
.contact-list { margin: 0 0 30px; display: grid; gap: 14px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-follow { margin-bottom: 30px; }
.contact-follow .eyebrow { margin-bottom: 12px; }
.contact-follow .socials.with-labels { margin-top: 0; }
.contact-note a { color: var(--text); }
.contact-note { margin: 0 0 12px; padding-left: 14px; border-left: 2px solid var(--line); max-width: 44ch; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

.contact-panel { padding: 32px; background: var(--soft); }
.contact-panel .form { max-width: none; }
.contact-sent h2 { margin: 0 0 8px; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.contact-sent p { margin: 0 0 22px; }

.topics { margin: 0 0 6px; padding: 0; border: 0; }
.topics legend { margin-bottom: 10px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.form .topic { display: inline-flex; position: relative; cursor: pointer; font-weight: 400; letter-spacing: 0; }
.topic input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.topic span { padding: 9px 14px; border: 1px solid #d6d6d3; background: #fff; font-size: 13px; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.topic:hover span { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.painting-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.painting-pick[hidden] { display: none; }
.painting-pick legend { margin-bottom: 10px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.painting-pick legend .small { font-weight: 400; letter-spacing: 0; }
.pick-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px;
  max-height: 318px; overflow-y: auto; padding: 4px; margin: -4px; position: relative;
  scrollbar-width: thin;
}
.form .pick { display: flex; flex-direction: column; gap: 5px; position: relative; cursor: pointer; font-weight: 400; letter-spacing: 0; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick-img { position: relative; display: block; aspect-ratio: 1; background: #fff; border: 1px solid #d6d6d3; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pick:hover .pick-img { border-color: var(--ink); }
.pick:hover .pick-img img { transform: scale(1.04); }
.pick-title { font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-meta { font-size: 11px; color: var(--muted); margin-top: -3px; }
.pick input:checked + .pick-img { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.pick input:checked + .pick-img::after {
  content: "✓"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
}
.pick input:focus-visible + .pick-img { outline: 2px solid var(--ink); outline-offset: 3px; }

.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--line); }
.faq-title { margin: 0 0 12px; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; color: var(--brand); }
.faq-head .small a { color: var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 62ch; }

.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.form input:not([type="radio"]), .form textarea, .form select {
  width: 100%; padding: 12px 13px;
  border: 1px solid #d6d6d3; border-radius: 0; background: #fff;
  font: 15px/1.4 var(--font); color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; padding-right: 36px; }
.form label .small { font-weight: 400; letter-spacing: 0; }
.form .invalid { border-color: var(--sold) !important; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.narrow-first { grid-template-columns: 140px 1fr; }
.hp { position: absolute !important; left: -9999px; }


.notice { padding: 14px 16px; font-size: 14px; margin: 0; }
.notice.ok { background: #eef5ef; color: #24502e; }
.notice.ok a { color: inherit; }
.notice.error { background: #fbeceb; color: #8a241b; }
.notice p { margin: 4px 0 8px; }

/* ---------- Cart & checkout ---------- */

.cart { max-width: 760px; }
.cart-items { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid var(--line); }
.cart-items li { display: grid; grid-template-columns: 76px 1fr auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-items.compact li { grid-template-columns: 56px 1fr auto; }
.cart-items img { width: 76px; height: 76px; object-fit: cover; background: var(--soft); }
.cart-items.compact img { width: 56px; height: 56px; }
.ci-title { color: var(--ink); font-weight: 700; display: flex; flex-direction: column; text-decoration: none; }
.ci-title .small { font-weight: 400; }
.ci-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ci-remove { border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; padding: 4px 8px; }
.ci-remove:hover { color: var(--sold); }
.cart-items li.gone { opacity: .55; }
.cart-items li.gone .ci-price { text-decoration: line-through; }

.checkout { max-width: none; }
.delivery { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.delivery legend { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; padding: 0; }
.form .choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid #d6d6d3; cursor: pointer;
  font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text);
}
.form .choice:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.form .choice[hidden] { display: none; }
.choice strong { color: var(--ink); margin-right: 6px; }
.choice-price { font-weight: 700; color: var(--ink); }
.choice input { accent-color: var(--ink); }
.address { display: grid; gap: 14px; }
.payment .choice { grid-template-columns: auto 1fr auto; }
.pay-logos { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.address[hidden] { display: none; }

.summary { margin: 10px 0 4px; padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; }
.summary-total { margin-top: 6px; font-size: 19px; font-weight: 700; color: var(--ink); }

.order-confirm { max-width: 640px; }
.lead { font-size: 18px; color: var(--ink); margin: 0 0 22px; }
.transfer { padding: 22px; background: var(--soft); margin-bottom: 22px; }
.transfer .facts div { grid-template-columns: 130px 1fr; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.order-meta { margin-bottom: 22px; }
.pay-box { margin-bottom: 22px; }
.transfer form { margin: 0; }
.order-meta p { margin: 0 0 2px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  :root { --side-w: 230px; }
  .side { padding-left: 28px; }
  .content { padding-right: 28px; }
  .artwork { grid-template-columns: 1fr; gap: 28px; }
  .artwork-info { position: static; max-width: 620px; }
}

@media (max-width: 820px) {
  .side { position: static; width: auto; padding: 18px 16px 0; overflow: visible; }
  .brand { font-size: 24px; }
  .brand span { display: inline; }
  .tagline { margin: 8px 0 16px; }
  .side-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .menu-btn { width: auto; min-width: 140px; }
  .menu { margin-top: 12px; }
  .menu-inner { padding-left: 2px; gap: 2px; }
  .menu a { padding: 8px 0; font-size: 15px; }
  .side-foot { display: none; }
  .content { margin-left: 0; padding: 24px 16px 32px; min-height: 0; }
  .page-title { font-size: 25px; margin-bottom: 22px; }
  /* Phone: status tabs and categories each in one swipeable row instead of three wrapped lines */
  .gallery-head { margin: 0 -16px 22px; }
  .filters { display: grid; gap: 12px; font-size: 14px; }
  .filters-sep { display: none; }
  .filter-group {
    display: flex; gap: 20px; overflow-x: auto; padding: 0 16px; scroll-padding: 0 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  /* Fade at the right edge only while there is more to swipe to */
  .filter-group.more {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-group a { flex: none; white-space: nowrap; }
  .tabs-row a { padding: 4px 0; }
  .cats-row { gap: 8px; }
  .cats-row a {
    padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--text);
  }
  .filters .cats-row a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .contact, .faq { grid-template-columns: 1fr; gap: 28px; }
  .contact-info { position: static; }
  .contact-reply { margin-bottom: 22px; }
  .contact-panel { padding: 22px 16px; margin: 0 -16px; }
  .faq { margin-top: 56px; padding-top: 36px; gap: 16px; }
  .about-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .about-row.reverse .about-media { order: 0; }
  .about-hero { padding-bottom: 44px; }
  .about-lead { font-size: 17px; }
  .foot-socials { display: block; }
  .foot-socials .socials a { padding: 8px; margin: 0 4px 0 -8px; }
  .form-row.two { grid-template-columns: 1fr; }
  .form-row.narrow-first { grid-template-columns: 120px 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-all { display: none; }
}

@media (max-width: 560px) {
  :root { --gap: 26px; }
  .grid { columns: 1; }
  .cart-items li { grid-template-columns: 60px 1fr auto; }
  .cart-items img { width: 60px; height: 60px; }
  .ci-remove { grid-column: 3; grid-row: 1; align-self: start; }
  .pay-logos { display: none; }
  .cart-items li .ci-price { grid-column: 2; }
  .facts div { grid-template-columns: 96px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
