/* LUMOS shop · Manrope and the warm paper palette of the existing public site. */
:root { --shop-accent: #6d5335; --shop-notice: #eee6d8; --shop-focus: #385b90; }
html, body { overflow-x: clip; }
body { background: var(--day); color: var(--ink); }
.shop { padding-bottom: clamp(54px, 8vw, 108px); }
.shop a { text-underline-offset: .2em; }
.shop :focus-visible { outline: 3px solid var(--shop-focus); outline-offset: 3px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.shop-trail, .shop-cart { display: inline-flex; gap: 10px; align-items: center; font-size: .9rem; }
.shop-trail { color: var(--ink-2); }
.shop-cart { min-height: 44px; font-weight: 700; text-decoration: none; }
.shop a:hover { text-decoration: underline; }
.shop-lead { padding: clamp(32px, 5.2vw, 70px) 0 22px; }
.shop h1 { font-size: clamp(2.4rem, 5.3vw, 4.7rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; overflow-wrap: anywhere; }
.shop h2 { font-size: clamp(1.45rem, 2.55vw, 2rem); letter-spacing: -.03em; line-height: 1.18; font-weight: 600; }
.shop-intro { max-width: 63ch; margin-top: 18px; color: var(--ink-2); font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.55; }
.shop-notice { max-width: fit-content; padding: 10px 16px; border-left: 3px solid var(--lamp); background: var(--shop-notice); color: var(--ink); font-size: .88rem; line-height: 1.55; }
.shop-sections { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
.shop-sections a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--shop-accent); }
.shop-group { margin-top: clamp(36px, 5vw, 62px); scroll-margin: 22px; }
.shop-group h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.shop-group h2 span { color: var(--ink-2); font-size: .95rem; font-weight: 500; letter-spacing: normal; }
.shop-list { border-top: 2px solid var(--ink); }
.shop-list article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, .26fr) minmax(86px, .17fr); align-items: center; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.shop-list article:has(.shop-thumb) { grid-template-columns: 88px minmax(0, 1fr) minmax(145px, .26fr) minmax(86px, .17fr); }
.shop-thumb { width: 88px; height: 72px; background: var(--day-surface); object-fit: contain; border-radius: 4px; }
.shop-item h3 { font-size: clamp(1.18rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.28; letter-spacing: -.025em; }
.shop-item h3 a { text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); }
.shop-item h3 a:hover { text-decoration-color: var(--ink); }
.shop-item p { color: var(--ink-2); line-height: 1.5; margin-top: 5px; max-width: 71ch; }
.shop-item-meta { font-size: .9rem; }
.shop-item-meta small { display: block; font-size: inherit; color: var(--ink-2); }
.shop-price-small, .shop-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-price-small { justify-self: end; font-weight: 650; font-size: 1.06rem; }
.shop-fine { margin-top: 28px; color: var(--ink-2); }
.shop-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr); align-items: start; gap: 38px clamp(32px, 7vw, 90px); padding-top: clamp(36px, 5vw, 66px); }
.shop-category { display: inline-block; color: var(--shop-accent); margin-bottom: 14px; font-size: .94rem; font-weight: 600; }
.shop-product h1 { font-size: clamp(2.35rem, 4.5vw, 3.8rem); }
.shop-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.shop-gallery a { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--day-surface); border-radius: 4px; }
.shop-gallery a:first-child { grid-column: 1 / -1; }
.shop-gallery img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.shop-order { grid-column: 2; grid-row: 1 / span 2; padding: clamp(20px, 2.5vw, 32px); background: var(--day-2); border-top: 3px solid var(--lamp); }
.shop-order > p:first-child { color: var(--ink-2); }
.shop-price { margin: 5px 0 18px; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.shop-order dl { margin: 0; padding: 12px 0; border-block: 1px solid var(--line-strong); }
.shop-order dl div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; column-gap: 10px; padding: 3px 0; }
.shop-order dt, .shop-mode { color: var(--ink-2); }
.shop-order dd { margin: 0; }
.shop-mode { margin: 16px 0; font-size: .875rem; line-height: 1.5; }
.shop-add { width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 8px; background: var(--ink); color: var(--day-surface); font: inherit; font-weight: 600; cursor: pointer; }
.shop-add:hover { background: var(--night-5); }
.shop-terms { display: block; width: fit-content; margin: 8px auto -7px; padding: 8px 0; color: var(--ink-2); font-size: .87rem; }
.shop-contents, .shop-delivery { grid-column: 1; }
.shop-contents ul { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.shop-contents li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.shop-delivery p, .shop-legal p { margin-top: 12px; line-height: 1.65; }
.shop-delivery p { color: var(--ink-2); }
.shop-legal { max-width: 74ch; padding-top: clamp(32px, 5vw, 60px); }
.shop-legal h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.shop-legal h2 { margin-top: 36px; }
@media (max-width: 700px) {
  .shop-bar { padding-block: 7px; }
  .shop-detail { display: flex; flex-direction: column; gap: 26px; }
  .shop-detail > * { width: 100%; }
  .shop-list article, .shop-list article:has(.shop-thumb) { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 14px; }
  .shop-thumb { grid-column: 1 / -1; width: 100px; height: 70px; }
  .shop-item { grid-column: 1 / -1; }
  .shop-item-meta, .shop-item-meta small { display: inline; }
  .shop-item-meta small::before { content: ' / '; }
  .shop-price-small { font-size: 1rem; }
}
