/* v36: the item page (artworks and carpets) */
.pd-top { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .pd-top { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3.5rem; } .pd-info { position: sticky; top: 7rem; } }
.pd-gallery { min-width: 0; }
.pd-main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 1.25rem; overflow: hidden; background: #efe9e1; cursor: zoom-in; }
.pd-main img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: contain; }
.pd-empty { display: grid; place-items: center; aspect-ratio: 4 / 3.4; font-family: "Cormorant Garamond", serif; font-size: 2rem; color: rgba(24,21,17,.25); }
.pd-cap { position: absolute; inset-inline-start: .8rem; bottom: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(17,17,15,.72); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.pd-thumb { flex: 0 0 5.6rem; padding: 0; border: 2px solid transparent; border-radius: .8rem; background: none; cursor: pointer; text-align: center; }
.pd-thumb img { display: block; width: 100%; height: 4.4rem; object-fit: cover; border-radius: .6rem; background: #efe9e1; }
.pd-thumb span { display: block; margin-top: .25rem; font-size: .68rem; line-height: 1.2; color: rgba(24,21,17,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-thumb.is-on { border-color: #d66830; }
.pd-thumb:focus-visible, .pd-main:focus-visible { outline: 3px solid #d66830; outline-offset: 3px; }
.pd-info { min-width: 0; }
.pd-facts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.pd-facts li { padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(24,21,17,.12); font-size: .82rem; color: rgba(24,21,17,.8); }
.pd-price { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(24,21,17,.12); }
.pd-price .font-serif { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; color: #181511; }
.pd-badge { padding: .25rem .7rem; border-radius: 999px; background: rgba(214,104,48,.12); color: #b5531f; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pd-ask { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.pd-ask .acct-small { flex-basis: 100%; margin: .2rem 0 0; }
.pd-box { width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: 1rem; background: #11110f; color: #fff; overflow: hidden; }
.pd-box::backdrop { background: rgba(10,10,9,.86); }
.pd-box img { display: block; width: 100%; max-height: 86vh; object-fit: contain; }
.pd-box p { margin: 0; padding: .7rem 1rem; font-size: .85rem; text-align: center; color: rgba(255,255,255,.8); }
.pd-x, .pd-nav { position: absolute; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pd-x { top: .8rem; inset-inline-end: .8rem; }
.pd-nav { top: 50%; transform: translateY(-50%); }
.pd-prev { inset-inline-start: .8rem; } .pd-next { inset-inline-end: .8rem; }
[dir="rtl"] .pd-prev, [dir="rtl"] .pd-next { transform: translateY(-50%) scaleX(-1); }
.pd-x:hover, .pd-nav:hover { background: #d66830; }
.pd-title { margin: 1rem 0 0; font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 500; line-height: 1; color: #181511; overflow-wrap: anywhere; }
