/* Extras thumbnails + lightbox (order.html, essential.html). 2026-11-29. Pictures: assets/extras/<id>.jpg (thumb) and <id>-full.jpg. */
.xs-th { position: relative; z-index: 2; display: block; flex: none; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #ebe5da; box-shadow: 0 0 0 1px rgba(21,19,17,.12); -webkit-tap-highlight-color: transparent; }
.xs-th img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.xs-th:hover img { transform: scale(1.05); }
.xs-th i { position: absolute; right: 3px; bottom: 3px; width: 19px; height: 19px; border-radius: 5px; background: rgba(255,253,248,.94); color: #151311; font: normal 400 12px/19px "Jost", Arial, sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.22); pointer-events: none; }
.xs-th:focus-visible { outline: 2px solid #a8864f; outline-offset: 2px; }
.xs-sp { flex: none; width: 72px; }
.xs-note { font-size: 13px; color: #6b645c; margin: 12px 0 0; }
.xs-lb { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 5vh 16px; background: rgba(14,12,10,.88); cursor: zoom-out; }
.xs-lb[hidden] { display: none; }
.xs-lb img { display: block; max-width: min(92vw, 90vh); max-height: 90vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.xs-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); color: #fff; font: 400 18px/1 Arial, sans-serif; cursor: pointer; }
.xs-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.xs-lock, html.xs-lock body { overflow: hidden; }
/* essential.html extras builder: picture beside the row button */
.pl-li { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.pl-li .pl-opt { flex: 1; min-width: 0; border-bottom: 0; }
@media (max-width: 560px) { .xs-th, .xs-sp { width: 64px; height: 64px; } .pl-li { gap: 12px; } }
.pl-li .pl-ot b i { white-space: nowrap; display: inline-block; }

/* the lightbox as a card: big picture, title, explanation, price and Add (2026-11-29, like the reference checkout) */
.xs-lb { cursor: default; }
.xs-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); width: min(900px, 94vw); max-height: 90vh; background: #fbf9f5; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.xs-card .xs-pic { background: #efe9df; display: grid; place-items: center; min-height: 0; }
.xs-lb .xs-card img { max-width: 100%; max-height: 90vh; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.xs-body { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.xs-body h3 { margin: 0; font: 400 32px/1.1 "Cormorant Garamond", Georgia, serif; color: #151311; }
.xs-txt { margin: 0; font: 400 15px/1.65 "Jost", Arial, sans-serif; color: #4a4640; }
.xs-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(21,19,17,.12); }
.xs-price { font: 400 16px "Jost", Arial, sans-serif; color: #151311; } .xs-price s { color: #8a8278; margin-right: 6px; }
.xs-add { border: 1px solid #151311; background: #151311; color: #fbf9f5; font: 500 11px "Jost", Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; padding: 13px 22px; cursor: pointer; }
.xs-add.on { background: #fbf9f5; color: #151311; } .xs-add:disabled { opacity: .55; cursor: default; }
.xs-card .xs-x { top: 10px; right: 10px; background: rgba(21,19,17,.55); z-index: 2; }
@media (max-width: 700px) {
  .xs-card { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; }
  .xs-card .xs-pic { max-height: 46vh; } .xs-lb .xs-card img { max-height: 46vh; }
  .xs-body { padding: 22px 20px 20px; } .xs-body h3 { font-size: 27px; }
}
