:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --surface: #fff;
  --ink: #171b2a;
  --muted: #777b82;
  --line: #e2e0d9;
  --gold: #c5a552;
  --gold-deep: #9c7b2e;
  --navy: #18223a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; }
button, input, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.app-shell { max-width: 1440px; margin: 0 auto; min-height: 100vh; padding: 0 54px; }
.topbar { min-height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { width: max-content; display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand-seal { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; position: relative; }
.brand-seal::before, .brand-seal::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid var(--gold); border-radius: 50%; }
.brand-seal::after { width: 13px; height: 13px; background: repeating-linear-gradient(45deg, transparent 0 3px, #c5a55288 3px 4px); }
.brand-seal span { width: 3px; height: 31px; background: var(--gold); position: absolute; transform: rotate(45deg); opacity: .75; }
.brand-word { font-family: var(--serif); letter-spacing: .12em; font-size: 20px; line-height: 1; }
.brand-word small { display: block; font-family: var(--sans); font-size: 7px; letter-spacing: .28em; text-align: center; padding-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 8px; height: 100%; }
.nav-link { background: transparent; border: 0; height: 100%; padding: 0 16px; color: #70737b; font-size: 13px; cursor: pointer; position: relative; }
.nav-link.active { color: var(--navy); font-weight: 700; }
.nav-link.active::after { content: ""; position: absolute; bottom: -1px; left: 16px; right: 16px; height: 2px; background: var(--gold); }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.currency-control select { appearance: none; border: 0; background: transparent; color: var(--navy); font-weight: 700; padding: 8px 20px 8px 8px; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 8px) 13px, calc(100% - 4px) 13px; background-size: 4px 4px; background-repeat: no-repeat; }
.bag-button { border: 0; background: transparent; width: 38px; height: 42px; position: relative; cursor: pointer; }
.bag-button svg { width: 22px; fill: none; stroke: var(--navy); stroke-width: 1.4; }
.bag-button span { position: absolute; top: 1px; right: -1px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 12px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; }
main { padding: 0 0 48px; }
.intro { min-height: 280px; display: flex; justify-content: space-between; align-items: center; padding: 44px 5.8% 42px; position: relative; overflow: hidden; }
.intro::after { content: ""; width: 520px; height: 520px; border: 1px solid #d9d6cc; border-radius: 50%; position: absolute; right: -120px; top: -275px; box-shadow: 0 0 0 22px #f6f5f1, 0 0 0 23px #e8e5dd, 0 0 0 52px #f6f5f1, 0 0 0 53px #ebe8e0; opacity: .8; pointer-events: none; }
.intro-copy { z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--gold-deep); letter-spacing: .2em; font-weight: 700; font-size: 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 27px; height: 1px; background: var(--gold); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(38px, 4.1vw, 56px); line-height: 1.07; font-weight: 500; letter-spacing: -.035em; margin: 0 0 14px; color: var(--navy); }
h1 em { font-weight: 500; color: var(--gold-deep); }
.intro-text { color: var(--muted); max-width: 395px; line-height: 1.7; margin: 0; }
.intro-stamp { z-index: 1; margin-right: 8%; }
.stamp-ring { border: 1px solid var(--gold); border-radius: 50%; width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; color: var(--gold-deep); }
.stamp-ring::before { content: ""; position: absolute; inset: 7px; border: 1px solid #c5a55280; border-radius: 50%; }
.stamp-ring span { position: absolute; top: 18px; font-size: 6px; letter-spacing: .2em; }
.stamp-ring b { font-family: var(--serif); font-size: 55px; line-height: .9; font-weight: 500; }
.stamp-ring small { font-size: 6px; letter-spacing: .28em; margin-top: 8px; }
.preview-note { display: flex; gap: 10px; align-items: flex-start; background: #f3eddc; border: 1px solid #e3d5b2; color: #6c5b34; padding: 11px 14px; font-size: 11px; line-height: 1.5; margin: 0 0 20px; }
.preview-dot { margin-top: 5px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex: 0 0 auto; }
.catalog-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 38px; border-top: 1px solid var(--line); padding-top: 26px; }
.filters { border-right: 1px solid var(--line); padding-right: 27px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 4px 0 17px; margin-bottom: 19px; color: var(--navy); font-weight: 700; }
.text-button { border: 0; background: none; padding: 0; color: var(--gold-deep); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter-label { display: block; color: #555b65; font-size: 11px; font-weight: 700; margin: 0 0 9px; }
.search-field { height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; }
.search-field svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: #8a8b8b; stroke-width: 1.6; }
.search-field input { min-width: 0; width: 100%; outline: none; border: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: #9a9b9e; }
.filter-group { margin-top: 24px; }
.filter-select { width: 100%; height: 41px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font-size: 11px; }
.filter-select:disabled { color: #98999c; background: #f2f1ed; }
.filter-hint { color: #95969a; font-size: 10px; line-height: 1.5; margin: 7px 0 0; }
.filter-foot { margin-top: 70px; padding: 17px 0 0; border-top: 1px solid var(--line); display: flex; gap: 10px; color: #85878d; font-size: 10px; line-height: 1.6; }
.filter-ornament { color: var(--gold); font-size: 18px; line-height: 1; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 0 0 17px; }
.eyebrow.compact { font-size: 9px; letter-spacing: .17em; margin-bottom: 5px; }
.catalog-toolbar h2, .section-view > h2 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 32px; }
#item-count { font-family: var(--sans); font-size: 11px; color: #9a9ba0; vertical-align: middle; letter-spacing: 0; }
.catalog-state { min-height: 16px; margin: 0 0 8px; color: #85878d; font-size: 11px; }
.load-more { display: block; margin: 22px auto 0; min-height: 42px; padding: 0 24px; border: 1px solid #d8d0bc; background: #fff; color: var(--navy); cursor: pointer; }
.load-more:hover { border-color: var(--navy); }
.sort-control { display: flex; align-items: center; gap: 8px; color: #82848a; font-size: 10px; }
.sort-control select { border: 0; background: transparent; color: var(--navy); font-weight: 600; font-size: 10px; padding: 7px 16px 7px 2px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; background: var(--surface); border: 1px solid #ebe9e3; transition: transform .2s ease, box-shadow .2s ease; padding: 9px; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px #18223a10; }
.product-image-wrap { position: relative; aspect-ratio: 1.13 / 1; background: #f1f0ec; overflow: hidden; display: grid; place-items: center; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.image-index { position: absolute; left: 9px; top: 9px; background: #ffffffd9; padding: 5px 7px; color: #777; font-size: 7px; letter-spacing: .12em; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #8a8c91; font-size: 9px; margin: 13px 2px 8px; }
.availability { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #8f918f; font-size: 8px; }
.availability-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: var(--gold); }
.product-title { height: 39px; margin: 0 2px 12px; overflow: hidden; font-family: var(--serif); font-weight: 500; font-size: 14px; line-height: 1.35; color: var(--navy); }
.variant-select { width: 100%; min-height: 40px; margin: 0 0 8px; padding: 8px 10px; border: 1px solid #d7d3ca; border-radius: 4px; background: transparent; color: inherit; font: inherit; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #eeece7; padding: 9px 2px 1px; }
.product-price { color: var(--navy); font-size: 13px; font-weight: 700; }
.add-button { border: 1px solid #d8d0bc; width: 31px; height: 31px; background: #fff; color: var(--gold-deep); font-size: 21px; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
.add-button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-state { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 30px; }
.empty-state h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 23px; margin: 12px 0 7px; }
.empty-state p { max-width: 370px; line-height: 1.7; margin: 0; font-size: 12px; }
.empty-coin { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-deep); font-size: 20px; }
.section-view { min-height: 66vh; padding: 64px 5.8%; }
.section-view > h2 { font-size: 46px; margin-bottom: 28px; }
.auction-empty { border: 1px solid var(--line); background: #fbfaf7; }
.auction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.auction-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); background: #fff; }
.auction-image { width: 100%; aspect-ratio: 4 / 3; margin: -22px -22px 12px; width: calc(100% + 44px); object-fit: cover; background: #f2f0ea; }
.auction-phase { align-self: flex-start; padding: 5px 8px; background: #f1eee5; color: var(--gold-deep); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.auction-phase.open { background: #edf2ed; color: #456b4f; }
.auction-phase.closed { background: #f0efed; color: #777; }
.auction-card h3 { margin: 16px 0 8px; color: var(--navy); font: 500 21px/1.3 var(--serif); }
.auction-description { min-height: 42px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auction-price-label { color: #8a8c91; font-size: 10px; }
.auction-price { margin-top: 4px; color: var(--navy); font-size: 22px; }
.auction-stats { display: flex; justify-content: space-between; gap: 8px; margin: 15px 0; padding-top: 12px; border-top: 1px solid var(--line); color: #898b90; font-size: 10px; }
.auction-bid-button { margin-top: auto; }
.auction-leading { margin: auto 0 0; padding-top: 14px; color: #456b4f; font-size: 11px; }
.auction-bid-history { margin: 8px 0 18px; color: var(--muted); font-size: 11px; }
.auction-bid-history summary { width: fit-content; color: var(--gold-deep); cursor: pointer; }
.auction-bid-history ul { max-height: 160px; overflow: auto; margin: 8px 0 0; padding-left: 18px; }
.auction-bid-history li { margin: 5px 0; line-height: 1.45; }
.bid-confirm-dialog { width: min(460px, calc(100vw - 32px)); border: 1px solid var(--line); padding: 26px; color: var(--navy); background: #fff; box-shadow: 0 24px 80px #13213c33; }
.bid-confirm-dialog::backdrop { background: #101a2d99; }
.bid-confirm-dialog h2 { margin: 0 0 12px; font: 500 26px/1.2 var(--serif); }
.bid-confirm-dialog p { font-size: 13px; line-height: 1.6; }
.bid-confirm-amount { color: var(--gold-deep); }
.bid-rules-copy { color: var(--muted); }
.bid-rules-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 12px; line-height: 1.5; }
.bid-rules-check input { margin-top: 2px; accent-color: var(--gold-deep); }
.bid-confirm-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.footer { border-top: 1px solid var(--line); min-height: 60px; color: #999a9d; display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .08em; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 10; background: #121a2b66; }
.request-drawer { position: fixed; z-index: 11; top: 0; right: 0; height: 100dvh; width: min(430px,100vw); background: #fff; padding: 28px; box-shadow: -12px 0 40px #1018271b; transform: translateX(105%); transition: transform .28s ease; display: flex; flex-direction: column; }
.request-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); color: var(--navy); font-size: 27px; font-weight: 500; margin: 0; }
.drawer-head .eyebrow { margin-bottom: 5px; }
.close-button { border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.drawer-items { overflow: auto; }
.drawer-item { display: grid; grid-template-columns: 55px 1fr 28px; gap: 12px; padding: 15px 0; border-bottom: 1px solid #efeee9; align-items: center; }
.drawer-item img { width: 55px; height: 55px; object-fit: cover; background: #f1f0ec; }
.drawer-item-copy { display: grid; gap: 6px; }
.drawer-item-copy strong { font: 500 13px/1.4 var(--serif); color: var(--navy); }
.drawer-item-copy span { font-size: 10px; color: var(--muted); }
.remove-item { border: 0; background: transparent; font-size: 21px; color: #999; cursor: pointer; }
.drawer-empty { flex: 1; display: grid; place-items: center; text-align: center; color: #898b91; font-size: 12px; line-height: 1.7; }
.drawer-empty p { max-width: 250px; }
.drawer-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 15px 0 7px; color: #777; font-size: 11px; }
.drawer-total strong { color: var(--navy); font-size: 14px; }
.drawer-disclaimer { color: #909196; font-size: 10px; line-height: 1.6; margin: 6px 0 15px; }
.request-comment-label { margin-bottom: 6px; color: #555b65; font-size: 10px; font-weight: 700; }
.request-comment-label span { color: #999; font-weight: 400; }
.request-comment { width: 100%; resize: vertical; min-height: 64px; margin-bottom: 12px; padding: 9px 10px; border: 1px solid var(--line); color: var(--ink); font: 11px/1.5 var(--sans); }
.request-history-list { display: grid; gap: 12px; }
.request-history-card { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 18px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.request-history-card span { color: #777; font-size: 11px; }
.request-history-card p { grid-column: 1 / -1; margin: 0; color: #898b90; font-size: 11px; }
.primary-button { min-height: 48px; border: 0; background: var(--navy); color: #fff; text-align: left; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.primary-button span { font-size: 18px; color: var(--gold); }
.primary-button:disabled { background: #b8bbc1; cursor: not-allowed; }
.drawer-footnote { min-height: 18px; color: var(--gold-deep); font-size: 10px; margin: 10px 0 0; text-align: center; }
.drawer-open { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .app-shell { padding: 0 28px; }
  .catalog-layout { grid-template-columns: 190px minmax(0,1fr); gap: 24px; }
  .filters { padding-right: 20px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .auction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topbar { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; min-height: 48px; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 13px; }
  .app-shell { padding: 0 16px; }
  .topbar { min-height: 72px; grid-template-columns: 1fr auto; }
  .brand-seal { width: 34px; height: 34px; }
  .brand-word { font-size: 18px; }
  .top-actions { gap: 10px; }
  .main-nav { justify-content: space-between; min-height: 47px; gap: 0; }
  .nav-link { padding: 0 8px; font-size: 11px; }
  .nav-link.active::after { left: 8px; right: 8px; }
  .intro { min-height: 226px; padding: 33px 2px; }
  .intro-stamp { margin: 22px 1px 0 0; align-self: start; }
  .stamp-ring { width: 83px; height: 83px; }
  .stamp-ring::before { inset: 4px; }
  .stamp-ring span { top: 11px; font-size: 4px; }
  .stamp-ring b { font-size: 33px; }
  .stamp-ring small { font-size: 4px; margin-top: 4px; }
  h1 { font-size: 37px; }
  .intro-text { max-width: 260px; font-size: 11px; }
  .intro::after { width: 300px; height: 300px; right: -220px; top: -30px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 17px; padding-top: 17px; }
  .filters { border-right: 0; padding-right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
  .filter-heading { grid-column: 1 / -1; margin: 0; padding: 0 0 10px; }
  .filters > .filter-label, .search-field { grid-column: 1 / -1; }
  .filter-group { margin-top: 0; }
  .filter-foot { display: none; }
  .filter-hint { grid-column: 1 / -1; }
  .catalog-toolbar { align-items: end; margin-top: 9px; }
  .catalog-toolbar h2 { font-size: 27px; }
  .sort-control { gap: 3px; }
  .sort-control span { display: none; }
  .product-grid { gap: 9px; }
  .product-card { padding: 6px; }
  .product-image-wrap { aspect-ratio: 1 / 1; }
  .product-meta { margin: 10px 1px 6px; font-size: 8px; }
  .availability { font-size: 7px; }
  .product-title { font-size: 12px; height: 50px; margin-bottom: 8px; }
  .product-price { font-size: 11px; }
  .add-button { width: 28px; height: 28px; }
  .footer { gap: 10px; font-size: 7px; }
  .section-view { min-height: 70vh; padding: 46px 0; }
  .section-view > h2 { font-size: 38px; }
  .auction-grid { grid-template-columns: 1fr; }
  .preview-note { margin-top: 12px; }
  .request-drawer { padding: 23px 18px; }
}

.request-contact-label { display: flex; justify-content: space-between; margin: 12px 0 7px; color: var(--muted); font-size: 10px; }
.request-contact-label span { color: #999; font-weight: 400; }
.request-phone { min-height: 42px; width: 100%; margin-bottom: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); font: 11px/1.5 var(--sans); }
.request-phone:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
html[data-theme="dark"] .request-phone { background: var(--surface); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Photo valuation is the primary Mini App entry, with a real catalogue image as texture. */
.intro-cta { font-family: var(--sans); }
.intro-art .featured-product-copy { right: 18px; bottom: 18px; left: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: none; padding: 15px 18px; }
.intro-art .featured-product-copy > span:first-child { display: block; color: #dfc991; font: 700 10px/1.2 var(--sans); letter-spacing: .15em; }
.intro-art .featured-product-copy strong { display: block; color: #faf6ed; font: 500 24px/1.15 var(--serif); }
.intro-art .featured-product-copy > span:nth-of-type(2) { display: block; color: #e6ddc9; font: 500 12px/1.3 var(--sans); }
.intro h1 { max-width: 650px; }
.request-contact-note { margin: -1px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.request-share-phone { width: 100%; min-height: 42px; margin: 0 0 13px; border: 1px solid #b69d6e; border-radius: 11px; background: #f3ecda; color: #373126; font: 650 11px var(--sans); cursor: pointer; }
.request-share-phone:disabled { opacity: .55; cursor: default; }
html[data-theme="dark"] .request-share-phone { background: #403a2a; color: #f0e0bc; }
@media (max-width: 700px) {
  .intro { height: 238px; min-height: 238px; max-height: none; }
  .intro-copy { width: 66%; padding-top: 15px; }
  .intro h1 { font-size: clamp(25px, 7vw, 34px); line-height: 1.02; }
  .intro-text { display: block; max-width: 230px; margin-top: 8px; color: #e6e4d8; font-size: 9px; line-height: 1.38; }
  .intro-cta { min-height: 37px; margin-top: 10px; padding: 5px 9px; }
  .intro-art .featured-product-copy { right: 7px; bottom: 8px; left: auto; max-width: 117px; padding: 7px 8px; }
  .intro-art .featured-product-copy > span:first-child { font-size: 6px; letter-spacing: .07em; }
  .intro-art .featured-product-copy strong { font-size: 14px; }
  .intro-art .featured-product-copy > span:nth-of-type(2) { font-size: 8px; white-space: normal; }
}

/* Acoin editorial cabinet direction */
:root {
  --paper: #f4f1e9;
  --surface: #fbfaf6;
  --ink: #1d2422;
  --muted: #777b73;
  --line: #ded9ce;
  --gold: #b89a5c;
  --gold-deep: #947643;
  --navy: #1b2825;
}
body { background: #f4f1e9; color: var(--ink); }
.app-shell { max-width: 1560px; padding: 0 64px; }
.topbar { min-height: 84px; border-bottom-color: #d9d4c8; }
.brand { color: #1b2825; gap: 12px; }
.brand-seal { border-color: #aa8c50; }
.brand-seal::before { border-color: #aa8c50; }
.brand-word { letter-spacing: .18em; font-size: 18px; }
.main-nav { gap: 20px; }
.nav-link { color: #686b65; font-size: 12px; letter-spacing: .02em; }
.nav-link.active { color: #1b2825; }
.nav-link.active::after { background: #aa8c50; height: 1px; left: 12px; right: 12px; }
.currency-control select { color: #1b2825; }
.bag-button svg { stroke: #1b2825; }
.bag-button span { background: #1b2825; color: #f7f4ec; }
main { padding-bottom: 72px; }
.intro {
  min-height: 452px;
  margin: 24px 0 0;
  padding: 54px 7.2%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 36px;
  background: #1c2926;
  color: #f5f1e8;
}
.intro::after { width: 640px; height: 640px; right: -110px; top: -300px; border-color: #f4f1e91a; box-shadow: 0 0 0 24px #1c2926, 0 0 0 25px #f4f1e911, 0 0 0 64px #1c2926, 0 0 0 65px #f4f1e90c; }
.intro-copy { position: relative; z-index: 2; padding: 15px 0; }
.intro .eyebrow { color: #c9ad73; font-size: 9px; letter-spacing: .22em; margin-bottom: 22px; }
.intro .eyebrow-line { background: #c9ad73; }
.intro h1 { color: #f5f1e8; font-size: clamp(42px, 4.4vw, 65px); line-height: 1.02; letter-spacing: -.04em; max-width: 620px; margin-bottom: 22px; }
.intro h1 em { color: #d4bb86; font-style: italic; }
.intro-text { color: #c7c9bf; font: 13px/1.8 var(--sans); max-width: 420px; }
.intro-cta { display: inline-flex; align-items: center; gap: 30px; margin-top: 23px; padding: 14px 17px; color: #f7f3e9; border: 1px solid #9f885c; text-decoration: none; font-size: 11px; letter-spacing: .04em; transition: background .2s, color .2s; }
.intro-cta span { color: #d4bb86; font-size: 17px; }
.intro-cta:hover { background: #d4bb86; color: #1c2926; }
.intro-cta:hover span { color: #1c2926; }
.intro-art { height: 335px; position: relative; z-index: 1; display: grid; place-items: center; }
.intro-image-frame { width: min(100%, 375px); height: 300px; padding: 22px; overflow: hidden; background: #e9e2d3; border: 1px solid #b9a77f; box-shadow: 16px 18px 0 #14201d, 17px 19px 0 #9d8c68; transform: translateX(14px) rotate(1.4deg); }
.intro-image-frame img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.intro-art-index, .intro-art-caption { position: absolute; z-index: 2; color: #e7dfce; }
.intro-art-index { display: none; }
.intro-art-index i { margin: 0 7px; color: #c9ad73; font-style: normal; }
.intro-art-caption { right: 0; bottom: -20px; padding: 8px 10px; background: #1c2926; color: #e5d9bb; font: 18px/1.12 var(--serif); text-align: right; }
.intro-art-caption em { color: #c9ad73; }
.assurance-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 23px 5.8%; border-bottom: 1px solid var(--line); }
.assurance-strip > div { display: flex; align-items: center; gap: 13px; }
.assurance-mark { font: 16px var(--serif); color: #9a8150; }
.assurance-strip strong, .assurance-strip small { display: block; }
.assurance-strip strong { font-size: 10px; font-weight: 600; letter-spacing: .025em; color: #313a35; }
.assurance-strip small { margin-top: 5px; color: #8b8b81; font-size: 9px; }
.preview-note { margin-top: 17px; background: #f0e9d9; border-color: #ddd0b4; color: #655637; }
.catalog-layout { margin-top: 38px; padding-top: 29px; border-top-color: #d6d0c3; grid-template-columns: 224px minmax(0,1fr); gap: 42px; }
.filters { border-color: #d8d2c6; }
.filter-heading { color: #24302c; border-color: #ded9ce; font: 18px var(--serif); }
.text-button { color: #8b7140; }
.search-field, .filter-select { background: #faf9f5; border-color: #d9d4c8; border-radius: 0; }
.filter-label { color: #656a62; font-size: 10px; letter-spacing: .04em; }
.filter-foot { border-color: #ded9ce; }
.catalog-toolbar { margin-bottom: 24px; }
.eyebrow.compact { color: #8d7445; font-size: 8px; letter-spacing: .22em; }
.catalog-toolbar h2, .section-view > h2 { color: #1b2825; font-size: 37px; letter-spacing: -.02em; }
.sort-control select { color: #29342f; }
.product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.product-card { padding: 0 0 13px; background: transparent; border: 0; border-bottom: 1px solid #d8d2c6; box-shadow: none; transition: transform .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: none; }
.product-image-wrap { aspect-ratio: 1.08 / 1; background: #eae6dc; border: 1px solid #e2ddd2; }
.product-image-wrap img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image-wrap img { transform: scale(1.045); }
.image-index { top: 12px; left: 12px; padding: 6px 8px; color: #68695f; font-size: 7px; letter-spacing: .16em; }
.product-meta { margin: 15px 1px 8px; font-size: 9px; color: #777b72; }
.availability { color: #72786d; font-size: 8px; }
.availability-dot { background: #9c8b5d; }
.product-title { height: 43px; margin: 0 1px 11px; color: #26312d; font-size: 16px; line-height: 1.32; }
.product-footer { border-color: #ded9ce; padding: 11px 1px 0; }
.product-price { color: #25312d; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.add-button { border-color: #b5a57e; background: transparent; color: #75613a; border-radius: 50%; width: 32px; height: 32px; font-size: 19px; }
.add-button:hover { background: #1c2926; border-color: #1c2926; color: #fff; }
.empty-state { color: #777b73; }
.section-view { min-height: 66vh; padding: 66px 5.8%; }
.section-view > h2 { margin: 0 0 12px; }
.auction-intro { max-width: 570px; margin: 0 0 30px; color: #787b73; font-size: 12px; line-height: 1.7; }
.auction-preview-notice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 20px 0 22px; color: #594d34; background: #eee7d8; border: 1px solid #d9ceb4; }
.auction-preview-notice > span { flex: 0 0 auto; padding: 6px 8px; background: #89734a; color: #fff; font-size: 8px; letter-spacing: .14em; }
.auction-preview-notice p { margin: 0; font-size: 11px; line-height: 1.55; }
.auction-grid { gap: 22px; }
.auction-card { padding: 0 0 17px; border: 0; border-bottom: 1px solid #d8d2c6; background: transparent; }
.auction-card.is-demo { opacity: .93; }
.auction-image { display: block; width: 100%; aspect-ratio: 1.12 / 1; margin: 0 0 16px; object-fit: cover; background: #eae6dc; }
.auction-phase { padding: 6px 8px; color: #74613c; background: #ece5d6; font-size: 8px; letter-spacing: .1em; }
.auction-card h3 { margin: 13px 0 8px; color: #26312d; font-size: 19px; }
.auction-description { min-height: 65px; font-size: 10px; }
.auction-price { color: #24302c; font: 600 20px var(--sans); }
.auction-stats { border-color: #ded9ce; }
.auction-demo-guard { padding-top: 12px; margin: auto 0 0; color: #7b6844; font-size: 9px; letter-spacing: .02em; }
.auction-bid-history summary { color: #887144; }
.footer { border-color: #d9d4c8; color: #7f8078; min-height: 70px; }
.request-drawer { background: #faf9f5; }
.drawer-head { border-color: #ded9ce; }
.drawer-head h2 { color: #1b2825; }
.primary-button { background: #1c2926; }
.primary-button span { color: #d4bb86; }

@media (max-width: 980px) {
  .app-shell { padding: 0 30px; }
  .intro { min-height: 400px; grid-template-columns: minmax(0,1fr) minmax(300px,.9fr); gap: 22px; padding: 43px 5%; }
  .intro-art { height: 295px; }
  .intro-image-frame { height: 260px; }
  .assurance-strip { padding-left: 2%; padding-right: 2%; gap: 14px; }
  .catalog-layout { gap: 26px; }
}
@media (max-width: 620px) {
  .app-shell { padding: 0 16px; }
  .topbar { min-height: 68px; }
  .brand-seal { width: 33px; height: 33px; }
  .brand-word { font-size: 16px; }
  .main-nav { min-height: 45px; }
  .nav-link { font-size: 10px; }
  main { padding-bottom: 36px; }
  .intro { margin-top: 14px; padding: 31px 23px 23px; min-height: initial; grid-template-columns: 1fr; gap: 26px; }
  .intro .eyebrow { font-size: 7px; margin-bottom: 17px; }
  .intro h1 { font-size: clamp(37px, 10.3vw, 49px); margin-bottom: 16px; }
  .intro-text { font-size: 11px; line-height: 1.7; max-width: 330px; }
  .intro-cta { margin-top: 18px; padding: 12px 14px; }
  .intro-art { height: 235px; margin: 0 4px 13px; }
  .intro-image-frame { width: 82%; height: 202px; padding: 14px; transform: translateX(7px) rotate(1.4deg); }
  .intro-art-index { top: 2px; left: 1%; font-size: 6px; }
  .intro-art-caption { right: -2px; bottom: -9px; padding: 6px 8px; font-size: 15px; }
  .intro::after { width: 350px; height: 350px; top: -80px; right: -235px; }
  .assurance-strip { grid-template-columns: 1fr; gap: 14px; padding: 19px 6px; }
  .assurance-strip > div { gap: 12px; }
  .assurance-mark { font-size: 14px; }
  .assurance-strip strong { font-size: 9px; }
  .assurance-strip small { font-size: 8px; margin-top: 3px; }
  .preview-note { margin-top: 14px; font-size: 9px; }
  .catalog-layout { margin-top: 23px; padding-top: 18px; gap: 17px; }
  .filters { gap: 10px; }
  .filter-heading { font-size: 16px; }
  .catalog-toolbar { margin: 8px 0 15px; }
  .catalog-toolbar h2 { font-size: 30px; }
  .product-grid { gap: 17px 10px; }
  .product-card { padding-bottom: 10px; }
  .product-image-wrap { aspect-ratio: .94 / 1; }
  .product-meta { display: block; margin: 10px 1px 6px; font-size: 8px; }
  .availability { justify-content: flex-start; margin-top: 5px; font-size: 7px; }
  .product-title { font-size: 13px; line-height: 1.3; height: 50px; margin-bottom: 7px; }
  .product-price { font-size: 11px; }
  .add-button { width: 29px; height: 29px; }
  .section-view { padding: 42px 0; }
  .section-view > h2 { font-size: 39px; }
  .auction-intro { font-size: 11px; }
  .auction-grid { grid-template-columns: 1fr; gap: 25px; }
  .auction-image { aspect-ratio: 1.2 / 1; }
  .auction-description { min-height: auto; }
  .auction-preview-notice { align-items: flex-start; gap: 10px; padding: 12px; }
  .auction-preview-notice p { font-size: 10px; }
  .footer { gap: 8px; font-size: 7px; }
}

/* Acoin identity: monochrome cabinet, gilt mark, cinematic coin study. */
:root {
  --paper: #f7f6f2;
  --surface: #fff;
  --ink: #121313;
  --muted: #777875;
  --line: #dfddd7;
  --gold: #d8ae5e;
  --gold-deep: #a57e30;
  --navy: #111313;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}
body { background: var(--paper); color: var(--ink); }
.app-shell { max-width: 1600px; padding: 0 48px; }
.brand-ribbon { height: 28px; display: flex; justify-content: center; align-items: center; gap: 12px; background: #141515; color: #f5f3ee; font-size: 8px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.brand-ribbon i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.topbar { min-height: 88px; grid-template-columns: 1fr auto 1fr; border-bottom: 1px solid #d8d6d0; }
.brand { color: #111; gap: 0; }
.brand-logo { display: block; width: 120px; height: 68px; object-fit: contain; }
.main-nav { gap: 8px; }
.nav-link { color: #686966; padding: 0 15px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.nav-link.active { color: #111; font-weight: 700; }
.nav-link.active::after { height: 2px; left: 14px; right: 14px; bottom: -1px; background: var(--gold); }
.currency-control select { color: #171817; }
.bag-button svg { stroke: #171817; }
.bag-button span { background: var(--gold); color: #121313; }
main { padding-bottom: 70px; }
.intro {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(350px, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #0c0d0e;
  border-radius: 2px;
  isolation: isolate;
}
.intro::before { content: ""; position: absolute; width: 470px; height: 470px; left: 18%; bottom: -65%; border: 1px solid #d8ae5e26; border-radius: 50%; box-shadow: 0 0 0 28px #0c0d0e, 0 0 0 29px #d8ae5e12, 0 0 0 68px #0c0d0e, 0 0 0 69px #d8ae5e0c; pointer-events: none; z-index: -1; }
.intro::after { content: ""; position: absolute; inset: 0 auto 0 32%; width: 26%; background: linear-gradient(90deg,#0c0d0e,transparent); border: 0; border-radius: 0; box-shadow: none; opacity: 1; z-index: 1; }
.intro-copy { align-self: center; z-index: 2; padding: 60px 0 68px 11%; animation: acoin-rise .75s both; }
.intro .eyebrow { color: #d8ae5e; font-size: 8px; letter-spacing: .19em; margin-bottom: 24px; }
.intro .eyebrow-line { width: 23px; background: var(--gold); }
.intro .eyebrow i { color: #8e8f8b; font-style: normal; }
.intro h1 { max-width: 520px; color: #f7f6f2; font-family: var(--sans); font-size: clamp(56px, 7vw, 100px); line-height: .88; letter-spacing: -.075em; font-weight: 650; margin: 0 0 25px; }
.intro h1 em { display: inline-block; margin-top: .1em; color: var(--gold); font-weight: 500; font-style: normal; letter-spacing: -.07em; }
.intro-text { max-width: 355px; color: #c1c1bc; font: 12px/1.8 var(--sans); }
.intro-cta { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; min-width: 225px; margin-top: 16px; padding: 13px 15px; border: 1px solid var(--gold); border-radius: 2px; color: #161616; background: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .025em; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.intro-cta b { font-size: 17px; font-weight: 400; transition: transform .2s; }
.intro-cta span { color: inherit; }
.intro-cta:hover { background: transparent; color: var(--gold); transform: translateY(-2px); }
.intro-cta:hover b { transform: translate(3px,-3px); }
.intro-caption { display: block; margin-top: 30px; color: #777973; font-size: 7px; letter-spacing: .23em; }
.intro-art { position: relative; z-index: 0; align-self: stretch; min-height: 500px; height: auto; display: block; overflow: hidden; background: #141515; transform-style: preserve-3d; }
.hero-film-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; opacity: .84; filter: saturate(.78) contrast(1.06); transform: scale(1.035); transition: transform 1.1s cubic-bezier(.2,.65,.2,1), filter .8s; }
.intro-art:hover .hero-poster { transform: scale(1.09); filter: saturate(.98) contrast(1.05); }
.intro-art::before { content: ""; position: absolute; inset: 10% 8% 10% 5%; z-index: 2; border: 1px solid #ffffff20; pointer-events: none; transform: translateZ(16px); }
.intro-art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,#0c0d0e0a 0%,transparent 30%),linear-gradient(0deg,#080909a6,transparent 28%); }
.hero-film-index { position: absolute; z-index: 3; right: 10%; top: 10%; color: #f7f5ee; font: 9px/1 var(--sans); letter-spacing: .18em; text-shadow: 0 1px 10px #000; }
.hero-film-play { position: absolute; z-index: 3; right: 9%; bottom: 11%; display: flex; align-items: center; gap: 11px; padding: 9px 12px 9px 9px; border: 1px solid #ffffff6b; background: #0d0e0dbd; color: #f7f5ee; cursor: pointer; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); transition: border-color .2s, transform .2s, background .2s; }
.hero-film-play:hover { transform: translateY(-3px); border-color: var(--gold); background: #0d0e0def; }
.hero-film-play b { color: var(--gold); font-size: 8px; font-weight: 500; }
.play-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 8px; padding-left: 2px; }
.assurance-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding: 25px 4.5%; border-bottom: 1px solid #dedbd4; background: #fff; }
.assurance-strip > div { min-height: 38px; padding-left: 19px; border-left: 1px solid #e5e2da; gap: 13px; }
.assurance-strip > div:first-child { border-left-color: var(--gold); }
.assurance-mark { font: 14px var(--serif); color: #b2893f; }
.assurance-strip strong { color: #161716; font-size: 10px; font-weight: 700; letter-spacing: .005em; }
.assurance-strip small { color: #83837e; font-size: 8px; }
.preview-note { margin-top: 18px; border: 1px solid #d8c99f; background: #f5f0e4; color: #5c4b2a; }
.catalog-layout { grid-template-columns: 206px minmax(0,1fr); gap: 38px; margin-top: 42px; padding-top: 30px; border-top: 1px solid #d8d6d0; }
.filters { padding-right: 23px; border-right-color: #dedbd4; }
.filter-heading { font: 17px var(--serif); color: #161716; border-color: #dedbd4; }
.filter-label { color: #666762; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.search-field, .filter-select { border-radius: 2px; border-color: #d8d6d0; background: #fff; }
.search-field { height: 44px; }
.search-field:focus-within, .filter-select:focus-visible { outline: 1px solid #b89149; outline-offset: 1px; }
.filter-select { height: 42px; }
.filter-foot { border-color: #dedbd4; color: #70716d; }
.filter-ornament { color: var(--gold-deep); }
.catalog-toolbar { align-items: center; margin-bottom: 17px; }
.catalog-toolbar h2, .section-view > h2 { color: #121313; font: 400 38px/1.1 var(--serif); letter-spacing: -.035em; }
.eyebrow.compact { color: #9a7737; font-size: 7px; letter-spacing: .2em; }
.sort-control { color: #82837e; font-size: 9px; }
.sort-control select { color: #171817; font-size: 9px; }
.quick-filters { display: flex; align-items: center; gap: 7px; margin: 0 0 21px; overflow-x: auto; scrollbar-width: none; }
.quick-filters::-webkit-scrollbar { display: none; }
.quick-filter { padding: 9px 13px; border: 1px solid #dedbd4; border-radius: 2px; background: transparent; color: #676862; font-size: 9px; white-space: nowrap; cursor: pointer; transition: color .2s,border-color .2s,background .2s; }
.quick-filter[aria-pressed="true"], .quick-filter:hover { background: #151616; border-color: #151616; color: #fff; }
.quick-filter[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--gold); }
.product-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 25px 17px; perspective: 1400px; }
.product-card { position: relative; display: flex; flex-direction: column; grid-column: span 4; padding: 0 0 14px; border: 0; border-bottom: 1px solid #d8d6d0; background: transparent; transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transform-style: preserve-3d; transition: transform .36s cubic-bezier(.2,.75,.2,1); animation: acoin-rise .55s backwards; animation-delay: calc(var(--card-order,0) * 45ms); }
.product-card::before { content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,45%),#ffffff6c,transparent 38%); mix-blend-mode: screen; transition: opacity .25s; }
.product-card:hover::before { opacity: .7; }
.product-card-featured { grid-column: span 8; }
.product-image-wrap { aspect-ratio: 1 / 1; background: #efeee9; border: 1px solid #e3e0d9; transform: translateZ(11px); }
.product-card-featured .product-image-wrap { aspect-ratio: 1.48 / 1; }
.product-image-wrap img { object-fit: contain; mix-blend-mode: multiply; transition: transform .65s cubic-bezier(.2,.72,.2,1), filter .5s; }
.product-card:hover .product-image-wrap img { transform: scale(1.055) translateZ(18px); filter: contrast(1.035); }
.image-index { background: #fffefa; border: 1px solid #e7e2d5; padding: 6px 8px; color: #73694f; font-size: 7px; letter-spacing: .13em; }
.product-meta { margin: 13px 2px 7px; color: #7f807a; font-size: 8px; letter-spacing: .02em; }
.availability { color: #777970; font-size: 8px; }
.availability-dot { background: #b5914b; }
.product-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: auto; min-height: 41px; margin: 0 2px 9px; color: #151616; font: 500 15px/1.35 var(--serif); }
.product-card-featured .product-title { font-size: 21px; }
.product-essentials { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 3px 0; min-height: 32px; margin: 0 2px 10px; color: #73746f; font: 10px/1.35 var(--sans); }
.product-essentials span { white-space: nowrap; }
.product-essentials span:not(:last-child)::after { content: "/"; margin: 0 9px; color: #b28f4e; }
.product-footer { margin-top: auto; padding: 10px 2px 1px; border-color: #e1ded7; }
.product-price { color: #181918; font-size: 12px; letter-spacing: .015em; }
.product-card-featured .product-price { font-size: 15px; }
.add-button { width: 34px; height: 34px; border: 1px solid #baa066; border-radius: 50%; background: #fff; color: #201d17; font-size: 20px; transition: transform .2s,background .2s,color .2s; }
.add-button:hover { transform: rotate(90deg); border-color: #181918; background: #181918; color: #fff; }
.empty-state { color: #747570; }
.empty-coin { border-color: #bc9854; color: #96733b; }
.section-view { min-height: 68vh; padding: 62px 5.5%; }
.section-view > h2 { font-size: 48px; }
.auction-intro { color: #73746f; }
.auction-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.auction-card { padding: 0 0 18px; border: 0; border-bottom: 1px solid #d9d6cf; background: transparent; }
.auction-image { margin: 0 0 14px; width: 100%; aspect-ratio: 1.1 / 1; background: #eeede7; }
.auction-phase { border: 1px solid #e2d9c7; background: #f4f0e7; color: #7f6537; font-size: 8px; letter-spacing: .12em; }
.auction-phase.open { border-color: #d4ad58; background: #171817; color: #e4c273; }
.auction-card h3 { color: #151616; font-size: 20px; }
.auction-description { color: #797a74; font-size: 10px; }
.auction-price { color: #151616; font: 600 20px var(--sans); }
.auction-stats { border-color: #e0ddd6; }
.auction-demo-guard { color: #927036; }
.auction-preview-notice { border-color: #dbccaa; border-radius: 2px; background: #f5f0e4; color: #594a2c; }
.auction-preview-notice > span { background: #171817; color: var(--gold); }
.footer { border-color: #d8d6d0; color: #858681; }
.request-drawer { background: #fbfaf7; }
.drawer-head { border-color: #dedbd4; }
.drawer-head h2 { color: #151616; }
.primary-button { background: #171817; }
.primary-button span { color: var(--gold); }
.hero-film-dialog { width: min(1040px,calc(100vw - 30px)); max-width: none; padding: 0; overflow: visible; border: 1px solid #343432; background: #090a0a; box-shadow: 0 25px 100px #0009; }
.hero-film-dialog::backdrop { background: #050606df; backdrop-filter: blur(6px); }
.hero-film-dialog video { display: block; width: 100%; max-height: calc(100dvh - 90px); background: #080909; }
.hero-film-close { position: absolute; z-index: 2; top: -17px; right: -17px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #b99148; border-radius: 50%; background: #121313; color: #f7f6f2; font-size: 24px; cursor: pointer; }
@keyframes acoin-rise { from { opacity: 0; transform: translate3d(0,16px,0); } to { opacity: 1; transform: translate3d(0,0,0) perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); } }
@media (hover:hover) and (pointer:fine) {
  .product-card:hover { z-index: 5; transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(0,-7px,18px); }
}
@media (max-width: 980px) {
  .app-shell { padding: 0 25px; }
  .topbar { grid-template-columns: auto 1fr auto; }
  .main-nav { justify-content: center; gap: 0; }
  .nav-link { padding: 0 10px; font-size: 9px; }
  .intro { min-height: 430px; grid-template-columns: minmax(290px,.78fr) minmax(0,1.22fr); }
  .intro-art { min-height: 430px; }
  .intro-copy { padding-left: 9%; }
  .intro h1 { font-size: clamp(51px,7vw,75px); }
  .assurance-strip { padding-left: 1%; padding-right: 1%; gap: 10px; }
  .assurance-strip > div { padding-left: 12px; }
  .catalog-layout { grid-template-columns: 180px minmax(0,1fr); gap: 25px; }
  .product-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px 13px; }
  .product-card { grid-column: span 3; }
  .product-card-featured { grid-column: span 6; }
  .product-card-featured .product-image-wrap { aspect-ratio: 1.75 / 1; }
}
@media (max-width: 620px) {
  .app-shell { padding: 0 13px; }
  .brand-ribbon { height: 24px; gap: 8px; font-size: 7px; letter-spacing: .13em; }
  .topbar { min-height: 65px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 96px; height: 56px; }
  .top-actions { gap: 4px; }
  .currency-control select { font-size: 10px; padding-right: 16px; }
  .main-nav { min-height: 43px; justify-content: space-between; grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #e6e3dc; }
  .nav-link { padding: 0 8px; font-size: 8px; letter-spacing: .065em; }
  .nav-link.active::after { left: 8px; right: 8px; }
  .intro { position: relative; display: flex; align-items: flex-start; margin-top: 12px; height: calc(100svh - 136px); min-height: 540px; max-height: 760px; border-radius: 2px; }
  .intro::before { display: none; }
  .intro::after { display: none; }
  .intro-copy { align-self: flex-start; padding: 40px 26px 28px; }
  .intro .eyebrow { font-size: 7px; margin-bottom: 20px; }
  .intro h1 { margin-bottom: 21px; font-size: clamp(44px,12.5vw,56px); }
  .intro-text { max-width: 290px; font-size: 11px; line-height: 1.7; }
  .intro-cta { margin-top: 15px; min-width: 218px; min-height: 47px; padding: 11px 14px; font-size: 10px; }
  .intro-caption { display: none; }
  .intro-art { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; margin: 0; }
  .hero-poster { object-position: 56% 60%; opacity: 1; filter: saturate(.86) contrast(1.06) brightness(1.08); }
  .intro-art::before { inset: 14px; }
  .intro-art::after { display: block; background: linear-gradient(180deg,#090a0af2 0%,#090a0ad9 29%,#090a0a21 63%,#090a0a8c 100%); }
  .hero-film-index { top: 22px; right: 23px; font-size: 7px; }
  .hero-film-play { right: 22px; bottom: 22px; gap: 8px; min-height: 42px; padding: 7px 11px; border-color: #d8ae5e82; background: #0a0b0be8; color: #fff; font-size: 9px; }
  .play-icon { width: 23px; height: 23px; }
  .assurance-strip { grid-template-columns: 1fr; gap: 10px; padding: 16px 8px; }
  .assurance-strip > div { min-height: 31px; padding-left: 10px; gap: 11px; }
  .assurance-mark { font-size: 12px; }
  .assurance-strip strong { font-size: 9px; }
  .assurance-strip small { margin-top: 2px; font-size: 7px; }
  .preview-note { margin-top: 12px; padding: 9px 11px; font-size: 9px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; padding-top: 19px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; border: 0; }
  .filter-heading { grid-column: 1 / -1; margin: 0; padding-bottom: 10px; }
  .filters > .filter-label, .search-field { grid-column: 1 / -1; }
  .filter-group { margin-top: 0; }
  .filter-foot { display: none; }
  .filter-label { margin-bottom: 6px; font-size: 7px; }
  .search-field { height: 39px; }
  .filter-select { height: 39px; font-size: 10px; }
  .catalog-toolbar { align-items: end; margin: 5px 0 12px; }
  .catalog-toolbar h2 { font-size: 29px; }
  .quick-filters { gap: 6px; margin-bottom: 15px; }
  .quick-filter { padding: 8px 10px; font-size: 8px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 10px; }
  .product-card { grid-column: span 1; padding-bottom: 9px; }
  .product-card-featured { grid-column: span 2; }
  .product-image-wrap { aspect-ratio: .95 / 1; }
  .product-card-featured .product-image-wrap { aspect-ratio: 1.4 / 1; }
  .product-meta { display: flex; gap: 4px; margin: 9px 1px 6px; font-size: 8px; }
  .availability { font-size: 7px; }
  .product-title { min-height: 0; margin: 0 1px 8px; font-size: 13px; -webkit-line-clamp: 3; }
  .product-card-featured .product-title { min-height: 0; font-size: 13px; }
  .product-price, .product-card-featured .product-price { font-size: 11px; }
  .add-button { width: 29px; height: 29px; font-size: 17px; }
  .product-essentials { min-height: 0; margin: 0 1px 8px; font-size: 10px; line-height: 1.45; }
  .product-essentials span:not(:last-child)::after { margin: 0 5px; }
  .product-footer { padding-top: 7px; }
  .section-view { padding: 39px 0; }
  .section-view > h2 { font-size: 39px; }
  .auction-grid { grid-template-columns: 1fr; gap: 23px; }
  .auction-image { aspect-ratio: 1.18 / 1; }
  .hero-film-dialog { width: calc(100vw - 22px); }
  .hero-film-close { top: -12px; right: -6px; }
  .footer { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .product-card:hover, .intro-art:hover .hero-poster { transform: none; }
}

/* Acoin collection edition: balanced geometry, vector signature, buyer controls. */
.logo-emblem { stroke: #c9a150; }
.logo-wordmark, .logo-tagline { fill: #111b2d; }
.logo-rule { stroke: #111b2d; }
.brand-logo { overflow: visible; }
.brand-logo { user-select: none; }
.catalog-language-note { margin: 0 0 20px; padding: 11px 14px; border-left: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 9%, transparent); color: var(--muted); font-size: 12px; line-height: 1.5; }
.top-actions { gap: 10px; }
.language-control select { border: 0; background: transparent; color: var(--ink); font: 700 10px var(--sans); cursor: pointer; padding: 9px 4px; }
.theme-toggle { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; transition: border-color .2s, color .2s, transform .25s; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-deep); transform: rotate(20deg); }
.theme-toggle:focus-visible, .language-control select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.intro { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.intro-copy { position: relative; padding-left: 10%; padding-right: 6%; }
.brand-coin-scene { position: absolute; right: -49px; bottom: 38px; width: 98px; height: 98px; z-index: 4; perspective: 500px; pointer-events: none; }
.brand-coin { display: block; width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: acoin-coin-turn 16s cubic-bezier(.45,.05,.55,.95) infinite; filter: drop-shadow(0 10px 13px #0008); }
.brand-coin-face { position: absolute; inset: 0; display: grid; place-items: center; border: 4px ridge #e8cc8d; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#f9df9b 0,#d8ae5e 38%,#8e692a 79%,#e2bb70 100%); box-shadow: inset 0 0 0 3px #8e692a,inset 0 0 0 7px #f6d887,inset 0 0 0 9px #8e692a; backface-visibility: hidden; }
.brand-coin-face img { width: 50px; height: 50px; opacity: .8; }
.brand-coin-back { transform: rotateY(180deg); }
@keyframes acoin-coin-turn { 0%, 15% { transform: rotateY(-10deg); } 40%, 58% { transform: rotateY(190deg); } 83%, 100% { transform: rotateY(350deg); } }
.product-card-featured { grid-column: span 4; }
.product-card-featured .product-image-wrap { aspect-ratio: 1 / 1; }
.product-card-featured .product-title { font-size: 15px; }
.product-card-featured .product-price { font-size: 12px; }
.checkout-button { background: var(--gold); color: #141616; font-weight: 700; }
.checkout-button span { color: #141616; }
.checkout-button:hover:not(:disabled) { background: #e9c67f; }
.checkout-hint { margin: 7px 0 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.request-secondary { min-height: 43px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.request-secondary span { color: var(--gold-deep); }
.request-secondary:hover:not(:disabled) { border-color: var(--gold); }
.request-secondary:disabled { background: transparent; color: var(--muted); }
.valuation-view { max-width: 1180px; margin: 0 auto; }
.valuation-intro { max-width: 620px; color: var(--muted); font: 15px/1.7 var(--serif); margin-bottom: 32px; }
.valuation-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.valuation-steps article { min-height: 230px; padding: 27px; border: 1px solid var(--line); background: var(--surface); }
.valuation-steps article > span { color: var(--gold-deep); font: 18px var(--serif); }
.valuation-steps h3 { margin: 34px 0 10px; color: var(--ink); font: 400 25px/1.2 var(--serif); }
.valuation-steps p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.valuation-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.valuation-primary { width: min(300px,100%); background: var(--gold); color: #141616; text-decoration: none; }
.valuation-primary { min-height: 50px; border: 1px solid var(--gold); cursor: pointer; }
.valuation-primary span { color: #141616; }
.valuation-link { color: var(--gold-deep); font-size: 11px; text-underline-offset: 4px; }
.valuation-note { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

html[data-theme="dark"] { color-scheme: dark; --paper: #0c1012; --surface: #171c1d; --ink: #f2f0e9; --muted: #a9b0ab; --line: #343b3c; --navy: #f2f0e9; --gold: #d6b36d; --gold-deep: #d6b36d; }
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .topbar, html[data-theme="dark"] .main-nav, html[data-theme="dark"] .catalog-layout, html[data-theme="dark"] .footer { border-color: var(--line); }
html[data-theme="dark"] .logo-wordmark, html[data-theme="dark"] .logo-tagline { fill: #eeeae1; }
html[data-theme="dark"] .logo-rule { stroke: #eeeae1; }
html[data-theme="dark"] .nav-link, html[data-theme="dark"] .currency-control select, html[data-theme="dark"] .language-control select, html[data-theme="dark"] .sort-control select { color: #d0d2cb; }
html[data-theme="dark"] .nav-link.active, html[data-theme="dark"] .catalog-toolbar h2, html[data-theme="dark"] .section-view > h2, html[data-theme="dark"] .filter-heading, html[data-theme="dark"] .product-title, html[data-theme="dark"] .product-price, html[data-theme="dark"] .auction-card h3, html[data-theme="dark"] .auction-price, html[data-theme="dark"] .drawer-head h2, html[data-theme="dark"] .drawer-item-copy strong, html[data-theme="dark"] .drawer-total strong, html[data-theme="dark"] .empty-state h3 { color: #f4f0e8; }
html[data-theme="dark"] .bag-button svg { stroke: #f4f0e8; }
html[data-theme="dark"] .assurance-strip, html[data-theme="dark"] .auction-card, html[data-theme="dark"] .request-drawer, html[data-theme="dark"] .bid-confirm-dialog, html[data-theme="dark"] .request-history-card, html[data-theme="dark"] .search-field, html[data-theme="dark"] .filter-select, html[data-theme="dark"] .load-more { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .assurance-strip, html[data-theme="dark"] .assurance-strip > div, html[data-theme="dark"] .filters, html[data-theme="dark"] .filter-heading, html[data-theme="dark"] .filter-foot, html[data-theme="dark"] .product-card, html[data-theme="dark"] .product-footer, html[data-theme="dark"] .auction-card, html[data-theme="dark"] .request-history-card, html[data-theme="dark"] .drawer-head, html[data-theme="dark"] .drawer-item, html[data-theme="dark"] .drawer-total, html[data-theme="dark"] .search-field, html[data-theme="dark"] .filter-select, html[data-theme="dark"] .load-more { border-color: var(--line); }
html[data-theme="dark"] .assurance-strip strong { color: var(--ink); }
html[data-theme="dark"] .assurance-strip small, html[data-theme="dark"] .product-meta, html[data-theme="dark"] .availability, html[data-theme="dark"] .product-essentials, html[data-theme="dark"] .auction-description, html[data-theme="dark"] .auction-stats, html[data-theme="dark"] .drawer-disclaimer, html[data-theme="dark"] .drawer-empty { color: var(--muted); }
html[data-theme="dark"] .search-field input, html[data-theme="dark"] .request-comment, html[data-theme="dark"] .auction-lot-form input, html[data-theme="dark"] .auction-lot-form textarea, html[data-theme="dark"] .auction-lot-form select { color: var(--ink); background: var(--surface); }
html[data-theme="dark"] .filter-select:disabled { background: #232829; color: #848b87; }
html[data-theme="dark"] .quick-filter { border-color: #49504d; color: #d3d5ce; }
html[data-theme="dark"] .quick-filter[aria-pressed="true"], html[data-theme="dark"] .quick-filter:hover { background: var(--gold); color: #151817; border-color: var(--gold); }
html[data-theme="dark"] .product-image-wrap, html[data-theme="dark"] .auction-image { background: #ece9df; }
html[data-theme="dark"] .image-index { background: #171c1dd9; color: #ede9df; border-color: #3d4240; }
html[data-theme="dark"] .add-button { background: #202626; color: var(--gold); border-color: #51554e; }
html[data-theme="dark"] .primary-button:not(.checkout-button):not(.request-secondary) { background: var(--gold); color: #151817; }
html[data-theme="dark"] .primary-button:not(.checkout-button):not(.request-secondary) span { color: #151817; }
html[data-theme="dark"] .request-secondary { background: transparent; color: var(--ink); border-color: #59605d; }
html[data-theme="dark"] .checkout-button { background: var(--gold); color: #141616; }
html[data-theme="dark"] .preview-note, html[data-theme="dark"] .auction-preview-notice { background: #2b261d; color: #e8d4a7; border-color: #6c5632; }
html[data-theme="dark"] .auction-empty, html[data-theme="dark"] .empty-state { background: transparent; }
html[data-theme="dark"] .auction-phase { background: #342d20; color: #e3c17d; }
html[data-theme="dark"] .auction-phase.open { background: #1d3326; color: #a1d2a7; }
html[data-theme="dark"] .valuation-steps article { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .valuation-primary { background: var(--gold); color: #151817; }

@media (max-width: 980px) {
  .product-card-featured { grid-column: span 3; }
  .product-card-featured .product-image-wrap { aspect-ratio: 1 / 1; }
}
@media (max-width: 620px) {
  .top-actions { gap: 3px; }
  .language-control select { font-size: 9px; padding: 7px 1px; }
  .theme-toggle { width: 28px; height: 28px; font-size: 16px; }
  .brand-coin-scene { display: none; }
  .product-card-featured { grid-column: span 1; }
  .product-card-featured .product-image-wrap { aspect-ratio: .95 / 1; }
  .product-card-featured .product-title { font-size: 13px; }
  .product-card-featured .product-price { font-size: 11px; }
  .main-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-link { flex: 0 0 auto; padding: 0 10px; }
  .valuation-steps { grid-template-columns: 1fr; gap: 10px; }
  .valuation-steps article { min-height: 0; padding: 20px; }
  .valuation-steps h3 { margin: 15px 0 7px; font-size: 22px; }
  .valuation-actions { align-items: stretch; flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .brand-coin { animation: none; } }

/* Manager workbench: aligned with Acoin's quiet paper, ink and bullion palette. */
.manager-view { max-width: 1320px; min-height: 70vh; margin: 0 auto; padding: 42px clamp(0px, 2.2vw, 30px) 80px; scroll-behavior: smooth; }
.manager-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.manager-heading .eyebrow { margin-bottom: 10px; }
.manager-heading .eyebrow > span:last-child { color: #85877f; }
.manager-heading h2 { margin: 0; color: #202824; font: 500 clamp(34px, 4vw, 48px)/1.04 var(--serif); letter-spacing: -.04em; }
.manager-subtitle { margin: 9px 0 0; color: #747a73; font-size: 13px; line-height: 1.6; }
.manager-refresh, .manager-secondary-button, .manager-primary-small { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid #d6d6ce; border-radius: 3px; background: #fff; color: #303832; font-size: 11px; font-weight: 650; cursor: pointer; text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.manager-refresh:hover, .manager-secondary-button:hover { border-color: #b7aa8c; background: #fbfaf6; }
.manager-refresh span { color: var(--gold-deep); font-size: 19px; line-height: 1; }
.manager-feedback { min-height: 0; margin: 0; color: #527650; font-size: 12px; }
.manager-feedback:not(:empty) { margin: 0 0 14px; padding: 10px 13px; border: 1px solid #d4e2d1; background: #f0f5ee; }
.manager-nav { position: sticky; top: 0; z-index: 4; display: flex; gap: 5px; overflow: auto; margin: 0 0 16px; padding: 8px 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); scrollbar-width: none; }
.manager-nav::-webkit-scrollbar { display: none; }
.manager-nav button { display: inline-flex; min-height: 39px; flex: 0 0 auto; align-items: center; padding: 0 14px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #616860; font: inherit; font-size: 11px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.manager-nav button:hover, .manager-nav button:focus-visible { border-color: #d5cebd; background: #fff; color: #282f29; outline: none; }
.manager-panel { scroll-margin-top: 72px; }
.manager-panel { min-width: 0; margin: 0 0 14px; padding: 21px; border: 1px solid #deded6; border-radius: 5px; background: #fff; box-shadow: 0 3px 12px #1e261b05; scroll-margin-top: 70px; }
.manager-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 17px; padding: 0 0 14px; border-bottom: 1px solid #eeede8; }
.manager-panel-heading h3 { margin: 0; color: #242b26; font: 500 24px/1.2 var(--serif); letter-spacing: -.02em; }
.manager-kicker { margin: 0 0 5px; color: #98773b; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.manager-live-state, .manager-section-count { display: inline-flex; align-items: center; gap: 7px; color: #737970; font-size: 10px; }
.manager-live-state i { width: 7px; height: 7px; border-radius: 50%; background: #6f956e; box-shadow: 0 0 0 3px #e9f1e7; }
.manager-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.manager-stat-card { position: relative; display: flex; min-height: 126px; flex-direction: column; justify-content: flex-end; padding: 16px; overflow: hidden; border: 1px solid #e5e3dc; border-radius: 4px; background: #fbfaf7; }
.manager-stat-index { position: absolute; top: 14px; right: 15px; color: #b4a375; font: 12px var(--serif); }
.manager-stat-label { max-width: 84%; color: #697068; font-size: 10px; line-height: 1.45; }
.manager-stat-value { margin-top: 9px; color: #202823; font: 500 34px/1 var(--serif); }
.manager-stat-note { margin-top: 6px; color: #888c83; font-size: 9px; }
.manager-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edede8; }
.manager-service-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 9px; padding: 4px 12px; border-left: 1px solid #edede8; color: #73796f; font-size: 9px; }
.manager-service-row:first-child { border-left: 0; padding-left: 0; }
.manager-badge { display: inline-flex; min-height: 26px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 4px 9px; border-radius: 20px; background: #efefec; color: #686e67; font-size: 9px; line-height: 1.25; text-align: center; }
.manager-badge.is-ok { background: #eaf1e8; color: #567451; }
.manager-badge.is-pending { background: #f4eedf; color: #8c6e32; }
.manager-badge.is-muted { background: #efefec; color: #777b75; }
.manager-list { min-width: 0; }
.manager-cards { display: grid; gap: 8px; }
.manager-card { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 15px; padding: 13px 14px; border: 1px solid #ecebe5; border-radius: 4px; background: #fff; }
.manager-card-title, .manager-card > div > strong { display: block; min-width: 0; color: #29312b; font-size: 12px; line-height: 1.45; font-weight: 680; overflow-wrap: anywhere; }
.manager-card-meta { display: block; margin-top: 5px; color: #7c827b; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.manager-card-actions { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid #f0efe9; }
.manager-primary-small { min-height: 39px; border-color: #b99b5d; background: #c5a552; color: #22251f; }
.manager-primary-small:hover { border-color: #a88a4d; background: #d1b36b; }
.manager-danger-link, .manager-inline-link { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 0 8px; border: 0; background: transparent; color: #806c45; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.manager-danger-link { color: #8a5f51; }
.manager-request-note { margin: 9px 0 0; padding: 8px 10px; border-left: 2px solid #c5a552; background: #faf8f1; color: #626960; font-size: 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.manager-valuation-description { margin: 9px 0 0; padding: 8px 10px; border-left: 2px solid #c5a552; background: #faf8f1; color: #626960; font-size: 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.manager-empty-note { margin: 0; padding: 16px 4px; color: #858a82; font-size: 11px; line-height: 1.6; }
.manager-work-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 14px; align-items: start; }
.manager-create-lot { margin: -1px 0 18px; border: 1px solid #e5e2d9; border-radius: 4px; background: #fbfaf7; }
.manager-create-lot > summary { display: flex; min-height: 63px; align-items: center; gap: 12px; padding: 10px 13px; cursor: pointer; list-style: none; }
.manager-create-lot > summary::-webkit-details-marker { display: none; }
.manager-create-lot > summary::after { content: "+"; margin-left: auto; color: #91743c; font-size: 21px; }
.manager-create-lot[open] > summary::after { content: "−"; }
.manager-create-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d9cfb7; border-radius: 50%; color: #9b7b3d; font-size: 17px; }
.manager-create-lot summary strong, .manager-create-lot summary small { display: block; }
.manager-create-lot summary strong { color: #313730; font-size: 11px; }
.manager-create-lot summary small { margin-top: 3px; color: #878b83; font-size: 9px; }
.manager-subsection { margin-top: 18px; }
.manager-subsection > h4, .manager-subsection-heading h4 { margin: 0; color: #313831; font: 500 17px/1.25 var(--serif); }
.manager-subsection > h4 { margin-bottom: 10px; }
.manager-subsection-heading { margin: 0 0 11px; }
.manager-subsection-heading p, .manager-panel-copy { margin: 5px 0 0; color: #7d837b; font-size: 10px; line-height: 1.6; }
.manager-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 15px; border: 0; border-top: 1px solid #eae8e0; background: #fff; }
.manager-form > label { min-width: 0; display: block; color: #676e67; font-size: 9px; font-weight: 650; line-height: 1.5; }
.manager-form > label:has(textarea), .manager-form > label:has(input[name="image_url"]) { grid-column: 1 / -1; }
.manager-form input, .manager-form textarea, .manager-form select { display: block; width: 100%; min-height: 41px; margin-top: 5px; padding: 9px 10px; border: 1px solid #dcdcd4; border-radius: 3px; background: #fff; color: #303731; font-size: 11px; }
.manager-form textarea { min-height: 76px; resize: vertical; }
.manager-form input:focus, .manager-form textarea:focus, .manager-form select:focus, .manager-search:focus-within { outline: 2px solid #c8aa66; outline-offset: 1px; }
.manager-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-column: 1 / -1; gap: 10px; }
.manager-form .primary-button, .manager-form .manager-secondary-button { min-height: 43px; align-self: end; }
.manager-block-form { grid-template-columns: 1fr; padding: 0 0 13px; border-bottom: 1px solid #efeee8; }
.manager-block-form .manager-secondary-button { justify-self: start; }
.manager-participant-card { grid-template-columns: minmax(0,1fr) auto; }
.manager-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.manager-store-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 21px; }
.manager-search { height: 42px; margin: 8px 0 10px; }
.manager-product-card { grid-template-columns: minmax(0,1fr) auto; padding: 11px 12px; }
.manager-inline-link { min-height: 36px; padding: 0 2px; white-space: nowrap; }
.manager-checkout-card { grid-template-columns: minmax(0,1fr) auto; padding: 11px 12px; }
.manager-audit-subsection { padding-top: 17px; border-top: 1px solid #edede8; }
.manager-audit-row { grid-template-columns: 8px minmax(0,1fr) auto; gap: 10px; padding: 10px 12px; color: #697068; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.manager-audit-row time { color: #969a93; font-size: 9px; white-space: nowrap; }
.manager-audit-dot { width: 7px; height: 7px; border-radius: 50%; background: #bd9c5a; }
.manager-view :is(button, a, summary, input, textarea, select):focus-visible { outline: 2px solid #b99853; outline-offset: 2px; }
html[data-theme="dark"] .manager-view { color: var(--ink); }
html[data-theme="dark"] .manager-heading h2, html[data-theme="dark"] .manager-panel-heading h3, html[data-theme="dark"] .manager-stat-value, html[data-theme="dark"] .manager-card-title, html[data-theme="dark"] .manager-card > div > strong, html[data-theme="dark"] .manager-subsection > h4, html[data-theme="dark"] .manager-subsection-heading h4, html[data-theme="dark"] .manager-create-lot summary strong { color: #f2f0e9; }
html[data-theme="dark"] .manager-panel, html[data-theme="dark"] .manager-refresh, html[data-theme="dark"] .manager-secondary-button, html[data-theme="dark"] .manager-create-lot, html[data-theme="dark"] .manager-card { background: var(--surface); border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .manager-stat-card { background: #202625; border-color: var(--line); }
html[data-theme="dark"] .manager-nav { background: color-mix(in srgb, var(--paper) 94%, transparent); border-color: var(--line); }
html[data-theme="dark"] .manager-nav button { color: #c4c9c1; }
html[data-theme="dark"] .manager-nav button:hover, html[data-theme="dark"] .manager-nav button:focus-visible { background: #202625; border-color: #4a504a; color: var(--ink); }
html[data-theme="dark"] .manager-panel-heading, html[data-theme="dark"] .manager-service-grid, html[data-theme="dark"] .manager-service-row, html[data-theme="dark"] .manager-card-actions, html[data-theme="dark"] .manager-audit-subsection, html[data-theme="dark"] .manager-block-form { border-color: var(--line); }
html[data-theme="dark"] .manager-stat-label, html[data-theme="dark"] .manager-stat-note, html[data-theme="dark"] .manager-card-meta, html[data-theme="dark"] .manager-panel-copy, html[data-theme="dark"] .manager-subsection-heading p, html[data-theme="dark"] .manager-live-state, html[data-theme="dark"] .manager-section-count { color: var(--muted); }
html[data-theme="dark"] .manager-request-note, html[data-theme="dark"] .manager-valuation-description { background: #27271f; color: #d6d3c8; }
html[data-theme="dark"] .manager-create-lot > summary small { color: var(--muted); }
html[data-theme="dark"] .manager-form input, html[data-theme="dark"] .manager-form textarea, html[data-theme="dark"] .manager-form select { background: #111617; border-color: #454b48; color: var(--ink); }
html[data-theme="dark"] .manager-badge.is-ok { background: #233227; color: #a9c7a4; }
html[data-theme="dark"] .manager-badge.is-pending { background: #352e20; color: #ddc17c; }
html[data-theme="dark"] .manager-badge.is-muted { background: #2d3231; color: #c0c4bd; }
html[data-theme="dark"] .manager-primary-small { background: var(--gold); border-color: var(--gold); color: #161a18; }
html[data-theme="dark"] .manager-feedback:not(:empty) { background: #1e3024; border-color: #345941; color: #b7d5bd; }
@media (max-width: 900px) {
  .manager-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 9px; }
  .manager-service-row:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 680px) {
  .manager-view { padding: 31px 0 56px; }
  .manager-heading { align-items: flex-start; gap: 10px; }
  .manager-heading h2 { font-size: 37px; }
  .manager-subtitle { max-width: 31ch; font-size: 11px; }
  .manager-refresh { width: 42px; min-width: 42px; gap: 0; padding: 0; overflow: hidden; font-size: 0; }
  .manager-refresh span { font-size: 22px; }
  .manager-nav { margin: 0 -16px 12px; padding: 7px 16px; }
  .manager-nav button { min-height: 39px; padding: 0 12px; font-size: 10px; }
  .manager-panel { margin-bottom: 10px; padding: 15px; border-radius: 4px; }
  .manager-panel-heading { align-items: flex-start; margin-bottom: 13px; padding-bottom: 11px; }
  .manager-panel-heading h3 { font-size: 21px; }
  .manager-kicker { font-size: 7px; }
  .manager-live-state { max-width: 118px; font-size: 8px; }
  .manager-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .manager-stat-card { min-height: 116px; padding: 13px; }
  .manager-stat-value { font-size: 30px; }
  .manager-stat-label { font-size: 9px; }
  .manager-stat-note { font-size: 8px; }
  .manager-service-grid { grid-template-columns: 1fr; gap: 0; }
  .manager-service-row, .manager-service-row:nth-child(odd) { min-height: 36px; padding: 5px 0; border-left: 0; border-bottom: 1px solid #edede8; font-size: 9px; }
  .manager-service-row:last-child { border-bottom: 0; }
  .manager-card { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 11px; }
  .manager-card-title, .manager-card > div > strong { font-size: 11px; }
  .manager-card-meta { font-size: 9px; }
  .manager-badge { max-width: 120px; min-height: 25px; white-space: normal; }
  .manager-card-actions { gap: 6px; padding-top: 8px; }
  .manager-primary-small, .manager-secondary-button { min-height: 41px; padding: 0 11px; font-size: 10px; }
  .manager-work-grid, .manager-store-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .manager-work-grid > .manager-panel { margin-bottom: 10px; }
  .manager-store-grid { gap: 18px; }
  .manager-store-grid > div + div { padding-top: 16px; border-top: 1px solid var(--line); }
  .manager-form { grid-template-columns: 1fr; gap: 9px; padding: 13px; }
  .manager-form > label, .manager-form > label:has(textarea), .manager-form > label:has(input[name="image_url"]) { grid-column: auto; }
  .manager-form-row { grid-template-columns: 1fr; gap: 9px; }
  .manager-block-form { grid-template-columns: 1fr; padding: 0 0 12px; }
  .manager-actions { align-items: stretch; flex-direction: column; }
  .manager-actions button { width: 100%; }
  .manager-inline-link { font-size: 9px; }
  .manager-audit-row { grid-template-columns: 8px minmax(0,1fr); }
  .manager-audit-row time { grid-column: 2; }
}

/* Compact catalogue controls for Shopify collections and server-side filters. */
.collection-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 9px 15px; align-items: end; margin: 0 0 10px; }
.collection-quick-wrap { min-width: 0; }
.collection-select-label, .collection-extra-label { display: block; margin: 0 0 6px; color: #686d66; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.collection-extra-label .filter-select { margin-top: 6px; }
.collection-chips { display: flex; gap: 6px; overflow: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
.collection-chip { min-height: 38px; flex: 0 0 auto; padding: 0 11px; border: 1px solid #dedbd2; border-radius: 20px; background: #fff; color: #646a63; font-size: 9px; cursor: pointer; white-space: nowrap; }
.collection-chip[aria-pressed="true"] { border-color: #c4a353; background: #f2ecdE; color: #665127; }
.collection-chip:hover { border-color: #bba76f; }
.collection-search-note { grid-column: 1 / -1; margin: 0; color: #85713e; font-size: 10px; line-height: 1.45; }
.search-sort-note { margin: -6px 0 10px; color: #85713e; font-size: 11px; line-height: 1.45; }
.catalog-filter-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 9px; padding: 10px 11px; border: 1px solid #e7e5dd; background: #fbfaf7; }
.catalog-price-filter { display: grid; gap: 5px; color: #74786f; font-size: 8px; font-weight: 650; }
.catalog-price-filter input { width: 115px; height: 36px; padding: 0 9px; border: 1px solid #deddd5; border-radius: 2px; background: #fff; color: #303630; font-size: 11px; }
.catalog-stock-filter { display: flex; min-height: 36px; align-items: center; gap: 7px; margin-left: auto; color: #545c54; font-size: 10px; cursor: pointer; }
.catalog-stock-filter input { width: 17px; height: 17px; accent-color: #a18445; }
html[data-theme="dark"] .collection-select-label, html[data-theme="dark"] .collection-extra-label, html[data-theme="dark"] .catalog-price-filter, html[data-theme="dark"] .catalog-stock-filter { color: var(--muted); }
html[data-theme="dark"] .collection-chip, html[data-theme="dark"] .catalog-filter-toolbar { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .collection-chip[aria-pressed="true"] { background: #352e20; border-color: #9b8048; color: #e3ca90; }
html[data-theme="dark"] .catalog-price-filter input { background: #111617; border-color: #454b48; color: var(--ink); }
html[data-theme="dark"] .collection-search-note { color: #ddc17c; }
html[data-theme="dark"] .search-sort-note { color: #ddc17c; }
@media (max-width: 620px) {
  .collection-toolbar { grid-template-columns: 1fr; gap: 8px; }
  .collection-extra-label { display: flex; align-items: center; gap: 10px; margin: 0; }
  .collection-extra-label .filter-select { flex: 1; min-width: 0; margin: 0; }
  .collection-chip { min-height: 39px; padding: 0 12px; font-size: 9px; }
  .catalog-filter-toolbar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .catalog-price-filter input { width: 100%; }
  .catalog-stock-filter { grid-column: 1 / -1; margin: 1px 0 0; }
}

/* Product media and detail view: clear specimens first, restrained motion second. */
.product-image-wrap { text-decoration: none; color: inherit; isolation: isolate; cursor: zoom-in; }
.product-image-wrap .product-front, .product-image-wrap .product-reverse { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .38s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.product-image-wrap .product-front { z-index: 1; opacity: 1; }
.product-image-wrap .product-reverse { z-index: 2; opacity: 0; transform: scale(1.045) rotate(2deg); }
.product-image-wrap .image-index { z-index: 4; }
@media (hover:hover) and (pointer:fine) {
  .product-image-wrap.has-reverse:hover .product-front { opacity: 0; transform: scale(.975) rotate(-2deg); }
  .product-image-wrap.has-reverse:hover .product-reverse { opacity: 1; transform: scale(1.025) rotate(0); }
}
.product-card.is-reverse .product-image-wrap .product-front { opacity: 0; }
.product-card.is-reverse .product-image-wrap .product-reverse { opacity: 1; transform: scale(1.025) rotate(0); }
.product-flip { position: absolute; z-index: 6; top: 10px; right: 10px; min-width: 44px; min-height: 36px; padding: 0 8px; border: 1px solid #b9a46d; background: #fffdf2e8; color: #5f4d24; font: 9px var(--sans); letter-spacing: .1em; cursor: pointer; }
.product-flip[aria-pressed="true"] { background: #1d1e1b; color: #ecd29a; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: #9d7a38; }
.product-title a:focus-visible, .product-image-wrap:focus-visible, .product-flip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.product-view { padding: 30px 3.5% 85px; min-height: 75vh; }
.detail-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-back { padding: 4px 0; border: 0; background: transparent; color: var(--ink); font: 11px var(--sans); cursor: pointer; }
.detail-back:hover span { text-decoration: underline; text-underline-offset: 4px; }
.detail-kicker { color: var(--muted); font: 8px var(--sans); letter-spacing: .15em; text-align: right; }
.detail-content { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: clamp(28px,5vw,82px); padding-top: 32px; }
.detail-gallery { min-width: 0; }
.detail-main-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; padding: 24px; background: #f0eee9; border: 1px solid #e2ded5; cursor: zoom-in; }
.detail-main-image img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-image-count { position: absolute; right: 17px; bottom: 15px; padding: 6px 8px; background: #fff9; color: #6c674f; font: 9px var(--sans); letter-spacing: .1em; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
.detail-thumbnail { width: 76px; height: 76px; padding: 4px; border: 1px solid #dedad0; background: #f0eee9; cursor: pointer; }
.detail-thumbnail[aria-pressed="true"] { border-color: #b99755; box-shadow: inset 0 0 0 1px #b99755; }
.detail-thumbnail img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-image-note { margin: 16px 0 0; color: var(--muted); font: 10px/1.6 var(--sans); }
.detail-info { min-width: 0; padding-top: 8px; }
.detail-info h1 { max-width: 590px; margin: 15px 0 18px; color: var(--ink); font: 400 clamp(34px,3.7vw,58px)/1.08 var(--serif); letter-spacing: -.045em; }
.detail-availability { margin: 0 0 8px; color: #947135; font: 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.detail-price { display: block; margin: 0 0 23px; color: var(--ink); font: 600 25px var(--sans); }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.detail-actions button { min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font: 10px var(--sans); }
.detail-actions button:disabled { opacity: .45; cursor: not-allowed; }
.detail-enquire { border: 1px solid #a9905a; background: transparent; color: var(--ink); }
.detail-enquire:hover:not(:disabled) { border-color: var(--ink); }
.detail-transaction-note { margin: 11px 0 27px; color: var(--muted); font: 10px/1.55 var(--sans); }
.detail-variant-wrap { margin: 22px 0; }
.detail-variant-wrap label { display: block; margin-bottom: 8px; color: var(--muted); font: 9px var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.detail-variant-wrap select { width: 100%; min-height: 42px; padding: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.detail-specs, .detail-description { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.detail-specs h2, .detail-description h2 { margin: 0 0 18px; color: var(--ink); font: 400 24px var(--serif); }
.detail-specs dl { display: grid; grid-template-columns: 45% 55%; margin: 0; font: 11px/1.45 var(--sans); }
.detail-specs dt, .detail-specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-specs dt { color: var(--muted); }
.detail-specs dd { color: var(--ink); text-align: right; }
.detail-description p { white-space: pre-line; color: var(--muted); font: 12px/1.75 var(--sans); }
.detail-original { display: inline-block; margin-top: 18px; color: var(--gold-deep); font: 11px var(--sans); text-underline-offset: 4px; }
.detail-mobile-purchase { display: none; }
.drawer-quantity { display: inline-flex; align-items: center; width: fit-content; margin-top: 4px; border: 1px solid var(--line); }
.drawer-quantity button { width: 38px; height: 36px; border: 0; background: transparent; color: var(--ink); font: 16px var(--sans); cursor: pointer; }
.drawer-quantity button:disabled { color: var(--muted); cursor: not-allowed; opacity: .45; }
.drawer-quantity button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.drawer-quantity output { min-width: 28px; color: var(--ink); font: 600 11px var(--sans); text-align: center; }
.detail-zoom { width: min(95vw,1100px); max-width: none; max-height: 96dvh; padding: 18px; border: 1px solid #bba469; background: #f2f0eb; overflow: auto; }
.detail-zoom::backdrop { background: #080a0be6; }
.detail-zoom img { display: block; max-width: 100%; max-height: calc(96dvh - 38px); margin: auto; object-fit: contain; }
#detail-zoom-close { position: fixed; z-index: 2; top: 3vh; right: 4vw; width: 36px; height: 36px; border: 1px solid #bb9955; border-radius: 50%; background: #171817; color: #fff; font-size: 24px; cursor: pointer; }
html[data-theme="dark"] .detail-main-image, html[data-theme="dark"] .detail-thumbnail, html[data-theme="dark"] .detail-zoom { background: #eae6da; }
html[data-theme="dark"] .detail-actions .primary-button { background: var(--gold); color: #171817; }
html[data-theme="dark"] .detail-actions .primary-button span { color: #171817; }
html[data-theme="dark"] .detail-enquire { color: var(--ink); }
html[data-theme="dark"] .product-title a:hover { color: var(--gold); }
@media (max-width: 900px) { .detail-content { grid-template-columns: 1fr; gap: 25px; } .detail-gallery { max-width: 660px; } }
@media (max-width: 620px) {
  .product-view { padding: 18px 0 120px; }
  .detail-kicker { max-width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .detail-main-image { padding: 8px; }
  .detail-thumbnail { width: 58px; height: 58px; }
  .detail-info h1 { font-size: 35px; }
  .detail-actions { grid-template-columns: 1fr; }
  .detail-mobile-purchase:not([hidden]) { position: fixed; z-index: 9; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb,var(--surface) 96%,transparent); box-shadow: 0 -8px 26px #00000013; backdrop-filter: blur(14px); }
  .detail-mobile-purchase-copy { display: grid; min-width: 0; gap: 3px; }
  .detail-mobile-purchase-copy small { color: var(--muted); font: 9px/1.2 var(--sans); }
  .detail-mobile-purchase-copy strong { color: var(--ink); font: 700 16px/1.1 var(--sans); white-space: nowrap; }
  .detail-mobile-purchase button { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 46px; max-width: 190px; padding: 9px 13px; border: 1px solid var(--gold); background: var(--gold); color: #151817; font: 700 10px/1.2 var(--sans); text-align: left; cursor: pointer; }
  .detail-mobile-purchase button:disabled { opacity: .48; cursor: not-allowed; }
  .detail-mobile-purchase button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .product-flip { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .product-image-wrap .product-front, .product-image-wrap .product-reverse { transition: none; transform: none !important; } }

/* Auction: restrained cabinet presentation with clear bidding controls. */
.auction-access { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 28px 0 24px; padding: 22px 26px; border: 1px solid #4c4737; border-radius: 12px; background: linear-gradient(125deg, #18231f, #263027); color: #f5f0e4; box-shadow: 0 18px 44px #1e261a1a; }
.auction-access-mark { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid #ae9256; border-radius: 50%; color: #dac389; font: 30px/1 var(--serif); box-shadow: inset 0 0 0 5px #bd9b5130; }
.auction-access-kicker { display: block; margin-bottom: 5px; color: #cfb879; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.auction-access-copy strong { display: block; font: 500 clamp(18px, 2vw, 22px)/1.28 var(--serif); }
.auction-access-copy p { margin: 7px 0 0; color: #d5d9d0; font-size: 13px; line-height: 1.5; }
.auction-access-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 20px; padding: 0 18px; border: 1px solid #d2ba7b; border-radius: 5px; background: #cfb574; color: #1e241c; font: 650 13px/1.2 var(--sans); cursor: pointer; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.auction-access-button:hover { background: #ead39a; transform: translateY(-2px); }
.auction-access-button[hidden] { display: none; }
.auction-grid { gap: 20px; align-items: stretch; }
.auction-card { padding: 0 0 20px; overflow: hidden; border: 1px solid #e5e0d3; border-radius: 12px; background: #fffefa; box-shadow: 0 9px 24px #1722190a; transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.auction-card:hover { border-color: #bca66e; transform: translateY(-3px); box-shadow: 0 18px 36px #17221917; }
.auction-image { width: 100%; aspect-ratio: 1.15/1; margin: 0 0 18px; object-fit: contain; padding: 12px; background: radial-gradient(circle at center, #f6f3e9, #e9e6dc); }
.auction-card > :not(.auction-image) { margin-left: 20px; margin-right: 20px; }
.auction-card h3 { margin-top: 14px; margin-bottom: 8px; font-size: 23px; line-height: 1.19; }
.auction-description { min-height: 43px; max-height: 87px; overflow: hidden; color: #656d66; font-size: 13px; line-height: 1.6; }
.auction-price-label { margin-top: auto; color: #747a70; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; }
.auction-price { display: block; margin-top: 6px; color: #233329; font: 500 28px/1.12 var(--serif); }
.auction-increment { margin: 9px 0 0; padding-left: 10px; border-left: 2px solid #b99a5e; color: #687268; font: 600 11px/1.45 var(--sans); }
.auction-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #e9e5dc; font-size: 12px; }
.auction-time-remaining { display: block; margin-top: 12px; color: #7e622f; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.auction-personal-limit { margin-top: 12px; margin-bottom: 0; padding: 9px 11px; border-left: 3px solid #b9985b; background: #f5f1e5; color: #354035; font-size: 13px; font-weight: 650; }
.auction-threshold { margin-top: 11px; margin-bottom: 0; color: #666f67; font-size: 12px; line-height: 1.5; }
.auction-bid-history { margin-top: 16px; border-top: 1px solid #e9e5dc; padding-top: 12px; }
.auction-bid-history summary { color: #38463a; font-size: 13px; font-weight: 650; cursor: pointer; }
.auction-bid-history li { color: #57635a; font-size: 12px; line-height: 1.6; }
.auction-bid-button { width: calc(100% - 40px); min-height: 48px; margin-top: 17px; font-size: 13px; }
.auction-custom-bid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 10px; margin-top: 11px; }
.auction-custom-bid label { grid-column: 1 / -1; color: #697167; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.auction-custom-bid-controls { display: flex; align-items: center; min-width: 0; border: 1px solid #d9d3c6; border-radius: 4px; background: #fff; }
.auction-custom-bid input { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 0; outline-offset: 2px; background: transparent; color: #203027; font: 650 14px/1.2 var(--sans); }
.auction-custom-bid-controls span { padding-right: 10px; color: #887247; font-size: 11px; font-weight: 700; }
.auction-custom-bid button { min-height: 42px; padding: 0 12px; border: 1px solid #a98c54; border-radius: 4px; background: #f3ebda; color: #3c3528; font: 700 11px/1.15 var(--sans); cursor: pointer; }
.auction-custom-bid button:hover { background: #e8d7b2; }
.auction-custom-bid-feedback { grid-column: 1 / -1; min-height: 0; margin: 0 !important; color: #a1463c; font-size: 11px; line-height: 1.35; }
.auction-custom-bid-feedback:empty { display: none; }
.auction-custom-bid-note { grid-column: 1 / -1; margin: 0 !important; color: #777f74; font-size: 10px; line-height: 1.45; }
.bid-rules-accepted-note { padding: 10px 12px; border-left: 2px solid #b99a5e; background: #f5f1e8; color: #455044; }
.request-history-list { gap: 23px; }
.request-history-section { display: grid; gap: 11px; }
.request-history-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid #d9d2c3; }
.request-history-heading h3 { margin: 0; color: #263128; font: 500 25px/1.2 var(--serif); }
.request-history-heading > span { color: #8a754e; font-size: 13px; font-weight: 700; }
.request-history-empty { margin: 0; padding: 24px; border: 1px solid #e4ded2; border-radius: 8px; color: #777b72; background: #fcfaf5; font-size: 13px; }
.request-history-card { align-items: start; gap: 9px 14px; padding: 20px; border: 1px solid #e4ded2; border-radius: 8px; background: #fffefa; color: #243128; box-shadow: 0 5px 20px #17221909; }
.request-history-card h4 { min-width: 0; margin: 0; overflow-wrap: anywhere; font: 500 20px/1.25 var(--serif); }
.request-history-status { justify-self: end; max-width: 170px; padding: 6px 9px; border-radius: 30px; background: #eae9e0; color: #687068 !important; text-align: center; font: 700 10px/1.2 var(--sans) !important; }
.request-history-status.is-active { background: #e9f0e7; color: #386246 !important; }
.request-history-status.is-done { background: #f3ebd7; color: #765c2a !important; }
.request-history-items { grid-column: 1 / -1; display: grid; gap: 5px; margin: 5px 0 0; padding-left: 18px; color: #485549; font-size: 13px; line-height: 1.4; }
.request-history-total { grid-column: 1 / -1; color: #263128; font: 500 21px/1.2 var(--serif); }
.request-history-card .request-history-meta { grid-column: 1 / -1; color: #888c82; font-size: 11px; }
.request-history-card .request-history-auction-amounts { grid-column: 1 / -1; color: #485549; font-size: 12px; line-height: 1.55; }
.request-history-card .request-history-deadline { grid-column: 1 / -1; color: #866836; font-size: 12px; font-weight: 700; }
.request-history-auction .primary-button, .request-history-auction .text-button, .request-history-link { grid-column: 1 / -1; justify-self: start; }
.request-history-link { padding: 5px 0; border: 0; background: none; color: #8c6f39; font: 700 12px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.request-history-auction:has(.request-history-image) { grid-template-columns: 76px minmax(0,1fr); }
.request-history-image { grid-column: 1; grid-row: 1 / span 4; width: 76px; height: 76px; object-fit: contain; border: 1px solid #eee9dd; border-radius: 50%; background: #f7f4eb; }
.request-history-auction:has(.request-history-image) > :not(.request-history-image) { grid-column: 2; }
.request-history-auction:has(.request-history-image) .request-history-status { justify-self: start; }
.auction-leading { margin-top: 17px; color: #366248; font-size: 13px; font-weight: 700; }
.auction-proxy-button { width: calc(100% - 40px); min-height: 45px; margin-top: 9px; border: 1px solid #bdab80; border-radius: 3px; background: transparent; color: #4d4c3f; font: 650 13px/1.2 var(--sans); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.auction-proxy-button:hover { background: #f4f0e5; border-color: #8d7544; }
.auction-stop-proxy { width: calc(100% - 40px); min-height: 37px; margin-top: 4px; border: 0; background: none; color: #755c4f; font: 600 12px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auction-action-dialog { border-radius: 13px; padding: 29px; max-height: min(88vh, 720px); overflow: auto; }
.auction-dialog-kicker { margin: 0 0 8px !important; color: #9b7a3e; font-size: 10px !important; font-weight: 700; letter-spacing: .18em; }
.auction-action-dialog label:not(.bid-rules-check) { display: block; margin: 14px 0 6px; color: #394338; font-size: 12px; font-weight: 700; }
.auction-action-dialog input:not([type="checkbox"]), .auction-action-dialog textarea { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid #d7d5cc; border-radius: 5px; background: #fff; color: #202922; font: 14px/1.4 var(--sans); }
.auction-action-dialog textarea { min-height: 92px; resize: vertical; }
.auction-dialog-amount { display: flex; align-items: center; gap: 11px; }
.auction-dialog-amount input { flex: 1; }
.auction-dialog-amount span { color: #665937; font-size: 14px; font-weight: 700; }
.auction-dialog-hint, .auction-dialog-feedback { color: #706e60; font-size: 12px !important; }
.auction-dialog-feedback:not(:empty) { color: #8d4b3f; }
.auction-action-dialog .bid-rules-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: #48554a; font-size: 12px; line-height: 1.5; }

/* Manager: a usable workbench, not a dense debug screen. */
.manager-view { max-width: 1280px; padding-top: 28px; }
.manager-heading { min-height: 180px; align-items: flex-end; padding: 30px 34px; border: 1px solid #414939; border-radius: 14px; background: radial-gradient(circle at 92% 35%, #64705033, transparent 35%), linear-gradient(115deg, #18241f, #29352a); color: #f8f4e9; }
.manager-heading h2 { color: #f7f2e5; font-size: clamp(36px, 4vw, 55px); }
.manager-heading .eyebrow, .manager-heading .eyebrow > span:last-child { color: #d5bc78; }
.manager-subtitle { color: #d5dbd2; font-size: 14px; }
.manager-refresh { min-height: 45px; border-color: #b7a36c; background: #d1b775; color: #18241f; font-size: 13px; }
.manager-refresh:hover { background: #e9ce8d; }
.manager-refresh span { color: #18241f; }
.manager-nav { gap: 4px; top: 0; margin-bottom: 20px; padding: 9px 0; border-bottom-color: #d8d3c7; background: var(--paper); }
.manager-nav button { min-height: 44px; padding: 0 17px; border-radius: 5px; color: #536055; font-size: 13px; font-weight: 650; }
.manager-nav button[aria-current="page"] { border-color: #d2c09b; background: #eee8d8; color: #263329; }
.manager-panel { margin-bottom: 18px; padding: clamp(18px, 2.1vw, 30px); border-color: #e2ded3; border-radius: 14px; box-shadow: 0 12px 32px #25332308; }
.manager-panel-heading { margin-bottom: 21px; padding-bottom: 17px; }
.manager-panel-heading h3 { font-size: clamp(24px, 2.2vw, 30px); }
.manager-kicker { font-size: 10px; letter-spacing: .15em; }
.manager-live-state, .manager-section-count { font-size: 12px; }
.manager-overview-grid { gap: 12px; }
.manager-stat-card { min-height: 146px; padding: 20px; border-radius: 10px; background: #f8f6ef; }
.manager-stat-card:first-child { background: #243329; border-color: #243329; }
.manager-stat-card:first-child .manager-stat-label, .manager-stat-card:first-child .manager-stat-value, .manager-stat-card:first-child .manager-stat-note { color: #f1eee3; }
.manager-stat-label { font-size: 12px; }
.manager-stat-value { font-size: 42px; }
.manager-stat-note { font-size: 11px; }
.manager-service-row { min-height: 38px; font-size: 11px; }
.manager-badge { min-height: 30px; padding: 5px 11px; font-size: 11px; font-weight: 650; }
.manager-cards { gap: 10px; }
.manager-card { padding: 17px 18px; border-color: #e9e5db; border-radius: 9px; background: #fefefa; }
.manager-card-title, .manager-card > div > strong { font-size: 15px; line-height: 1.35; }
.manager-card-meta, .manager-auction-metrics { display: block; margin-top: 6px; color: #687268; font-size: 12px; line-height: 1.55; }
.manager-auction-metrics { color: #8b7142; font-weight: 600; }
.manager-card-actions { gap: 9px; padding-top: 13px; }
.manager-primary-small, .manager-secondary-button { min-height: 42px; padding: 0 14px; border-radius: 5px; font-size: 12px; }
.manager-danger-link, .manager-inline-link { font-size: 12px; }
.manager-request-note, .manager-valuation-description { padding: 11px 13px; font-size: 12px; }
.manager-panel-copy, .manager-subsection-heading p { font-size: 12px; }
.manager-empty-note { font-size: 13px; }
.manager-work-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
.manager-subsection { margin-top: 24px; }
.manager-subsection > h4, .manager-subsection-heading h4 { font-size: 21px; }
.manager-subsection-heading:has(.manager-lot-filters) { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.manager-lot-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.manager-lot-filters button { min-height: 34px; padding: 0 12px; border: 1px solid #ded8c9; border-radius: 4px; background: transparent; color: #556057; font-size: 12px; cursor: pointer; }
.manager-lot-filters button[aria-pressed="true"] { border-color: #ab9360; background: #ede4cf; color: #263027; font-weight: 700; }
.manager-auction-card:has(.manager-auction-image) { grid-template-columns: 94px minmax(0,1fr) auto; }
.manager-auction-image { width: 94px; height: 94px; object-fit: contain; padding: 6px; border-radius: 5px; background: #efede5; }
.manager-auction-card:has(.manager-auction-image) .manager-card-actions { grid-column: 2 / -1; }
.manager-verification-section { margin: 0 0 25px; padding: 20px; border: 1px solid #dfd5bd; border-radius: 10px; background: #f8f5ec; }
.manager-verification-section .manager-subsection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.manager-verification-section .manager-panel-copy { margin-bottom: 17px; }
.manager-verification-card { background: #fff; }
.manager-create-lot { border-radius: 8px; }
.manager-create-lot > summary { min-height: 71px; padding: 13px 17px; }
.manager-create-lot summary strong { font-size: 14px; }
.manager-create-lot summary small { font-size: 11px; }
.manager-form { gap: 14px; padding: 20px; }
.manager-lot-languages { grid-column: 1 / -1; border: 1px solid #e2ddd1; border-radius: 5px; background: #faf8f2; }
.manager-lot-languages summary { padding: 13px 14px; color: #4d584e; font-size: 13px; font-weight: 700; cursor: pointer; }
.manager-lot-languages > div { display: grid; gap: 12px; padding: 0 14px 15px; }
.manager-lot-languages label { color: #5f685e; font-size: 12px; font-weight: 650; }
.manager-lot-languages p { margin: 0; color: #777c73; font-size: 12px; line-height: 1.5; }
.manager-form > label { font-size: 12px; }
.manager-form input, .manager-form textarea, .manager-form select { min-height: 47px; padding: 10px 12px; border-radius: 5px; font-size: 14px; }
.manager-step-note { grid-column: 1 / -1; margin: -5px 0 0; color: #687268; font-size: 12px; line-height: 1.5; }
.manager-step-preview { grid-column: 1 / -1; display: block; margin-top: -4px; padding: 12px 14px; border-left: 2px solid #b99a5e; background: #f5f1e8; color: #334036; font: 650 12px/1.55 var(--sans); }
.manager-step-preview[hidden] { display: none; }
.manager-block-form { max-width: 600px; padding: 0 0 21px; background: transparent; }
.manager-audit-row { font-size: 12px; }
.manager-audit-row time { font-size: 11px; }
html[data-theme="dark"] .auction-access { border-color: #74664a; }
html[data-theme="dark"] .auction-card { background: #1b211f; border-color: #3b443e; }
html[data-theme="dark"] .auction-description, html[data-theme="dark"] .auction-threshold, html[data-theme="dark"] .auction-stats, html[data-theme="dark"] .auction-bid-history li { color: #b7c1b7; }
html[data-theme="dark"] .auction-price { color: #f4eee0; }
html[data-theme="dark"] .auction-personal-limit { background: #303226; color: #e7d7b4; }
html[data-theme="dark"] .auction-proxy-button { border-color: #8a7653; color: #e8d6a9; }
html[data-theme="dark"] .auction-proxy-button:hover { background: #303126; }
html[data-theme="dark"] .auction-stop-proxy { color: #d8a9a0; }
html[data-theme="dark"] .auction-custom-bid label, html[data-theme="dark"] .request-history-card .request-history-auction-amounts { color: #c3cbbb; }
html[data-theme="dark"] .auction-custom-bid-note { color: #aeb8aa; }
html[data-theme="dark"] .auction-custom-bid-controls { border-color: #4b544c; background: #111615; }
html[data-theme="dark"] .auction-custom-bid input { color: #f1f0e9; }
html[data-theme="dark"] .auction-custom-bid button, html[data-theme="dark"] .bid-rules-accepted-note { border-color: #8d7544; background: #333126; color: #eddbb1; }
html[data-theme="dark"] .request-history-heading h3, html[data-theme="dark"] .request-history-card h4, html[data-theme="dark"] .request-history-total { color: #f4f0e8; }
html[data-theme="dark"] .request-history-heading, html[data-theme="dark"] .request-history-empty, html[data-theme="dark"] .request-history-image { border-color: #4b5147; }
html[data-theme="dark"] .request-history-empty { background: #1b211f; color: #bac2b5; }
html[data-theme="dark"] .request-history-items { color: #c5cbbf; }
html[data-theme="dark"] .request-history-status.is-active { background: #304637; color: #c7e8cc !important; }
html[data-theme="dark"] .request-history-status.is-done { background: #4a3c23; color: #f5deaa !important; }
html[data-theme="dark"] .auction-action-dialog { background: #1b211f; color: #f1f0e9; }
html[data-theme="dark"] .auction-action-dialog label:not(.bid-rules-check), html[data-theme="dark"] .auction-action-dialog .bid-rules-check { color: #e0e5dc; }
html[data-theme="dark"] .auction-action-dialog input:not([type="checkbox"]), html[data-theme="dark"] .auction-action-dialog textarea { background: #111615; border-color: #4b544c; color: #f1f0e9; }
html[data-theme="dark"] .manager-heading { border-color: #677154; }
html[data-theme="dark"] .manager-refresh { border-color: #d1b775; background: #d1b775; color: #162019; }
html[data-theme="dark"] .manager-nav { background: var(--paper); }
html[data-theme="dark"] .manager-nav button[aria-current="page"] { border-color: #80704a; background: #3b3729; color: #efdcaa; }
html[data-theme="dark"] .manager-stat-card:first-child { background: #2b3a2f; }
html[data-theme="dark"] .manager-card { background: #1d2421; border-color: #3d463f; }
html[data-theme="dark"] .manager-verification-section { background: #252920; border-color: #5b5239; }
html[data-theme="dark"] .manager-verification-card { background: #1d2421; }
html[data-theme="dark"] .manager-auction-metrics { color: #d1b775; }
html[data-theme="dark"] .manager-lot-filters button { border-color: #50584e; color: #ccd2c7; }
html[data-theme="dark"] .manager-lot-filters button[aria-pressed="true"] { background: #403a2b; border-color: #9d8655; color: #e8d5a7; }
html[data-theme="dark"] .manager-form { background: #1d2421; }
html[data-theme="dark"] .manager-lot-languages { border-color: #515243; background: #252920; }
html[data-theme="dark"] .manager-lot-languages summary, html[data-theme="dark"] .manager-lot-languages label { color: #d8dfd4; }
html[data-theme="dark"] .manager-lot-languages p { color: #aebbad; }
html[data-theme="dark"] .manager-step-note, html[data-theme="dark"] .auction-increment { color: #b9c4b6; }
html[data-theme="dark"] .manager-step-preview { background: #29291f; color: #e7d6a8; }
html[data-theme="dark"] .manager-form > label, html[data-theme="dark"] .manager-form-row > label { color: #bdc7bc; }
@media (max-width: 900px) {
  .auction-access { grid-template-columns: 48px minmax(0,1fr); }
  .auction-access-mark { width: 48px; height: 48px; }
  .auction-access-button { grid-column: 2; justify-self: start; }
  .manager-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .auction-access { grid-template-columns: 1fr; gap: 12px; margin: 21px 0; padding: 20px; }
  .auction-access-mark { width: 44px; height: 44px; font-size: 24px; }
  .auction-access-button { grid-column: 1; justify-self: stretch; }
  .auction-card > :not(.auction-image) { margin-left: 17px; margin-right: 17px; }
  .auction-bid-button, .auction-proxy-button, .auction-stop-proxy { width: calc(100% - 34px); }
  .auction-action-dialog { padding: 22px; }
  .manager-heading { min-height: 174px; padding: 23px; }
  .manager-refresh { width: 42px; min-width: 42px; flex: 0 0 42px; overflow: hidden; padding: 0; font-size: 0; }
  .manager-refresh span { font-size: 22px; }
  .manager-subtitle { max-width: 30ch; font-size: 12px; }
  .manager-nav { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .manager-nav button { min-height: 40px; font-size: 12px; }
  .manager-panel { padding: 18px; }
  .manager-stat-card { min-height: 132px; padding: 15px; }
  .manager-stat-value { font-size: 34px; }
  .manager-stat-label { font-size: 11px; }
  .manager-card { padding: 14px; }
  .manager-card-title, .manager-card > div > strong { font-size: 15px; }
  .manager-card-meta, .manager-auction-metrics { font-size: 12px; }
  .manager-auction-card:has(.manager-auction-image) { grid-template-columns: 68px minmax(0,1fr); }
  .manager-auction-image { width: 68px; height: 68px; }
  .manager-auction-card:has(.manager-auction-image) .manager-badge { grid-column: 2; justify-self: start; }
  .manager-auction-card:has(.manager-auction-image) .manager-card-actions { grid-column: 1 / -1; }
  .manager-subsection-heading:has(.manager-lot-filters) { align-items: stretch; flex-direction: column; }
  .manager-verification-section { padding: 14px; }
  .manager-verification-card { grid-template-columns: minmax(0,1fr); }
  .manager-verification-card .manager-badge { justify-self: start; }
  .manager-verification-card .manager-request-note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .auction-card, .auction-access-button, .auction-proxy-button { transition: none; }
  .auction-card:hover, .auction-access-button:hover { transform: none; }
}

/* Buyer edition: real catalogue imagery, one enquiry action, and Telegram-first navigation. */
[hidden] { display: none !important; }
.currency-control, .theme-toggle, .bag-button, .collection-toolbar, .catalog-filter-toolbar, .quick-filters { display: none !important; }
.catalog-toolbar-actions { display: flex; align-items: center; gap: 12px; }
#mobile-filter-open, .filter-sheet-heading, .filter-apply { display: none; }
.filter-options { display: contents; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 390px; height: auto; max-height: none; margin-top: 12px; padding: 0; background: #101513; }
.intro::before, .intro::after, .intro-art::before, .intro-art::after { display: none !important; }
.intro-copy { align-self: center; padding: 48px clamp(25px, 6vw, 94px); }
.intro h1 { font-size: clamp(48px, 6vw, 80px); line-height: .95; }
.intro-art { position: relative; inset: auto; width: 100%; min-height: 390px; height: 100%; background: #eae6dd; transform: none; }
.featured-product-image { width: 100%; height: 100%; padding: 24px; object-fit: contain; mix-blend-mode: multiply; }
.featured-product-copy { position: absolute; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; padding: 15px 17px; background: #151a17ec; color: #f4f0e7; }
.featured-product-copy > span:first-child { grid-column: 1 / -1; color: #d6b36d; font: 700 9px/1.2 var(--sans); letter-spacing: .16em; }
.featured-product-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 17px/1.25 var(--serif); }
.featured-product-copy > span:nth-of-type(2) { grid-column: 1; color: #e7d8b5; font: 700 12px/1.2 var(--sans); }
.featured-product-copy button { grid-column: 2; grid-row: 2 / span 2; min-height: 38px; padding: 0 11px; border: 1px solid #a78d55; background: transparent; color: #f8f3e8; font: 650 10px var(--sans); cursor: pointer; }
.featured-product-copy button:disabled { opacity: .45; cursor: default; }
.product-card-featured { grid-column: span 4; }
.product-card-featured .product-image-wrap { aspect-ratio: 1 / 1; }
.add-button { width: auto; min-width: 77px; height: 33px; padding: 0 10px; border-radius: 2px; font: 700 10px var(--sans); }
.add-button:hover { transform: none; }
.detail-actions { grid-template-columns: 1fr; max-width: 370px; }
.detail-description { padding-top: 0; }
.detail-description summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); font: 500 22px/1.2 var(--serif); cursor: pointer; list-style: none; }
.detail-description summary::-webkit-details-marker { display: none; }
.detail-description summary::after { content: "+"; color: var(--gold-deep); font: 24px var(--sans); }
.detail-description[open] summary::after { content: "−"; }
.detail-description p { margin-top: 0; }
.detail-gallery { position: relative; }
.detail-gallery-arrows { position: absolute; top: min(28vw, 180px); right: 12px; left: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.detail-gallery-arrows button { width: 39px; height: 39px; border: 1px solid #c9b989; border-radius: 50%; background: #fcfaf4ec; color: #342c1b; font: 20px var(--sans); cursor: pointer; pointer-events: auto; }
.drawer-backdrop { z-index: 69; }
.request-drawer { z-index: 70; }
.request-history-open { align-self: center; margin-top: 12px; padding: 8px 4px; border: 0; background: none; color: var(--gold-deep); font: 700 12px var(--sans); cursor: pointer; }
.request-history-valuation-description { grid-column: 1 / -1; margin: 0; color: var(--muted); font: 12px/1.55 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.auction-card .auction-increment { color: var(--gold-deep); font-weight: 700; }
.auction-custom-bid input { min-width: 0; }

@media (max-width: 620px) {
  body { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
  .app-shell { padding: 0 14px; }
  .brand-ribbon { display: none; }
  .topbar { min-height: 60px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 103px; height: 51px; }
  .main-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 2px; width: 100%; min-height: calc(69px + env(safe-area-inset-bottom)); height: auto; padding: 6px 7px calc(5px + env(safe-area-inset-bottom)); overflow: visible; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 -9px 26px #00000014; backdrop-filter: blur(16px); }
  .nav-link { display: flex; min-width: 0; min-height: 57px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; color: var(--muted); font: 650 9px/1.15 var(--sans); letter-spacing: 0; text-align: center; white-space: normal; text-transform: none; }
  .nav-link::before { color: var(--gold-deep); font: 18px/1 var(--serif); }
  .nav-link[data-view="catalog"]::before { content: "◈"; }
  .nav-link[data-view="auctions"]::before { content: "◷"; }
  .nav-link[data-view="valuation"]::before { content: "◎"; }
  .nav-link[data-view="requests"]::before { content: "▤"; }
  .nav-link.active::after { top: 0; right: 12px; bottom: auto; left: 12px; height: 2px; }
  .intro { grid-template-columns: 55% 45%; min-height: 182px; height: 182px; max-height: 182px; margin-top: 8px; border-radius: 3px; }
  .intro-copy { align-self: center; padding: 13px 5px 13px 17px; }
  .intro .eyebrow { margin: 0 0 10px; font-size: 6px; letter-spacing: .08em; }
  .intro .eyebrow-line, .intro .eyebrow i { display: none; }
  .intro h1 { margin: 0; font-size: clamp(30px, 8vw, 35px); line-height: .98; }
  .intro-text, .intro-caption { display: none; }
  .intro-cta { min-width: 0; min-height: 36px; gap: 8px; margin-top: 14px; padding: 6px 8px; font-size: 9px; }
  .intro-cta span { font-size: 9px; }
  .intro-art { position: relative; inset: auto; min-height: 182px; height: 182px; overflow: hidden; }
  .featured-product-image { padding: 7px; }
  .featured-product-copy { right: 5px; bottom: 5px; left: 5px; display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 5px 6px; }
  .featured-product-copy > span:first-child, .featured-product-copy strong { display: none; }
  .featured-product-copy > span:nth-of-type(2) { font-size: 10px; }
  .featured-product-copy button { min-width: 35px; min-height: 33px; padding: 0 6px; overflow: hidden; font-size: 0; }
  .featured-product-copy button::after { content: "↗"; font-size: 16px; }
  .assurance-strip { display: none; }
  .catalog-layout { display: flex; flex-direction: column; gap: 8px; margin-top: 11px; padding-top: 0; border-top: 0; }
  .filters { display: block; padding: 0; border: 0; }
  .filter-heading, .filters > .filter-label, .filter-foot { display: none; }
  .search-field { height: 43px; margin: 0; }
  .search-field input { font-size: 12px; }
  .catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 4px 0 12px; }
  .catalog-toolbar .eyebrow { display: none; }
  .catalog-toolbar h2 { font-size: 26px; white-space: nowrap; }
  .catalog-toolbar h2 span { font: 500 10px var(--sans); }
  .catalog-toolbar-actions { gap: 6px; }
  #mobile-filter-open { display: inline-flex; min-height: 36px; align-items: center; padding: 0 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 650 10px var(--sans); }
  #mobile-filter-open::before { content: "☷"; margin-right: 5px; color: var(--gold-deep); font-size: 15px; }
  .sort-control { display: grid; gap: 1px; font-size: 8px; }
  .sort-control select { max-width: 106px; font-size: 10px; }
  .filter-backdrop:not([hidden]) { position: fixed; z-index: 48; inset: 0; display: block; background: #080b0ba8; }
  .filter-options { position: fixed; z-index: 49; right: 0; bottom: 0; left: 0; display: block; max-height: min(78dvh, 560px); padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); overflow: auto; border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: 0 -15px 40px #0003; transform: translateY(105%); transition: transform .28s ease; visibility: hidden; }
  .filter-options.is-open { transform: translateY(0); visibility: visible; }
  .filter-sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; color: var(--ink); font: 500 27px var(--serif); }
  .filter-sheet-heading > div { display: flex; align-items: center; gap: 15px; }
  .filter-sheet-heading button { min-height: 34px; border: 0; background: none; color: var(--gold-deep); font: 650 12px var(--sans); cursor: pointer; }
  #filter-close { width: 34px; font-size: 24px; }
  .filter-options .filter-group { margin: 0 0 18px; }
  .filter-options .filter-label { font-size: 11px; }
  .filter-options .filter-select { min-height: 48px; font-size: 13px; }
  .filter-apply { display: block; width: 100%; min-height: 48px; margin-top: 24px; }
  .filters-open { overflow: hidden; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 11px; }
  .product-card-featured { grid-column: span 1; }
  .product-card-featured .product-image-wrap { aspect-ratio: 1 / 1; }
  .product-card { padding-bottom: 11px; }
  .product-meta { display: block; margin: 8px 0 6px; font-size: 8px; }
  .product-meta .availability { display: block; margin-top: 3px; }
  .product-title, .product-card-featured .product-title { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: 12px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .product-essentials { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; }
  .product-footer { align-items: flex-end; gap: 4px; }
  .product-price, .product-card-featured .product-price { font-size: 11px; line-height: 1.2; }
  .add-button { min-width: 65px; height: 32px; padding: 0 6px; font-size: 9px; }
  .product-view { padding-bottom: 165px; }
  .detail-mobile-purchase:not([hidden]) { z-index: 29; bottom: calc(69px + env(safe-area-inset-bottom)); min-height: 70px; padding: 9px 15px; }
  .detail-gallery-arrows { top: min(43vw, 165px); }
  .request-drawer { width: 100vw; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .auction-custom-bid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar-actions { width: 100%; justify-content: space-between; }
  .intro { grid-template-columns: 57% 43%; }
  .intro h1 { font-size: 27px; }
  .product-grid { gap: 13px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .filter-options { transition: none; }
  .featured-product-image { transition: none; }
}

/* A collector's cabinet: soft specimen mats, quiet typography, direct mobile actions. */
:root { --paper: #f7f5f0; --line: #e1ddd3; }
.intro { overflow: hidden; border-radius: 24px; background: #202923; }
.intro-art { overflow: hidden; background: #e9e4d8; }
.featured-product-image { padding: 0; object-fit: cover; }
.featured-product-copy { border: 1px solid #ffffff24; border-radius: 15px; backdrop-filter: blur(12px); }
.featured-product-copy button { border-radius: 10px; }
.intro-cta { border-radius: 12px; }
.search-field, .filter-select { border-radius: 12px; }
.search-field:focus-within { border-color: #af9153; box-shadow: 0 0 0 3px #b5985530; outline: 0; }
.collection-chip { border-radius: 12px; }
.product-card { transform: none; transform-style: flat; }
.product-card:hover { transform: translateY(-2px); }
.product-card::before { display: none; }
.product-image-wrap { border: 0; border-radius: 18px; background: #eeebe3; transform: none; }
.product-image-wrap .product-front, .product-image-wrap .product-reverse { padding: 5px; }
.image-index { top: 10px; left: 10px; border: 0; border-radius: 7px; background: #fffdf2d9; color: #5f5b4d; }
.product-flip { border: 0; border-radius: 10px; background: #fffdf2e8; }
.product-meta { margin-top: 11px; }
.product-title { margin-bottom: 7px; }
.product-footer { border: 0; padding-top: 4px; }
.add-button { border-radius: 10px; }
.primary-button, .load-more, .auction-bid-button, .auction-proxy-button { border-radius: 12px; }
.auction-card { border-radius: 22px; box-shadow: 0 10px 26px #17221909; }
.auction-image { width: calc(100% - 20px); margin: 10px 10px 10px; border-radius: 16px; background: #eeebe3; }
.auction-custom-bid-controls, .auction-custom-bid button { border-radius: 10px; }
.auction-phase { border-radius: 7px; }
.detail-main-image { border: 0; border-radius: 22px; background: #eeebe3; }
.detail-thumbnail { border-radius: 11px; }
.detail-gallery-arrows button { box-shadow: 0 5px 16px #1a221d21; }
.request-history-card, .valuation-steps article, .bid-confirm-dialog { border-radius: 18px; }
.preview-note { border-radius: 12px; }
html[data-theme="dark"] .intro { background: #202923; }
html[data-theme="dark"] .featured-product-copy { background: #151a17dc; }
html[data-theme="dark"] .detail-main-image, html[data-theme="dark"] .product-image-wrap, html[data-theme="dark"] .auction-image { background: #e8e4d9; }

@media (max-width: 620px) {
  body { padding-bottom: calc(80px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); }
  .app-shell { padding-right: 15px; padding-left: 15px; }
  .topbar { min-height: 58px; }
  .brand-logo { width: 97px; height: 49px; }
  .intro { display: block; height: 186px; max-height: none; min-height: 186px; margin-top: 7px; border-radius: 21px; }
  .intro-copy { position: relative; z-index: 2; width: 65%; height: 100%; padding: 18px 0 15px 18px; }
  .intro .eyebrow { margin-bottom: 10px; color: #e1c98e; font-size: 7px; letter-spacing: .07em; }
  .intro h1 { margin: 0; color: #fff9ed; font-size: clamp(29px, 8vw, 36px); }
  .intro h1 em { color: #e5ca8d; }
  .intro-cta { min-height: 35px; margin-top: 13px; border-color: #c7b37d; background: #e4d0a5; color: #202923; font-size: 10px; }
  .intro-cta span { color: #202923; font-size: 10px; }
  .intro-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: auto; width: 61%; height: 100%; min-height: 0; background: #e9e4d8; mask-image: linear-gradient(to right, transparent 0%, #000 26%); }
  .featured-product-image { padding: 11px 6px 20px; }
  .featured-product-copy { right: 10px; bottom: 10px; left: auto; max-width: 105px; padding: 3px 4px 3px 8px; border-radius: 10px; background: #18201cdE; }
  .featured-product-copy > span:nth-of-type(2) { font-size: 9px; white-space: nowrap; }
  .featured-product-copy button { min-width: 31px; min-height: 30px; border-radius: 8px; }
  .catalog-layout { margin-top: 12px; }
  .search-field { height: 46px; padding: 0 12px; border-radius: 13px; }
  .search-field input { font-size: 13px; }
  .catalog-toolbar { margin-top: 6px; }
  .catalog-toolbar > div:first-child { min-width: 0; }
  .catalog-toolbar h2 { font-size: 27px; }
  #item-count { display: block; max-width: 150px; margin-top: 2px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  #mobile-filter-open { min-height: 38px; border-radius: 10px; font-size: 11px; }
  .sort-control select { max-width: 114px; font-size: 11px; }
  .collection-chip { min-height: 38px; border-radius: 10px; font-size: 10px; }
  .collection-toolbar { margin-bottom: 7px; }
  .quick-filter { border-radius: 10px; }
  .product-grid { gap: 18px 11px; }
  .product-card { padding-bottom: 3px; border: 0; }
  .product-image-wrap { aspect-ratio: .98 / 1; border-radius: 16px; }
  .product-card-featured .product-image-wrap { aspect-ratio: .98 / 1; }
  .product-image-wrap .product-front, .product-image-wrap .product-reverse { padding: 4px; }
  .product-meta { margin: 8px 1px 5px; font-size: 9px; }
  .product-title, .product-card-featured .product-title { min-height: 2.65em; margin: 0 1px 5px; font-size: 13px; line-height: 1.33; }
  .product-essentials { margin-bottom: 5px; font-size: 10px; }
  .product-footer { align-items: center; padding: 0 1px; }
  .product-price, .product-card-featured .product-price { font-size: 13px; }
  .add-button { min-width: 68px; height: 35px; border-radius: 10px; font-size: 10px; }
  .product-flip { top: 8px; right: 8px; min-width: 46px; min-height: 36px; border-radius: 9px; }
  .main-nav { min-height: calc(70px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); padding: 6px 9px calc(6px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); border: 1px solid var(--line); border-bottom: 0; border-radius: 19px 19px 0 0; }
  .nav-link { min-height: 54px; border-radius: 12px; font-size: 10px; }
  .nav-link.active { background: #efe7d5; color: #373023; }
  .nav-link.active::after { display: none; }
  .nav-link::before { font-size: 18px; }
  .filter-options { border-radius: 24px 24px 0 0; padding-bottom: calc(20px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); }
  .filter-options .filter-select { border-radius: 12px; }
  .product-view { padding-top: 17px; }
  .detail-main-image { border-radius: 20px; }
  .detail-thumbnail { border-radius: 10px; }
  .detail-info h1 { font-size: 33px; }
  .detail-mobile-purchase:not([hidden]) { right: 10px; bottom: calc(76px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); left: 10px; min-height: 66px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 12px 32px #18231d21; }
  .detail-mobile-purchase button { min-height: 44px; border-radius: 11px; }
  .request-drawer { top: auto; bottom: 0; width: 100%; height: min(88dvh, 800px); padding-bottom: calc(24px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); border-radius: 24px 24px 0 0; transform: translateY(105%); box-shadow: 0 -18px 40px #10182726; }
  .request-drawer.open { transform: translateY(0); }
  .auction-card { border-radius: 20px; }
  .auction-image { border-radius: 14px; }
  .auction-intro { display: none; }
  .auction-access { display: block; margin: 15px 0 15px; padding: 13px 15px; border-radius: 15px; box-shadow: none; }
  .auction-access-mark, .auction-access-kicker { display: none; }
  .auction-access-copy strong { font: 700 12px/1.4 var(--sans); }
  .auction-access-copy p { margin-top: 4px; font-size: 10px; line-height: 1.4; }
  .auction-access-button { width: 100%; min-height: 38px; margin-top: 10px; border-radius: 10px; font-size: 11px; }
  .auction-preview-notice { margin: 10px 0 13px; border-radius: 11px; }
  .section-view { padding-top: 28px; }
  .footer { display: none; }
  html[data-theme="dark"] .nav-link.active { background: #383325; color: #e8d4a2; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card:hover, .product-image-wrap img { animation: none; transform: none; transition: none; }
  .request-drawer { transition: none; }
}

/* Keep the valuation offer legible inside Telegram's narrow viewport. */
@media (max-width: 620px) {
  .intro { height: 225px; min-height: 225px; }
  .intro-copy { width: 68%; padding-top: 16px; }
  .intro h1 { font-size: clamp(27px, 7.6vw, 33px); }
  .intro-text { display: block; max-width: 205px; margin-top: 8px; color: #f0eadb; font-size: 9px; line-height: 1.35; }
  .intro-cta { margin-top: 9px; }
  .intro-art .featured-product-copy { right: 8px; bottom: 8px; left: auto; width: 112px; max-width: 112px; padding: 7px 8px; }
  .intro-art .featured-product-copy strong { max-width: 100%; overflow: visible; text-overflow: clip; white-space: normal; font-size: 13px; line-height: 1.1; }
  .intro-art .featured-product-copy > span:first-child { font-size: 6px; }
  .intro-art .featured-product-copy > span:nth-of-type(2) { font-size: 7px; white-space: normal; }
}

/* The basket is a destination in the Mini App, not a hidden header control. */
.manager-shortcut { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--gold-deep); cursor: pointer; }
.manager-shortcut:hover, .manager-shortcut:focus-visible { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 11%, var(--surface)); outline: none; }
.manager-shortcut svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav-basket { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.nav-basket svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-basket-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #171b1a; font: 700 10px/1 var(--sans); }
.nav-basket.is-open { color: var(--ink); }
.basket-toast { position: fixed; z-index: 65; right: 22px; bottom: 24px; width: min(360px, calc(100vw - 32px)); margin: 0; padding: 12px 16px; border: 1px solid #c5b58f; border-radius: 12px; background: #faf7ef; box-shadow: 0 12px 32px #15171320; color: #2b2b27; font: 650 12px/1.35 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-quantity { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; margin-top: 2px; }
.drawer-quantity button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; }
.drawer-quantity button:disabled { opacity: .35; cursor: default; }
.drawer-item-copy .drawer-quantity span { color: var(--ink); font: 650 10px/1.2 var(--sans); }
.basket-continue { align-self: flex-start; min-height: 38px; padding: 7px 0; border: 0; background: transparent; color: var(--gold-deep); font: 700 11px/1.3 var(--sans); cursor: pointer; }
.basket-continue:hover { text-decoration: underline; }
html[data-theme="dark"] .basket-toast { border-color: #75613d; background: #24231f; color: #f4f0e8; }

@media (max-width: 620px) {
  .main-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nav-basket { position: relative; flex-direction: column; gap: 3px; border: 1px solid #d4bc82; border-radius: 13px; background: #f4ead2; color: #3a3020; }
  .nav-basket svg { width: 19px; height: 19px; }
  .nav-basket::before { display: none; }
  .nav-basket-count { position: absolute; top: 2px; left: calc(50% + 9px); min-width: 16px; height: 16px; font-size: 9px; }
  .nav-basket.is-open { background: #e9d39f; color: #312719; }
  .basket-toast { right: 14px; bottom: calc(88px + max(env(safe-area-inset-bottom), var(--acoin-safe-bottom, 0px))); left: 14px; width: auto; }
  .request-drawer { overflow-y: auto; }
  .drawer-items { flex: 0 0 auto; max-height: min(34dvh, 270px); overflow-y: auto; }
  html[data-theme="dark"] .nav-basket { border-color: #847044; background: #383325; color: #e8d4a2; }
  html[data-theme="dark"] .nav-basket.is-open { background: #514527; }
}
