:root { --art-lime: #8ea31b; --art-black: #171717; --art-line: #d8d8d4; }

.artwork-page {
  min-width: 1180px;
  background: #f8f8f6;
  color: var(--art-black);
}

.manual-artwork-main {
  position: relative;
  isolation: isolate;
  min-height: 2843px;
  padding: 209px 0 294px;
  background: #f8f8f6 url("assets/manual-art/background-art.webp") center top / 1920px 3071px no-repeat;
}

.manual-art-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 1302px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 366px);
  gap: 80px 101px;
}

.manual-art-card {
  position: relative;
  display: block;
  width: 366px;
  height: 525px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8d8d5;
  border-radius: 0;
  background: #fff;
  color: #222;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 8px 20px rgb(31 31 28 / 0);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.manual-art-card::after {
  content: "View artwork";
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgb(17 17 17 / .88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.manual-art-image {
  display: block;
  width: 100%;
  height: 369px;
  overflow: hidden;
  background: #fff;
}

.manual-art-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.2,.65,.3,1), filter .25s ease;
}

.manual-art-info {
  display: grid;
  min-height: 156px;
  align-content: center;
  padding: 18px 82px 18px 23px;
  line-height: 1.32;
}

.manual-art-info strong { margin-bottom: 5px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.manual-art-info span { color: #5b5b58; font-size: 14px; }

.art-status {
  position: absolute;
  right: 21px;
  bottom: 44px;
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  border-radius: 50%;
  background: #e8e8e5;
  color: #222;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .25s ease;
}

.art-status.is-sold { background: var(--art-lime); color: #fff; }
.manual-art-card:hover, .manual-art-card:focus-visible { border-color: #9bae20; outline: 0; box-shadow: 0 20px 42px rgb(30 30 25 / .17); transform: translateY(-8px); }
.manual-art-card:hover::after, .manual-art-card:focus-visible::after { opacity: 1; transform: translateY(0); }
.manual-art-card:hover .manual-art-image img, .manual-art-card:focus-visible .manual-art-image img { filter: saturate(1.06); transform: scale(1.035); }
.manual-art-card:hover .art-status, .manual-art-card:focus-visible .art-status { background: #171717; color: #fff; transform: rotate(8deg) scale(1.07); }

.artwork-page .bio-footer { min-width: 1180px; max-width: none; margin: 0; }
.artwork-page .site-header .nav-dropdown-trigger[aria-current="page"] { color: #f8f6ef; text-decoration: underline; text-underline-offset: .4em; }

.artwork-page dialog {
  width: min(1500px, calc(100vw - 80px));
  max-width: none;
  max-height: calc(100vh - 70px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #171717;
  box-shadow: 0 28px 80px rgb(0 0 0 / .35);
}

.artwork-page dialog::backdrop { background: rgb(8 8 8 / .78); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 5; top: 18px; float: right; width: 44px; height: 44px; margin: 18px 18px -62px 0; border: 1px solid #d8d8d4; border-radius: 50%; background: rgb(255 255 255 / .92); color: #171717; cursor: pointer; font: 400 30px/1 Arial,sans-serif; transition: background .18s ease, color .18s ease, transform .18s ease; }
.dialog-close:hover, .dialog-close:focus-visible { background: #171717; color: #fff; outline: 0; transform: rotate(6deg); }

.art-detail-layout { display: grid; min-height: 780px; grid-template-columns: 56% 44%; }
.art-detail-visual { position: relative; display: grid; min-height: 780px; place-items: center; padding: 62px; border: 0; background: #f4f4f1; color: #fff; cursor: zoom-in; font: inherit; }
.art-detail-visual img { display: block; max-width: 100%; max-height: 650px; object-fit: contain; box-shadow: 0 12px 36px rgb(0 0 0 / .13); }
.art-detail-visual span, .digital-stage span { position: absolute; right: 24px; bottom: 22px; padding: 9px 13px; border-radius: 999px; background: rgb(17 17 17 / .82); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; }
.art-detail-visual:hover span, .art-detail-visual:focus-visible span, .digital-stage:hover span, .digital-stage:focus-visible span { opacity: 1; transform: translateY(0); }
.art-detail-visual:focus-visible, .digital-stage:focus-visible { outline: 3px solid var(--art-lime); outline-offset: -3px; }
.art-detail-copy { align-self: center; padding: 76px 74px; }
.artist-label { margin: 0 0 9px; color: #a9893b; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.art-detail-copy h2 { margin: 0; font-family: Georgia,serif; font-size: 48px; font-weight: 500; line-height: 1.08; }
.detail-year { margin: 8px 0 36px; color: #666; font-size: 18px; font-style: italic; }
.art-detail-copy dl { margin: 0; padding: 22px 0; border-top: 1px solid #e1e1dd; border-bottom: 1px solid #e1e1dd; }
.art-detail-copy dl div { display: flex; justify-content: space-between; gap: 30px; padding: 6px 0; }
.art-detail-copy dt { font-weight: 600; }
.art-detail-copy dd { margin: 0; color: #5d6270; text-align: right; }
.detail-price { margin: 32px 0 24px; font-family: Georgia,serif; font-size: 34px; font-weight: 700; }
.buy-now-button, .submit-order { width: 100%; min-height: 62px; border: 1px solid #171717; background: #171717; color: #fff; cursor: pointer; font: 800 15px/1 Poppins,Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: background .18s ease, color .18s ease, transform .18s ease; }
.buy-now-button:hover, .buy-now-button:focus-visible, .submit-order:hover, .submit-order:focus-visible { background: var(--art-lime); color: #171717; outline: 0; transform: translateY(-2px); }
.buy-now-button:disabled { border-color: #cfcfcb; background: #e5e5e1; color: #777; cursor: default; transform: none; }
.work-note { margin-top: 38px; padding-top: 24px; border-top: 1px solid #e1e1dd; }
.work-note strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.work-note p { color: #666; font-size: 14px; line-height: 1.65; }

.checkout-dialog { background: #f4f5f6 !important; }
.checkout-dialog > h2 { margin: 0; padding: 48px 48px 0; font-family: Georgia,serif; font-size: 40px; font-weight: 500; }
.checkout-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 54px; padding: 48px; }
.purchase-form, .order-summary { border: 1px solid #e0e1e2; border-radius: 7px; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .07); }
.purchase-form { display: grid; gap: 20px; padding: 36px; }
.purchase-form label { display: grid; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.purchase-form input, .purchase-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #d8dce0; border-radius: 2px; background: #fff; color: #171717; font: 15px/1.45 Poppins,Arial,sans-serif; resize: vertical; }
.purchase-form input:focus, .purchase-form textarea:focus { border-color: var(--art-lime); outline: 3px solid rgb(142 163 27 / .18); }
.honey-field { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin: 0; color: #53620d; font-size: 13px; font-weight: 700; line-height: 1.5; }
.form-status.is-error { color: #a42929; }
.order-summary { align-self: start; padding: 34px; }
.order-summary h3 { margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid #e2e2de; font-family: Georgia,serif; font-size: 24px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 22px; padding: 14px 0; color: #5f6470; }
.order-summary .summary-total { border-top: 1px solid #e2e2de; color: #171717; font-size: 20px; }
.order-summary p { margin: 24px 0 0; padding: 18px; border: 1px solid #e3c64a; background: #fff9dd; color: #8c5519; font-size: 13px; line-height: 1.55; }

body.has-dialog-open { overflow: hidden; }

.digital-artwork-main {
  min-height: 854px;
  padding-top: 145px;
  background: #f8f8f6 url("assets/manual-art/background-art.webp") center top / 1920px 3071px no-repeat;
}

.digital-showcase {
  position: relative;
  display: grid;
  width: 1329px;
  height: 674px;
  margin: 0 auto 35px;
  grid-template-columns: 58% 42%;
  border: 1px solid #d8dce0;
  background: rgb(255 255 255 / .92);
}

.digital-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 35px 55px 35px 70px; border: 0; background: transparent; cursor: zoom-in; font: inherit; }
.digital-stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .18s ease, transform .28s ease; }
.digital-stage img.is-changing { opacity: 0; transform: scale(.985); }
.digital-copy { align-self: center; padding: 50px 90px 50px 20px; }
.digital-copy h2 { margin: 0; color: #5b5b59; font-size: 36px; font-weight: 800; letter-spacing: -.04em; }
.digital-copy p { margin: 5px 0 0; color: #777; font-size: 25px; }
.digital-count { display: block; margin-top: 26px; color: #9aaa25; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.digital-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 56px; height: 56px; place-items: center; padding: 0; border: 6px solid #111; border-radius: 50%; background: #fff; color: #111; cursor: pointer; font-size: 0; line-height: 1; transform: translateY(-50%); transition: background .18s ease, color .18s ease, transform .18s ease; }
.digital-arrow::before { display: block; font: 700 50px/1 Arial,sans-serif; transform: translateY(-4px); }
.digital-prev::before { content: "‹"; }
.digital-next::before { content: "›"; }
.digital-arrow:hover, .digital-arrow:focus-visible { background: var(--art-lime); color: #fff; outline: 0; transform: translateY(-50%) scale(1.08); }
.digital-prev { left: -98px; }
.digital-next { right: -98px; }

.artwork-page .full-image-dialog {
  width: calc(100vw - 28px);
  height: calc(100vh - 28px);
  max-height: none;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .17);
  border-radius: 8px;
  background: #0c0c0c;
  color: #fff;
}

.full-image-close { position: absolute; z-index: 4; top: 18px; right: 18px; display: grid; width: 48px; height: 48px; place-items: center; padding: 0 0 4px; border: 1px solid rgb(255 255 255 / .36); border-radius: 50%; background: rgb(12 12 12 / .82); color: #fff; cursor: pointer; font: 300 32px/1 Arial,sans-serif; }
.full-image-close:hover, .full-image-close:focus-visible { border-color: var(--art-lime); background: var(--art-lime); color: #111; outline: 0; }
.full-image-canvas { display: grid; width: 100%; height: calc(100% - 52px); overflow: auto; place-items: center; padding: 26px 74px 10px; }
.full-image-canvas img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; }
.full-image-canvas img.is-actual-size { max-width: none; max-height: none; cursor: zoom-out; }
.full-image-title { height: 52px; margin: 0; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { .manual-art-card, .manual-art-image img, .art-status { transition: none; } }
