@font-face {
  font-family: Manrope;
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Neucha;
  src: url("../fonts/Neucha-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --ink: #22201f;
  --muted: #676360;
  --paper: #fff;
  --wash: #f5f3f1;
  --line: #e5e1dd;
  --accent: #e00785;
  --yellow: #fcd600;
  --width: 1400px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 Manrope,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
button:hover,
.button:hover {
  background: #b8006b;
  border-color: #b8006b;
}
button:disabled {
  background: #dedad7;
  border-color: #dedad7;
  color: #676360;
  cursor: not-allowed;
}
a:hover {
  color: var(--accent);
}
.button:hover {
  color: white;
}
.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #c3bdb6;
}
.button-secondary:hover {
  background: var(--wash);
  border-color: var(--ink);
  color: var(--ink);
}
.button-light {
  background: white;
  border-color: white;
  color: var(--ink);
}
.full-width {
  width: 100%;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 17px;
}
input {
  min-height: 48px;
  border: 1px solid #aba49e;
  border-radius: 4px;
  padding: 10px 12px;
  min-width: 0;
  width: 100%;
  background: white;
  color: var(--ink);
}
label {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.site-header {
  max-width: var(--width);
  margin: auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--line);
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
  width: 64px;
  height: 56px;
}
.brand > span {
  font:
    italic 34px Neucha,
    sans-serif;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-self: stretch;
  align-items: center;
  font-size: 14px;
}
.site-header nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.site-header nav a.selected {
  box-shadow: inset 0 -2px var(--accent);
}
.header-account {
  margin-left: auto;
  display: flex;
  gap: 25px;
  align-items: center;
}
.languages {
  display: flex;
  gap: 12px;
  font-size: 11px;
}
.languages a {
  padding: 6px 0;
  color: var(--muted);
}
.languages a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.account-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; }
.account-link {
  font-size: 13px;
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
main {
  max-width: var(--width);
  margin: auto;
  padding: 0 32px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 24px;
}
.intro h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.4px;
  margin-bottom: 9px;
}
.intro h1 em {
  font:
    normal 1.22em/1 Neucha,
    sans-serif;
  color: var(--accent);
}
.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.intro > a {
  font-size: 13px;
  display: flex;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.live-page {
  background: #faf9f6;
}
.live-page .site-header {
  border-bottom-color: var(--ink);
}
.session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.session-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-width: 0;
  padding: 10px 0;
}
[data-session-title] {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.session-status {
  font-weight: 800;
}
.session-status[data-status="Live"] {
  color: #b8006b;
}
.session-status[data-status="Disconnected"] {
  color: #a41449;
}
.buyer-ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 6px 0 6px 18px;
  border-left: 1px solid var(--line);
}
.buyer-ticket strong {
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 8px;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.live-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
}
.video-stage {
  position: relative;
  background: #181615;
  min-height: 640px;
  height: 100%;
  overflow: hidden;
}
.store-photo,
.video-consent > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.34);
}
.video-stage iframe {
  width: 100%;
  height: calc(100% - 52px);
  border: 0;
  position: absolute;
  inset: 0;
}
.video-stage iframe[hidden] {
  display: none;
}
.video-caption {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 108px;
  color: white;
  max-width: 490px;
}
.video-caption h2,
.video-consent h2 {
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  margin: 20px 0 28px;
  max-width: 410px;
  letter-spacing: -1px;
}
.video-wordmark {
  display: block;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}
.video-wordmark em {
  display: inline-block;
  color: var(--yellow);
  font: normal 1.3em/1 Neucha, sans-serif;
}
.play-icon {
  font-size: 14px;
}
.video-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #181615;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 24px;
  min-height: 52px;
  font-size: 12px;
}
.video-bottom a:hover {
  color: var(--yellow);
}
.video-consent {
  position: absolute;
  inset: 0;
}
.video-consent > div {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 48px 38px 96px;
  color: white;
  text-align: left;
}
.video-consent small {
  margin-top: 16px;
  max-width: 320px;
  font-size: 11px;
  color: #e3dfdc;
}
.bidding-panel {
  padding: 22px;
  background: white;
  border: 1px solid #d7d1ca;
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-heading h2 {
  font-size: 15px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 800;
}
.panel-heading > span {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  max-width: 65%;
}
.panel-heading .ending-soon {
  background: #fff0f6;
  color: #a80058;
  padding: 3px 8px;
}
.current-product {
  height: 230px;
  background: var(--wash);
  position: relative;
}
.current-product > img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.lot-number {
  position: absolute;
  top: 14px;
  bottom: auto;
  left: 14px;
  background: var(--yellow);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
}
.product-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 17px 0 8px;
}
.product-title h3 {
  font-size: 23px;
  letter-spacing: -0.8px;
  margin: 0;
  overflow-wrap: anywhere;
}
.product-title > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.product-description {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
  white-space: pre-line;
  max-height: 90px;
  overflow: auto;
}
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.price-line > span {
  font-size: 12px;
  color: var(--muted);
}
.price-line strong {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.highest-message {
  font-size: 12px;
  color: #38653f;
  margin: 4px 0 12px;
  min-height: 18px;
}
.bid-controls {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.4fr);
  gap: 10px;
}
.bid-controls button {
  padding: 12px;
  min-height: 52px;
}
.bid-controls input {
  font-weight: 700;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.feedback {
  font-size: 13px;
  color: #a41449;
  min-height: 20px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.orders-shortcut {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.feedback:empty {
  min-height: 0;
  margin: 0;
}
.waiting-product {
  display: flex;
  flex: 1;
  min-height: 450px;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--wash);
  text-align: center;
}
.waiting-product img {
  width: 155px;
  height: 140px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 25px;
}
.waiting-product h3 {
  font:
    30px/1.15 Neucha,
    sans-serif;
  max-width: 280px;
  margin-bottom: 10px;
}
.waiting-product p {
  color: var(--muted);
  font-size: 13px;
  max-width: 270px;
  margin: 0;
}
.session-lots {
  padding-top: 48px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}
.section-heading > span,
.section-heading > a {
  font-size: 12px;
  color: var(--muted);
}
.lot-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lot-item > img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: var(--wash);
}
.lot-item > div {
  padding: 16px 0;
}
.lot-item > div > span {
  font-size: 11px;
  color: var(--muted);
}
.lot-item h3 {
  font-size: 15px;
  margin: 6px 0 12px;
}
.lot-item-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.lot-item-bottom > span {
  font-size: 11px;
  color: var(--muted);
}
.how-section {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 2px solid var(--ink);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps article {
  padding: 12px 0;
}
.steps article > span {
  font:
    38px Neucha,
    sans-serif;
  color: var(--accent);
}
.steps h3 {
  margin: 13px 0 8px;
  font-size: 15px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  margin-bottom: 0;
}
.rules {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 35px;
  font-size: 13px;
}
.rules summary {
  cursor: pointer;
}
.rules p {
  max-width: 780px;
  color: var(--muted);
  margin: 15px 0 0;
}
.site-footer {
  max-width: var(--width);
  margin: auto;
  padding: 25px 32px 35px;
  display: flex;
  gap: 35px;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 24px;
}
.account-page {
  max-width: 960px;
  min-height: 65vh;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.account-intro h1,
.orders-page h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
}
.account-intro p {
  color: var(--muted);
  max-width: 320px;
  font-size: 14px;
}
.account-intro > a {
  font-size: 13px;
  border-bottom: 1px solid var(--accent);
}
.details-form label {
  margin: 0 0 8px;
}
.details-form select {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--line);
  background: white;
  font: inherit;
  color: inherit;
}
.details-form input,
.details-form select {
  margin-bottom: 20px;
}
.details-form > button {
  width: 100%;
}
.details-form > button + button {
  margin-top: 12px;
}
.details-form > a {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.orders-page {
  padding: 45px 0;
  min-height: 65vh;
}
.empty-orders {
  padding: 65px 0 100px;
  border-top: 1px solid var(--line);
}
.empty-orders p {
  color: var(--muted);
}
.order {
  margin-bottom: 45px;
  border-top: 2px solid var(--ink);
}
.order > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  align-items: center;
}
.order > header span {
  font-size: 12px;
  color: var(--muted);
}
.order > header h2 {
  font-size: 19px;
  margin: 8px 0 0;
}
.order > header > strong {
  font-size: 13px;
  color: var(--accent);
}
.order-line {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.order-line img {
  width: 70px;
  height: 85px;
  object-fit: contain;
  background: var(--wash);
}
.order-line h3 {
  margin: 0 0 5px;
  font-size: 15px;
}
.order-line span {
  font-size: 12px;
  color: var(--muted);
}
.order-line > strong {
  margin-left: auto;
  white-space: nowrap;
}
.order-line > div { min-width: 0; overflow-wrap: anywhere; }
.stock-cancellation { margin-top: 10px; font-size: 13px; }
.stock-cancellation summary { cursor: pointer; text-decoration: underline; }
.stock-cancellation p { margin: 10px 0; }
.stock-cancellation .button { white-space: normal; }
.order > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  gap: 20px;
}
.order > footer strong {
  font-size: 25px;
  margin-left: 20px;
}
.order > footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.preview-notice {
  text-align: center;
  background: var(--yellow);
  font-size: 12px;
  padding: 8px;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  background: white;
  z-index: 10;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
@media (prefers-reduced-motion: no-preference) {
  .intro {
    animation: appear 0.25s ease-out;
  }
  .live-workspace {
    animation: appear 0.4s ease-out;
  }
  .bidding-panel {
    animation: appear 0.3s ease-out;
  }
  .lot-item img {
    transition: opacity 0.18s;
  }
  .lot-item:hover img {
    opacity: 0.85;
  }
  @keyframes appear {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, .button { transition: none; }
}
@media (min-width: 1050px) {
  .bidding-panel {
    position: sticky;
    top: 20px;
    align-self: start;
    min-height: 640px;
  }
}
@media (max-width: 1050px) {
  .site-header {
    gap: 24px;
  }
  .site-header nav {
    gap: 18px;
  }
  .header-account {
    gap: 16px;
  }
  .live-workspace {
    gap: 24px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .video-stage {
    min-height: 610px;
  }
  .video-caption {
    left: 25px;
    right: 25px;
  }
  .video-caption h2 {
    font-size: 36px;
  }
  .current-product {
    height: 210px;
  }
  .lot-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    gap: 24px;
  }
  .account-page {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 10px 20px;
    min-height: 82px;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .brand img {
    width: 64px;
    height: 56px;
  }
  .brand > span {
    font-size: 26px;
  }
  .brand {
    gap: 9px;
  }
  .header-account {
    order: 1;
    gap: 12px;
  }
  .account-link {
    font-size: 11px;
  }
  .languages {
    gap: 8px;
    font-size: 10px;
  }
  .site-header nav {
    order: 2;
    width: 100%;
    gap: 24px;
    height: 42px;
    font-size: 13px;
  }
  .site-header nav a {
    padding: 8px 0;
  }
  .intro {
    padding: 24px 0 20px;
  }
  .intro h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }
  .intro h1 em {
    font-size: 1.22em;
  }
  .intro p {
    font-size: 12px;
  }
  .intro > a {
    display: none;
  }
  main {
    padding: 0 20px;
  }
  .live-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-stage {
    min-height: 350px;
    height: auto;
    aspect-ratio: 1.15;
  }
  .video-stage:has(iframe:not([hidden])) {
    aspect-ratio: 9 / 16;
  }
  .session-bar {
    align-items: stretch;
    gap: 10px;
    font-size: 11px;
    margin-bottom: 16px;
  }
  .session-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .buyer-ticket {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px 8px;
    max-width: 45%;
    padding-left: 12px;
  }
  .buyer-ticket > span:first-child {
    width: 100%;
    text-align: right;
  }
  .buyer-ticket strong {
    font-size: 18px;
  }
  .store-photo {
    object-position: 50% 38%;
  }
  .video-caption {
    bottom: 65px;
    left: 24px;
    max-width: 300px;
  }
  .video-caption h2 {
    font-size: 23px;
    margin: 12px 0 20px;
  }
  .video-wordmark {
    font-size: 40px;
  }
  .video-consent > div {
    padding: 24px 24px 76px;
  }
  .video-consent h2 {
    font-size: 23px;
    margin: 14px 0 20px;
  }
  .video-consent small {
    margin-top: 12px;
  }
  .video-caption .button {
    min-height: 42px;
    padding: 9px 17px;
    font-size: 12px;
  }
  .video-bottom {
    font-size: 10px;
    padding: 12px 16px;
  }
  .video-stage iframe {
    min-height: 0;
    height: calc(100% - 40px);
  }
  .bidding-panel {
    padding: 18px;
  }
  .current-product {
    height: 230px;
  }
  .panel-heading {
    margin-bottom: 12px;
  }
  .waiting-product {
    min-height: 260px;
    padding: 22px;
  }
  .waiting-product img {
    width: 105px;
    height: 95px;
    margin-bottom: 15px;
  }
  .waiting-product h3 {
    font-size: 25px;
  }
  .waiting-product p {
    font-size: 12px;
  }
  .product-title h3 {
    font-size: 23px;
  }
  .bid-controls {
    grid-template-columns: minmax(85px, 0.75fr) minmax(0, 1.4fr);
  }
  .orders-shortcut {
    margin-top: 4px;
  }
  .lot-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }
  .lot-item {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
  .lot-item > img {
    height: 180px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading > span {
    max-width: 140px;
    text-align: right;
    font-size: 10px;
  }
  .how-section {
    margin-top: 30px;
    padding: 25px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps article {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .steps article:last-child {
    border: 0;
  }
  .steps article > span {
    grid-row: span 2;
  }
  .steps h3 {
    margin: 3px 0 7px;
  }
  .steps p {
    grid-column: 2;
    max-width: none;
    font-size: 12px;
  }
  .site-footer {
    padding: 20px;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 10px;
  }
  .site-footer > div {
    width: 100%;
  }
  .account-page {
    grid-template-columns: 1fr;
    margin: 30px 0;
    gap: 25px;
  }
  .account-intro h1,
  .orders-page h1 {
    font-size: 29px;
  }
  .account-intro p {
    max-width: none;
  }
  .account-intro > a {
    font-size: 12px;
  }
  .orders-page {
    padding: 30px 0;
  }
  .order > header {
    align-items: start;
  }
  .order > header > strong {
    font-size: 11px;
    max-width: 130px;
    text-align: right;
  }
  .order-line {
    gap: 12px;
  }
  .order-line img {
    width: 56px;
    height: 70px;
  }
  .order-line h3 {
    font-size: 13px;
  }
  .order-line > strong {
    font-size: 13px;
  }
  .order > footer {
    align-items: start;
    flex-direction: column;
  }
  .order-actions {
    width: 100%;
  }
  .order-actions .button {
    width: 100%;
  }
  .order > footer p {
    font-size: 11px;
  }
  .empty-orders {
    padding: 40px 0;
  }
}
/* Grid children must be allowed to shrink below their aspect-ratio's intrinsic width. */
.video-stage,
.bidding-panel {
  min-width: 0;
  width: 100%;
}
@media (max-width: 760px) {
  .live-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stock-section {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.stock-section .section-heading p {
  max-width: 550px;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}
[data-stock-feedback]:empty { display: none; }
.stock-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 310px;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.stock-main-photo img {
  width: 140px;
  height: 150px;
  object-fit: contain;
  background: var(--wash);
}
.stock-description h3 { margin: 0 0 5px; font-size: 20px; overflow-wrap: anywhere; }
.stock-description > span { font-size: 12px; color: var(--muted); }
.stock-description p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin: 8px 0; }
.stock-description > strong { font-size: 18px; }
.stock-item form { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 20px; align-items: end; }
.stock-quantity { grid-row: span 2; align-self: end; }
.stock-quantity input { height: 52px; font-size: 18px; font-weight: 700; }
.stock-total { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; align-items: baseline; }
.stock-total strong { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stock-item button { min-height: 52px; padding: 12px; }
@media (max-width: 1050px) {
  .stock-item { grid-template-columns: 110px minmax(0, 1fr) 250px; gap: 20px; }
  .stock-main-photo img { width: 110px; height: 135px; }
  .stock-item form { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .stock-section { margin-top: 36px; padding-top: 24px; }
  .stock-section .section-heading > a { display: none; }
  .stock-item { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .stock-main-photo img { width: 88px; height: 110px; align-self: start; }
  .stock-description h3 { font-size: 18px; }
  .stock-item form, .stock-item > a { grid-column: 1 / -1; }
  .stock-item form { grid-template-columns: 96px minmax(0, 1fr); gap: 8px 20px; }
  .stock-total { justify-content: flex-end; }
}

.buyer-number { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.buyer-number strong { font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.buyer-number span { color: var(--muted); font-size: 14px; }

.purchase-dialog {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
}
.purchase-dialog::backdrop { background: rgb(24 22 21 / 72%); }
body:has(.purchase-dialog[open]) { overflow: hidden; }
.purchase-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.purchase-dialog h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.dialog-close { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; font-size: 28px; background: transparent; color: var(--ink); border-color: transparent; }
.dialog-close:hover { background: var(--wash); color: var(--ink); border-color: var(--line); }
.purchase-product { display: flex; gap: 20px; align-items: center; }
.purchase-product img { width: 88px; height: 100px; object-fit: contain; background: var(--wash); }
.purchase-product h3 { font-size: 18px; margin: 0 0 8px; overflow-wrap: anywhere; }
.purchase-product p { margin: 0; font-size: 13px; color: var(--muted); }
.purchase-summary { margin: 24px 0 16px; }
.purchase-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: 14px; }
.purchase-summary dt { color: var(--muted); }
.purchase-summary dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.purchase-summary .purchase-total { align-items: baseline; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.purchase-total dd { font-size: 28px; }
#purchase-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.purchase-message { font-size: 14px; overflow-wrap: anywhere; }
.purchase-message:empty { display: none; }
.purchase-dialog > footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 16px; }
.purchase-dialog > footer > * { min-width: 0; }
@media (max-width: 540px) {
  .purchase-dialog { padding: 20px; }
  .purchase-dialog h2 { font-size: 22px; }
  .purchase-dialog > footer { flex-direction: column-reverse; }
  .purchase-dialog > footer > * { width: 100%; }
}

.delivery-reminder:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:16px 0; border-bottom:1px solid var(--line); }
.delivery-reminder p { margin:0; flex:1 1 240px; }

.win-dialog { border-top: 4px solid var(--pink, #ce2484); }
.win-dialog > p { line-height: 1.5; }

.manual-locker-toggle { display: flex; align-items: center; gap: 10px; }
.manual-locker-toggle input { width: auto; margin: 0; }
.details-form [hidden] { display: none; }

[data-tiktok-video] { position: absolute; inset: 0; width: 100%; height: calc(100% - 52px); object-fit: contain; background: #181615; }
[data-tiktok-cover][hidden], [data-tiktok-video][hidden] { display: none; }
@media (max-width: 700px) { .video-stage:has([data-tiktok-video]:not([hidden])) { min-height: 480px; } }

.bidding-panel .featured-stock { display: flex; flex-direction: column; border: 0; padding: 0; gap: 20px; }
.bidding-panel .featured-stock .stock-main-photo img { width: 100%; height: auto; max-height: 430px; object-fit: contain; }
.bidding-panel .featured-stock form { width: 100%; }

.stock-photos { min-width: 0; align-self: start; }
.stock-main-photo, .stock-thumbnails a { display: block; cursor: zoom-in; }
.stock-thumbnails { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stock-thumbnails img { display: block; width: 40px; height: 48px; object-fit: cover; }
.featured-stock .stock-thumbnails img { width: 56px; height: 64px; }
.stock-gallery-dialog { width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 1px solid var(--line, #ddd); background: #fff; color: #222; }
.stock-gallery-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.stock-gallery-dialog header, .stock-gallery-dialog footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stock-gallery-dialog h2 { font-size: 20px; margin: 0; overflow-wrap: anywhere; }
.stock-gallery-dialog button { min-width: 44px; min-height: 44px; }
.stock-gallery-dialog > img { display: block; width: 100%; height: min(68dvh, 760px); object-fit: contain; margin: 12px 0; }

.upcoming-auctions { margin: 0 0 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.upcoming-auctions > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.upcoming-auctions h2 { font-size: 22px; margin: 0; }
.upcoming-auctions h2 span { color: var(--muted); font-size: 16px; font-weight: 400; margin-left: 8px; }
.upcoming-auctions header p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.upcoming-auctions nav { display: flex; gap: 8px; }
.upcoming-auctions nav button { min-width: 44px; min-height: 44px; padding: 8px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.upcoming-list { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 10px; }
.upcoming-item { display: flex; flex: 0 0 300px; gap: 14px; scroll-snap-align: start; border-left: 2px solid var(--line); padding-left: 14px; }
.upcoming-item.upcoming-next { border-left: 4px solid var(--accent); }
.upcoming-item img { width: 104px; height: 130px; flex: 0 0 104px; object-fit: contain; background: var(--wash); }
.upcoming-item > div { min-width: 0; }
.upcoming-position { font-size: 12px; color: var(--muted); }
.upcoming-next .upcoming-position { color: var(--accent); font-weight: 700; }
.upcoming-item h3 { font-size: 17px; margin: 6px 0; overflow-wrap: anywhere; }
.upcoming-item div > span:not(.upcoming-position) { font-size: 13px; color: var(--muted); }
.upcoming-item p { font-size: 12px; margin: 10px 0 0; }
.upcoming-item strong { display: block; font-size: 17px; }
@media (max-width: 600px) {
  .upcoming-auctions { padding: 12px 0; margin-bottom: 18px; }
  .upcoming-auctions h2 { font-size: 19px; }
  .upcoming-auctions header p { max-width: 230px; font-size: 12px; }
  .upcoming-list { gap: 16px; }
  .upcoming-item { flex-basis: min(280px, 85%); gap: 10px; padding-left: 10px; }
  .upcoming-item img { width: 88px; height: 116px; flex-basis: 88px; }
}

.bid-timing { font-size: 13px; color: var(--muted); margin: 8px 0; }

.rules-dialog { max-height:calc(100dvh - 32px); overflow:auto; }
.auction-rules-list { padding-left:1.4rem; line-height:1.55; }
.auction-rules-list li { margin-bottom:.85rem; }
.rules-dialog footer { position:sticky; bottom:0; background:var(--paper, #faf9f6); padding-top:12px; }

/* Legal pages and a quiet, non-blocking cookie choice. */
.legal-page { max-width: 780px; margin: 32px auto 56px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-page h1 { font-size: 2rem; } .legal-page h2 { margin-top: 28px; font-size: 1.25rem; }
.legal-page dt { font-weight: 700; margin-top: 12px; } .legal-page dd { margin: 0; }
.cookie-notice { border-top: 1px solid #ccc; padding: 16px 24px; background: #fff; }
.cookie-notice p { max-width: 900px; margin: 0 0 12px; }
.cookie-choices { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-choices button { font-size: 1rem; padding: 10px 16px; }
.video-privacy { font-size: .875rem; max-width: 900px; }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 12px; }

.giveaway-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
.giveaway-dialog .giveaway-prize { display: flex; align-items: center; gap: 16px; margin: 12px 0; }
.giveaway-prize img { width: 64px; height: 64px; object-fit: contain; }
.giveaway-prize h3 { margin: 0; }
.giveaway-wheel { width: min(100%, 440px); margin-inline: auto; }
.giveaway-wheel svg { display: block; width: 100%; height: auto; }
.giveaway-result { text-align: center; font-weight: 800; }
