* {
  box-sizing: border-box;
}
:root {
  --ink: #18231c;
  --muted: #535d56;
  --line: #d8dbd3;
  --forest: #254734;
  --canvas: #fbfaf6;
  --paper: #eeede7;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #b36b17;
  outline-offset: 4px;
}
.wrap {
  width: min(1440px, 100%);
  padding-inline: clamp(20px, 4.2vw, 76px);
  margin: auto;
}
.preview-strip {
  background: #203c2c;
  color: #faf9ef;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 25px;
}
.preview-strip span {
  opacity: 0.55;
  margin: 0 0.7em;
}
.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 4;
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  padding-block: 10px;
}
.brand img {
  width: 155px;
  height: auto;
  filter: brightness(0);
}
.cart-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 2px;
}
.cart-nav #cart-count {
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: #e7ebe3;
  border-radius: 50%;
  font-size: 12px;
}
.bag-icon {
  position: relative;
  width: 16px;
  height: 15px;
  border: 1.5px solid currentColor;
  margin-right: 2px;
}
.bag-icon:before {
  content: '';
  position: absolute;
  width: 6px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  top: -6px;
  left: 3.5px;
}
.intro {
  padding: clamp(32px, 4.2vw, 64px) 0 clamp(25px, 3.4vw, 50px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 650;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font: normal clamp(49px, 6.5vw, 94px) / 0.99 var(--serif);
  letter-spacing: -0.065em;
}
h1 em {
  font-weight: normal;
}
.sale-note {
  border-left: 2px solid #aebbad;
  padding-left: 17px;
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 358px;
  color: var(--muted);
}
.sale-note strong {
  color: var(--ink);
}
.sale-note span:last-child {
  margin-top: 3px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 13px 0 16px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 100px;
  padding: 7px 15px;
  min-height: 42px;
  font-size: 13px;
}
.filters button[aria-pressed='true'] {
  background: #e4eae1;
  color: #193924;
  font-weight: 650;
}
.filters button:hover {
  border-color: #bbc5b8;
}
#result-count,
.small,
.tile-pricing small,
.caption {
  font-size: 12px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px clamp(15px, 2.1vw, 35px);
  align-items: start;
}
.tile {
  min-width: 0;
}
.picture {
  position: relative;
  aspect-ratio: 4/3;
  background: #eceae1;
  isolation: isolate;
  overflow: hidden;
}
.paper-link,
.detail-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 7.5%;
  background: transparent;
}
.paper-link img,
.detail-media img {
  height: 100%;
  width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px #25201932);
}
.paper-link {
  position: absolute;
  inset: 0;
}
.paper-link:focus-visible {
  outline-offset: -4px;
}
.room-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.picture.is-room .room-photo.ready,
.paper-link:focus-visible + .room-photo.ready {
  opacity: 1;
}
.picture:has(.paper-link:focus-visible)::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: 2;
  border: 2px solid var(--forest);
  box-shadow: 0 0 0 2px white;
  pointer-events: none;
}
.tile-text {
  padding-top: 13px;
}
.artist {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}
.work-title {
  font: normal clamp(22px, 2.2vw, 33px) / 1.12 var(--serif);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.text-button {
  color: inherit;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
}
.text-button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.spec {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.tile-pricing {
  display: flex;
  gap: 2px 9px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tile-pricing strong {
  font-size: 15px;
}
.tile-pricing small {
  font-size: 11px;
}
.primary,
.secondary,
.checkout,
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
}
.primary:hover,
.checkout:hover {
  background: #123721;
}
.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #8d988b;
}
.secondary:hover {
  background: #e6eae2;
}
.buy {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.buy::before {
  content: '+';
  font-size: 18px;
  margin-right: 7px;
  line-height: 1;
}
.pending {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  color: var(--muted);
  font-size: 13px;
}
.catalog-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 27px 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
dialog {
  border: 0;
  background: var(--canvas);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 12px 48px #14221825;
  max-height: 100dvh;
}
dialog::backdrop {
  background: #141d1980;
}
body:has(dialog[open]) {
  overflow: hidden;
}
dialog.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(470px, 100%);
  max-width: 100%;
  height: 100dvh;
  overflow: auto;
}
dialog.detail,
dialog.checkout-panel {
  width: min(780px, calc(100% - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.panel-body {
  padding: clamp(20px, 3vw, 32px);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.panel-head h2 {
  font: normal clamp(30px, 4vw, 43px) / 1.07 var(--serif);
  letter-spacing: -0.04em;
}
.close {
  background: transparent;
  border: 1px solid var(--line);
  height: 44px;
  width: 44px;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}
.close:hover {
  background: var(--paper);
}
.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.mini {
  width: 64px;
  height: 78px;
  object-fit: contain;
  background: #e9e7df;
  padding: 4px;
}
.line-main {
  min-width: 0;
}
.line-main h3 {
  font: normal 22px/1.14 var(--serif);
  letter-spacing: -0.025em;
}
.line-main p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.line-main .price {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.line-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  font-size: 14px;
}
.qty button {
  border: 0;
  background: transparent;
  min-width: 42px;
  min-height: 44px;
}
.qty span {
  min-width: 18px;
  text-align: center;
}
.link-control {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.cart-summary {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.money-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  padding: 3px 0;
}
.money-row span:last-child {
  text-align: right;
}
.money-row.total {
  font-weight: 700;
  font-size: 17px;
  padding-top: 9px;
  margin-top: 7px;
  border-top: 1px solid var(--line);
}
.action-stack {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}
.delivery-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}
.checkout-layout h3 {
  font: normal 25px var(--serif);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.checkout-layout select {
  display: block;
  margin: 6px 0 10px;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  background: white;
  border: 1px solid #949d91;
  min-height: 44px;
}
.checkout-layout label {
  font-weight: 600;
  font-size: 13px;
}
.checkout-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.checkout-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
}
.checkout-list li small {
  display: block;
  color: var(--muted);
}
.checkout-list li b {
  white-space: nowrap;
}
.notice {
  background: #e8eee5;
  margin: 0 0 15px;
  padding: 9px 13px;
  color: #28402c;
  font-size: 13px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.detail-media {
  aspect-ratio: 4/3;
  height: auto;
  background: var(--paper);
}
.detail-room-figure {
  margin: 18px 0 0;
}
.detail-room-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.detail-room {
  display: block;
  width: 100%;
  height: auto;
}
.detail-facts {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 12px;
}
.detail-story {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d9e7d8;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 15px;
}
.skip,
.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  z-index: 9;
  clip-path: none;
  width: auto;
  height: auto;
  padding: 12px;
  background: white;
}
.toolbar button[aria-pressed='true'] {
  font-weight: 650;
}
@media (min-width: 1500px) {
  .intro {
    padding-block: 52px;
  }
  .grid {
    column-gap: 30px;
  }
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .sale-note {
    border: 0;
    padding: 0;
    max-width: none;
  }
  .sale-note span:last-child br {
    display: none;
  }
  .toolbar {
    padding-top: 9px;
  }
}
@media (max-width: 540px) {
  .wrap {
    padding-inline: 18px;
  }
  .header-inner {
    min-height: 54px;
  }
  .brand img {
    width: 130px;
  }
  .intro {
    padding: 28px 0 21px;
  }
  .section-label {
    margin-bottom: 7px;
  }
  .sale-note,
  .sale-note strong {
    font-size: 12px;
  }
  .toolbar {
    gap: 4px;
  }
  .filters {
    gap: 2px;
  }
  .filters button {
    font-size: 12px;
    padding-inline: 10px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .work-title {
    font-size: 28px;
  }
  .tile-text {
    padding-top: 10px;
  }
  .checkout-layout,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .catalog-foot {
    flex-direction: column;
  }
  .detail,
  .checkout-panel {
    border-radius: 0;
  }
  .drawer .panel-body {
    padding: 20px;
  }
  .checkout-list li {
    font-size: 13px;
  }
}
@media (max-width: 355px) {
  .filters button {
    padding-inline: 7px;
  }
  #result-count {
    font-size: 11px;
  }
  .wrap {
    padding-inline: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 590px) {
  .toolbar {
    flex-wrap: wrap;
    gap: 4px;
    padding-bottom: 12px;
  }
  .filters button {
    min-height: 40px;
  }
}
