/* Public header (top-bar nav, live search, customer menu, mobile drawer) + article page. Loaded after site-premium.css. */

/* ---------- top bar ---------- */
.utility-row { min-height: 52px; gap: 18px; }
.top-burger { display: none; }
.topnav { display: flex; align-items: center; gap: 2px; min-width: 0; flex: 1 1 auto; }
.topnav a {
  display: inline-flex; align-items: center; gap: 8px; color: #ece5d8; text-decoration: none;
  padding: 8px 13px; border-radius: 999px; font-size: .9rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background .15s, color .15s;
}
.topnav a i { font-size: .8rem; color: #e8c98a; opacity: .9; }
.topnav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.topnav a[aria-current="page"] { background: rgba(232, 201, 138, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(232, 201, 138, .35); }
.utility .tools { flex: 0 0 auto; flex-wrap: nowrap; }
.seg-theme button { padding: 6px 9px; }

/* ---------- customer menu ---------- */
.usermenu { position: relative; }
.top-user .um-caret { font-size: .62rem; opacity: .75; transition: transform .18s; margin-left: -2px; }
.usermenu.is-open .um-caret { transform: rotate(180deg); }
.usermenu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 270px; padding: 8px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 26px 70px rgba(10, 14, 12, .28);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.usermenu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.usermenu.is-open .usermenu-panel,
html:not(.js) .usermenu:hover .usermenu-panel,
html:not(.js) .usermenu:focus-within .usermenu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.um-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.um-head strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-head span { color: var(--muted); font-size: .84rem; }
.usermenu-panel a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: .94rem; text-decoration: none;
}
.usermenu-panel a i { width: 18px; text-align: center; color: var(--gold); font-size: .9rem; }
.usermenu-panel a:hover, .usermenu-panel a:focus-visible { background: color-mix(in srgb, var(--gold) 14%, var(--card)); color: var(--ink); }
.usermenu-panel .um-out { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; }
.um-badge { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; background: #c4a36a; color: #1c140c; border-radius: 999px; padding: 2px 8px; }
html[data-theme="dark"] .usermenu-panel { background: #1f2621; border-color: rgba(246, 241, 232, .14); }

/* ---------- mast + live search ---------- */
.mast-row { min-height: 84px; gap: 28px; }
.brand { flex: 0 0 auto; }
.finder.finder-live { position: relative; flex: 1 1 auto; max-width: 760px; margin-left: auto; overflow: visible; background: var(--card); border-color: color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: 0 6px 20px rgba(28, 25, 21, .05); transition: box-shadow .15s, border-color .15s; }
.finder.finder-live:focus-within { border-color: color-mix(in srgb, var(--gold) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent), 0 10px 30px rgba(28, 25, 21, .08); }
.finder-live > i { padding-left: 20px; }
.finder-live input { padding: 14px 12px; font-size: 1rem; }
.finder-live input:focus-visible { outline: none; }
.finder-live input::-webkit-search-cancel-button { cursor: pointer; }
.finder-live button { border-radius: 0 999px 999px 0; height: 50px; padding: 0 24px; font-weight: 600; }
.finder-live button:hover { background: color-mix(in srgb, var(--brand) 86%, #000); }
html[data-theme="dark"] .finder-live button { color: #14201b; }
html[data-theme="dark"] .finder-live button:hover { background: #f3e9d6; }
.live-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; max-height: min(70vh, 560px); overflow-y: auto;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 8px;
  box-shadow: 0 30px 80px rgba(10, 14, 12, .25);
}
.live-results[hidden] { display: none; }
html[data-theme="dark"] .live-results { background: #1f2621; border-color: rgba(246, 241, 232, .14); }
.lr-group + .lr-group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.lr-label { display: flex; justify-content: space-between; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; font-weight: 600; padding: 8px 12px 6px; }
.lr-label span { letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.lr-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.lr-item:hover, .lr-item.is-active { background: color-mix(in srgb, var(--gold) 15%, var(--card)); color: var(--ink); }
.lr-thumb { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; object-fit: cover; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); }
.lr-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--gold); font-size: .85rem; }
.lr-text { min-width: 0; flex: 1; }
.lr-text strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-text small { display: block; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-text mark { background: color-mix(in srgb, var(--gold) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.lr-meta { flex: 0 0 auto; font-size: .82rem; font-weight: 600; color: var(--brand-2); }
html[data-theme="dark"] .lr-meta { color: #8fd7ae; }
.lr-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; font-weight: 600; background: color-mix(in srgb, var(--brand) 8%, var(--card)); color: var(--brand); text-decoration: none; }
html[data-theme="dark"] .lr-all { color: #f6f1e8; background: rgba(246, 241, 232, .07); }
.lr-all:hover, .lr-all.is-active { background: var(--brand); color: #f7f3ea; }
html[data-theme="dark"] .lr-all:hover, html[data-theme="dark"] .lr-all.is-active { background: #e7d7bc; color: #14201b; }
.lr-empty, .lr-note { padding: 14px 12px; color: var(--muted); font-size: .92rem; }
.lr-note { display: flex; gap: 10px; align-items: center; }
.lr-note i { color: var(--gold); }

/* ---------- mobile drawer ---------- */
.drawer {
  margin: 0; padding: 0; border: 0; height: 100dvh; max-height: 100dvh; width: min(86vw, 340px); max-width: none;
  inset: 0 auto 0 0; background: var(--card); color: var(--ink); box-shadow: 18px 0 60px rgba(0, 0, 0, .35);
}
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .22s ease; }
.drawer::backdrop { background: rgba(10, 14, 12, .55); backdrop-filter: blur(2px); }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .drawer[open] { animation: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 20px; background: linear-gradient(90deg, #0c1916, #14342b); color: #f4efe6; }
.drawer-head strong { font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: 1.2rem; }
.drawer-close { width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(244, 239, 230, .25); background: transparent; color: #f4efe6; font-size: 1.1rem; cursor: pointer; }
.drawer-close:hover { background: rgba(255, 255, 255, .1); }
.drawer-nav { padding: 10px 12px 24px; overflow-y: auto; }
.drawer-label { display: block; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 600; margin: 14px 10px 6px; }
.drawer-nav a { display: flex; gap: 12px; align-items: center; padding: 10px; min-height: 52px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.drawer-nav a:hover { background: color-mix(in srgb, var(--gold) 12%, var(--card)); color: var(--ink); }
.drawer-nav a i { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: #12352c; color: #f7f3ea; }
.drawer-nav strong { display: block; font-weight: 600; }
.drawer-nav small { display: block; color: var(--muted); font-size: .82rem; }
body.drawer-open { overflow: hidden; }

@media (max-width: 1080px) {
  .topnav a { padding: 8px 10px; }
  .topnav a i { display: none; }
  .top-user strong { max-width: 12ch; }
}
@media (max-width: 960px) {
  .utility .seg-label { display: none; }
}
@media (max-width: 860px) {
  .utility-row { padding: 6px 0; gap: 8px; min-height: 52px; }
  .topnav { display: none; }
  .top-burger {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px;
    border: 1px solid rgba(244, 239, 230, .22); background: rgba(255, 255, 255, .06); color: #f4efe6; font-size: 1.05rem; cursor: pointer;
  }
  .top-burger:hover { background: rgba(255, 255, 255, .12); }
  .utility .tools { width: auto; margin-left: auto; gap: 6px; justify-content: flex-end; }
  .top-user strong, .top-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-user { padding: 3px 8px 3px 3px; gap: 6px; }
  .usermenu-panel { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; }
  .usermenu-panel::before { display: none; }
  .usermenu-panel a { min-height: 46px; }
  .mast-row { min-height: 0; flex-wrap: wrap; padding: 10px 0 12px; gap: 10px; }
  .brand-logo { max-height: 40px; }
  .finder.finder-live { display: flex; flex: 1 0 100%; max-width: none; margin: 0; }
  .finder-live input { padding: 11px 10px; font-size: 16px; }
  .finder-live button { height: 46px; padding: 0 16px; }
  /* no JS: the drawer cannot open, so show the links as a scrollable row instead */
  html:not(.js) .top-burger { display: none; }
  html:not(.js) .topnav { display: flex; overflow-x: auto; flex: 1 1 100%; order: 3; }
  html:not(.js) .utility-row { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .seg-lang button, .seg-theme button { padding: 6px 8px; }
  .top-cta { padding: 6px 10px; }
  .finder-live button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .finder-live button::before { content: "\f002"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
  .finder-live > i { display: none; }
  .finder-live input { padding-left: 16px; }
}

/* ---------- article page ---------- */
.page-article .page { padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pd-gallery { position: sticky; top: 160px; display: grid; gap: 12px; }
.pd-stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 26px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--card) 92%, #fff), var(--bg-2)); border: 1px solid var(--line); cursor: zoom-in;
}
.pd-stage img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .3s ease; }
.pd-stage:hover img { transform: scale(1.02); }
.pd-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 25, 22, .72); color: #fff; }
.pd-noimg { cursor: default; color: var(--muted); gap: 10px; align-content: center; }
.pd-noimg i { font-size: 2.6rem; opacity: .5; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumbs a { display: block; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); }
.pd-thumbs a[aria-current="true"] { border-color: var(--gold); }
.pd-thumbs a:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-main { display: grid; gap: 18px; min-width: 0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-status, .pd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; }
.pd-status.is-open { background: #dff1e6; color: #145c39; }
.pd-status.is-taken { background: #f3e6cf; color: #6b4a1b; }
.pd-status.is-gone { background: #f1dede; color: #7d2626; }
html[data-theme="dark"] .pd-status.is-open { background: #173627; color: #a6e6c1; }
html[data-theme="dark"] .pd-status.is-taken { background: #3a2e1b; color: #f0cf93; }
html[data-theme="dark"] .pd-status.is-gone { background: #3d1f1f; color: #ffb3b3; }
.pd-chip { background: color-mix(in srgb, var(--gold) 14%, var(--card)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); font-weight: 500; }
.pd-chip:hover { background: var(--brand); color: #f7f3ea; border-color: transparent; }
html[data-theme="dark"] .pd-chip:hover { color: #14201b; }
.pd-chip.is-premium { background: linear-gradient(180deg, #f0d7a4, #c4a36a); color: #1c140c; border: 0; font-weight: 600; }
.pd-title { font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
.pd-subject { margin: -6px 0 0; font-size: 1.1rem; color: var(--muted); }
.pd-by { margin: -8px 0 0; color: var(--muted); }
.pd-by strong { color: var(--ink); font-weight: 600; }
.pd-buy { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-amount { font-family: Fraunces, Georgia, serif; font-size: 2.2rem; font-weight: 620; letter-spacing: -.02em; color: var(--brand); line-height: 1; }
.pd-amount i { font-size: 1.5rem; color: var(--gold); }
.pd-unit { color: var(--muted); font-size: .95rem; }
.pd-ship { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.pd-ship i { color: var(--gold); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pd-actions form { margin: 0; }
.pd-cta-form { flex: 1 1 220px; }
.pd-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; font-weight: 600; }
.pd-cta { width: 100%; font-size: 1.05rem; }
a.pd-cta { flex: 1 1 220px; }
.pd-watch.is-on { background: color-mix(in srgb, var(--gold) 18%, var(--card)); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.pd-watch.is-on i { color: var(--gold); }
.pd-gone { margin: 0; font-weight: 600; color: var(--danger); }
.pd-balance { margin: 0; font-size: .88rem; color: var(--muted); }
.pd-flow { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.pd-flow form { margin: 0; }
.pd-note { margin: 0; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 14%, var(--card)); font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.pd-note i { color: var(--gold); }
.pd-seller { border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 14px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.pd-seller-who { display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.pd-seller-who:hover strong { color: var(--brand-2); }
.pd-seller-who img, .pd-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.pd-avatar { display: grid; place-items: center; background: #12352c; color: #f0d7a4; font-weight: 700; font-size: 1.2rem; }
.pd-seller-who strong { display: block; font-weight: 600; font-size: 1.05rem; }
.pd-seller-who small { color: var(--muted); font-size: .86rem; }
.pd-star { color: var(--gold); font-size: .8rem; }
.pd-seller-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pd-seller-facts div { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.pd-seller-facts dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pd-seller-facts dd { margin: 4px 0 0; font-weight: 600; }
.pd-seller-facts dd i { color: var(--gold); font-size: .85rem; }
.pd-seller-facts small { color: var(--muted); font-weight: 400; }
.pd-seller-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-seller-actions .btn { flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.pd-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; margin-top: 44px; align-items: start; }
.pd-body h2, .pd-related h2 { font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: 1.45rem; margin: 0 0 14px; }
.pd-desc, .pd-specs { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.pd-text { line-height: 1.7; overflow-wrap: anywhere; }
.pd-text img { border-radius: 12px; }
.pd-muted { color: var(--muted); }
.pd-table { width: 100%; border-collapse: collapse; display: table; }
.pd-table th, .pd-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.pd-table th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 12px; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }
.pd-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pd-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: .9rem; color: var(--muted); cursor: pointer; text-decoration: none; }
.pd-link:hover { color: var(--ink); text-decoration: underline; }
.pd-link[hidden] { display: none; }
.pd-related { margin-top: 48px; }
.pd-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.pd-rel { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 14px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pd-rel:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.pd-rel-img { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); margin-bottom: 6px; }
.pd-rel-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-rel strong { font-weight: 600; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-rel small { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-rel em { font-style: normal; font-weight: 600; color: var(--brand-2); font-size: .9rem; }
html[data-theme="dark"] .pd-rel em { color: #8fd7ae; }
html[data-theme="dark"] .pd-stage { background: radial-gradient(circle at 50% 35%, #232b26, #161b18); }
html[data-theme="dark"] .pd-avatar { background: #e7d7bc; color: #14201b; }
/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; inset: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 9, 8, .9); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 24, 22, .7); color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(60, 66, 62, .9); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: #f4efe6; font-size: .9rem; background: rgba(20, 24, 22, .7); padding: 4px 12px; border-radius: 999px; }
/* sticky mobile CTA */
.pd-sticky { display: none; }
@media (max-width: 860px) {
  .pd-top, .pd-body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pd-body { margin-top: 26px; }
  .pd-gallery { position: static; }
  .pd-stage { border-radius: 20px; aspect-ratio: 4 / 3.4; }
  .pd-stage img { padding: 12px; }
  .pd-thumbs { flex-wrap: nowrap; overflow-x: auto; }
  .pd-thumbs a { flex: 0 0 64px; width: 64px; height: 64px; }
  .pd-amount { font-size: 1.9rem; }
  .pd-buy, .pd-desc, .pd-specs { padding: 18px; border-radius: 20px; }
  .pd-seller-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-seller-facts div { padding: 8px 10px; }
  .pd-seller-facts dt { font-size: .66rem; letter-spacing: .04em; }
  .pd-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pd-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .14); transform: translateY(110%); transition: transform .22s ease; visibility: hidden;
  }
  .pd-sticky.is-shown { transform: none; visibility: visible; }
  .pd-sticky form { margin: 0; }
  .pd-sticky .btn { min-height: 46px; padding: 10px 22px; font-weight: 600; }
  .pd-sticky-price { display: flex; align-items: baseline; gap: 6px; }
  .pd-sticky-price .pd-amount { font-size: 1.4rem; }
  .pd-sticky-price .pd-amount i { font-size: 1rem; }
  .pd-sticky-price .pd-unit { font-size: .82rem; }
  .page-article .site-footer { padding-bottom: 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pd-sticky, .pd-stage img, .pd-rel { transition: none; } }

.lr-label, .drawer-label { color: #7a5627; }
html[data-theme="dark"] .lr-label, html[data-theme="dark"] .drawer-label { color: var(--gold); }
/* hover contrast: light-mode link hover in deeper gold; dark-mode tag hover with dark text */
:where(html:not([data-theme="dark"]) main) a:hover { color: #7a5627; }
html[data-theme="dark"] .tag.is-on, html[data-theme="dark"] .tag:hover { color: #141a16; }
html[data-theme="dark"] .tag.is-on span, html[data-theme="dark"] .tag:hover span { color: #3a3328; }
