/* ==========================================================================
   Valor design system
   Warm ivory-pink surfaces, burgundy structure, rose accents.
   One serif for page titles, one sans for every other piece of UI.
   ========================================================================== */

/* Self-hosted fonts, latin subsets */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-normal.woff2") format("woff2");
}

/* Tokens */
:root {
  /* Brand palette */
  --burgundy-900: #3b0a1e;
  --burgundy-800: #5a1030;
  --burgundy-700: #7a1542;
  --burgundy-600: #96205a;
  --pink-500: #c2457e;
  --pink-300: #e8a3c0;
  --pink-100: #f8e4ec;
  --pink-50: #fdf4f7;
  --ink-900: #24141b;
  --ink-600: #5e4a53;
  --ink-400: #8e7a83;
  --line: #ebd9e0;
  --surface: #ffffff;

  /* Status */
  --success: #2f7d5b;
  --success-soft: #e4f3ec;
  --warning: #b7791f;
  --warning-soft: #fbf0da;
  --danger: #c0262d;
  --danger-soft: #fce6e7;
  --info: #3f5f9e;
  --info-soft: #e6ecf8;

  /* Legacy aliases kept so existing rules inherit the new palette */
  --ink: var(--ink-900);
  --ink-soft: #3b2a31;
  --ink-muted: var(--ink-600);
  --paper: var(--surface);
  --cream: #f7f1e8;
  --cream-bright: #fffdf9;
  --sand: #efe6d8;
  --sand-deep: #e2d5c4;
  --gold: var(--burgundy-600);
  --gold-deep: var(--burgundy-800);
  --rust: var(--danger);
  --live: #ff2d87;
  --olive: #9aa892;
  --sage: #9aa892;
  --lemon: #f5e76e;
  --hot-pink: #ff2d87;
  --pink: var(--burgundy-700);
  --pink-strong: var(--burgundy-700);
  --pink-deep: var(--burgundy-900);
  --burgundy: var(--burgundy-700);
  --burgundy-deep: var(--burgundy-900);
  --charcoal: var(--ink-900);
  --border: var(--line);
  --line-soft: rgba(59, 10, 30, 0.08);
  --line-light: rgba(255, 255, 255, 0.24);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout, 8px scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --container: 1200px;
  --gutter: 24px;
  --section: 48px;

  /* Shape */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(59, 10, 30, 0.06), 0 8px 24px rgba(59, 10, 30, 0.06);
  --shadow-md: 0 2px 4px rgba(59, 10, 30, 0.07), 0 16px 40px rgba(59, 10, 30, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 180ms;
}

/* Role-based UI visibility
   Hide seller-specific elements for pure buyers. Guests still see the seller
   entry points so they can apply. */
[data-ui-role="buyer"] [data-hide-for-buyer] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

/* Hide the page scrollbar but keep scrolling: wheel, trackpad, touch,
   keyboard, anchors, and scripted scrollIntoView all still work. */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-bright);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--burgundy-800);
}

:where(.section--dark, .cta-band, .page-hero--dark, .site-footer, .market-cta-tile, .announcement) :is(h1, h2, h3, h4) {
  color: var(--surface);
}

em {
  font-family: var(--serif);
  font-style: italic;
}

::selection {
  background: var(--pink-100);
  color: var(--burgundy-900);
}

:focus-visible {
  outline: 2px solid var(--burgundy-600);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.site-footer :focus-visible,
.hero__media :focus-visible {
  outline-color: var(--surface);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform var(--speed) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), 880px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--burgundy-600);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--plain::before {
  display: none;
}

.display {
  font-size: clamp(2rem, 4.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
}

h1 em,
h2 em,
h3 em,
.section-title em {
  font-style: normal;
  font-weight: 500;
}

.section-title em {
  color: var(--gold-deep);
}

.section--dark .section-title em {
  color: var(--pink-300);
}

.section-lead {
  max-width: 54ch;
  margin-top: 16px;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.6;
}

.section--dark .section-lead {
  color: rgba(243, 235, 221, 0.76);
}

.section--dark {
  background: var(--burgundy);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.section--flush {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head__copy {
  max-width: 760px;
}

.section-head .section-lead {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--burgundy-700);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: color var(--speed) ease;
}

.text-link:hover {
  color: var(--burgundy-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section--dark .text-link {
  color: var(--pink-300);
}

.section--dark .text-link:hover {
  color: var(--surface);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--speed) var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Buttons: primary (.btn--dark), secondary (.btn--outline / .btn--light),
   tertiary (.text-link). One primary per section. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: none;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.btn:hover {
  transform: none;
}

.btn:active {
  transform: none;
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(150, 32, 90, 0.18);
  border-color: var(--burgundy-600);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--dark {
  background: var(--burgundy-700);
  border-color: var(--burgundy-700);
  color: var(--surface);
  box-shadow: none;
}

.btn--dark:hover {
  background: var(--burgundy-800);
  border-color: var(--burgundy-800);
  box-shadow: none;
}

.btn--light,
.btn--outline {
  background: var(--surface);
  border-color: var(--burgundy-700);
  color: var(--burgundy-700);
}

.btn--light:hover,
.btn--outline:hover {
  background: var(--pink-100);
  border-color: var(--burgundy-700);
  color: var(--burgundy-700);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--surface);
}

.btn--outline-light:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--burgundy-700);
}

/* Add to cart: text only with a light pink edge. The fill appears on hover
   and stays while the button is pressed. */
.btn.btn--cart {
  background: transparent;
  border: 1px solid var(--pink-300);
  color: var(--burgundy-700);
  box-shadow: none;
}

.btn.btn--cart:hover,
.btn.btn--cart:focus-visible {
  background: var(--pink-100);
  border-color: var(--pink-300);
  color: var(--burgundy-800);
  box-shadow: none;
}

.btn.btn--cart:active {
  background: var(--pink-300);
  border-color: var(--pink-300);
  color: var(--burgundy-900);
  box-shadow: none;
}

.btn--small {
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--wide,
.btn--block {
  width: 100%;
}

.btn[disabled],
.btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.btn.is-sold {
  border-color: var(--line);
  background: var(--pink-100);
  color: var(--ink-600);
  opacity: 1;
  box-shadow: none;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color var(--speed) ease, border-color var(--speed) ease;
}

.icon-btn:hover {
  background: rgba(23, 21, 15, 0.06);
  border-color: var(--ink);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.cart-count[data-empty="true"] {
  display: none;
}

/* Announcement + header */
.announcement {
  background: var(--burgundy);
  color: rgba(243, 235, 221, 0.86);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 36px;
  text-align: center;
}

.announcement a {
  border-bottom: 1px solid rgba(243, 235, 221, 0.45);
  color: var(--cream);
  white-space: nowrap;
  transition: border-color var(--speed) ease;
}

.announcement a:hover {
  border-color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: min(220px, 46vw);
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-inline: auto;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--speed) ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(192, 74, 52, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f3d5e2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 5, 9, 0.04);
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--speed) var(--ease), top var(--speed) var(--ease),
    opacity var(--speed) ease;
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease, visibility 0s;
}

.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(24, 16, 20, 0.44);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.mobile-menu.is-open .mobile-menu__scrim {
  opacity: 1;
}

.mobile-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  height: 100%;
  margin-left: auto;
  background: #fff;
  box-shadow: -16px 0 48px rgba(20, 10, 15, 0.18);
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: none;
}

.mobile-menu__head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px 18px;
  border-bottom: 1px solid #efe9ec;
}

.mobile-menu__me {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #1c1420;
  text-decoration: none;
}

.mobile-menu__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3e4ea;
  color: #7a1542;
  font-size: 17px;
  font-weight: 700;
}

.mobile-menu__me-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-menu__me-copy strong {
  color: #1c1420;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mobile-menu__me-copy span {
  overflow: hidden;
  color: #7d7078;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu__chev {
  flex: none;
  width: 18px;
  height: 18px;
  color: #a3969d;
}

.mobile-menu__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f1f3;
  color: #3a2f35;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.mobile-menu__close:hover {
  background: #ece4e8;
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__nav {
  flex: 1 1 auto;
  padding: 8px 10px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu__group {
  margin: 14px 10px 4px;
  color: #a3969d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mobile-menu__group:first-child {
  margin-top: 4px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 10px;
  color: #231a1f;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 0.14s ease;
}

.mobile-menu__nav a:hover {
  background: #f7f3f5;
}

.mobile-menu__nav a svg {
  flex: none;
  width: 21px;
  height: 21px;
  color: #8d7b83;
}

.mobile-menu__nav a span {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-menu__footer {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #efe9ec;
  background: #fcfafb;
}

.mobile-menu__footer a,
.mobile-menu__footer button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #7d7078;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.mobile-menu__footer svg {
  width: 15px;
  height: 15px;
}

.mobile-menu__footer a:hover,
.mobile-menu__footer button:hover {
  color: #7a1542;
}

@media (max-width: 420px) {
  .mobile-menu__links a {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .mobile-menu__desc {
    text-align: left;
  }
}

/* Hero */
.hero {
  background: var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 650px;
}

.hero__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 40px clamp(56px, 7vw, 96px)
    max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.hero__copy-inner {
  width: 100%;
  max-width: 610px;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero h1 em {
  display: block;
  color: var(--gold-deep);
}

.hero__lead {
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.75;
}

.hero__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 540px);
  margin-top: 32px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color var(--speed) ease;
}

.hero__search:focus-within {
  border-color: var(--ink);
}

.hero__search svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--ink-muted);
}

.hero__search input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  outline: 0;
}

.hero__search input::placeholder {
  color: var(--ink-400);
}

.hero__search button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  transition: background-color var(--speed) ease;
}

.hero__search button:hover {
  background: var(--gold-deep);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--burgundy);
}

.hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.94) contrast(1.02);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 21, 15, 0) 52%, rgba(23, 21, 15, 0.42) 100%);
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(243, 235, 221, 0.38);
  background: rgba(23, 21, 15, 0.55);
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Floating auction card */
.auction-float {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  width: min(330px, calc(100% - 52px));
  padding: 22px;
  border: 1px solid rgba(243, 235, 221, 0.22);
  background: rgba(23, 21, 15, 0.94);
  color: var(--cream);
}

.auction-float__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-badge .live-dot {
  box-shadow: 0 0 0 4px rgba(192, 74, 52, 0.2);
}

.auction-float__ref {
  color: rgba(243, 235, 221, 0.55);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auction-float h2 {
  margin-bottom: 4px;
  font-size: 1.5rem;
  line-height: 1.05;
}

.auction-float__meta {
  color: rgba(243, 235, 221, 0.62);
  font-size: 12px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.countdown__unit {
  padding: 8px 6px;
  border: 1px solid rgba(243, 235, 221, 0.18);
  text-align: center;
}

.countdown__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown__label {
  display: block;
  margin-top: 4px;
  color: rgba(243, 235, 221, 0.55);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auction-float__bid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 235, 221, 0.18);
}

.auction-float__label {
  display: block;
  color: rgba(243, 235, 221, 0.55);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auction-float__amount {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.auction-float__bidders {
  color: rgba(243, 235, 221, 0.66);
  font-size: 12px;
  text-align: right;
}

.auction-float .btn {
  min-height: 46px;
  padding-inline: 16px;
  font-size: 0.75rem;
}

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.trust-strip__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-strip__item:last-child {
  padding-right: 0;
}

.trust-strip__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
  color: var(--gold-deep);
}

.trust-strip__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}

.trust-strip__sub {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Generic section spacing */
.section {
  padding-block: var(--section);
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  min-width: 0;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.split__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 78%;
  padding: 14px 18px;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.5;
}

.split__copy {
  min-width: 0;
}

.split__copy .section-title {
  max-width: 14ch;
}

.split__copy p {
  max-width: 50ch;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.78;
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.feature {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 3px;
  color: var(--gold-deep);
}

.feature h3 {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.6;
}

.split__copy .feature p {
  margin: 0;
  font-size: 12px;
}

.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Product cards */
.finds-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}

.product-card {
  grid-column: span 4;
  min-width: 0;
  cursor: pointer;
}

.product-card:nth-child(1) {
  grid-column: span 5;
}

.product-card:nth-child(2) {
  grid-column: span 4;
}

.product-card:nth-child(3) {
  grid-column: span 3;
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: var(--sand);
  overflow: hidden;
  cursor: pointer;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.product-card__media:hover img {
  transform: scale(1.035);
  filter: brightness(0.94);
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__badge--live {
  background: var(--ink);
  color: var(--cream);
}

.product-card__quick {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(122, 21, 66, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--burgundy-700);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--speed) ease, transform var(--speed) var(--ease);
  z-index: 2;
  text-decoration: none;
}

.product-card:hover .product-card__quick,
.product-card__media:focus-visible .product-card__quick {
  opacity: 1;
  transform: translateY(0);
}

.product-card__body {
  padding-top: 16px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__tag,
.listing-row__tag {
  display: block;
  margin: 6px 0 0;
  color: var(--burgundy-700, #7a1542);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.listing-row__tag {
  margin: 0 0 4px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.verified svg {
  width: 13px;
  height: 13px;
  color: var(--gold-deep);
}

.product-card__title {
  margin-top: 6px;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.1;
}

.product-card__title button {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  transition: color var(--speed) ease;
}

.product-card__title button:hover {
  color: var(--gold-deep);
}

.product-card__price {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.product-card__price span {
  color: var(--ink-muted);
  font-weight: 400;
}

/* Seller section */
.seller {
  background: var(--cream);
}

.seller .split {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.seller__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.pill--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

/* Lives */
.lives {
  overflow: hidden;
}

.lives__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.lives-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.lives-meter svg,
.lives-meter img {
  width: 26px;
  height: 26px;
  flex: none;
  object-fit: contain;
  color: var(--gold);
}

.lives-meter__text {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lives-rules {
  border-top: 1px solid var(--line-light);
}

.lives-rules li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.lives-rules__count {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
}

.lives-rules__action {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.lives-rules__action span {
  display: block;
  margin-top: 2px;
  color: rgba(243, 235, 221, 0.6);
  font-size: 12px;
}

.lives .section__actions {
  margin-top: 24px;
}

/* Boost */
.boost__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.boost-list {
  border-top: 1px solid var(--line);
}

.boost-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.boost-row__amount {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.boost-row__amount span {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.boost-row__reach {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.boost-row__reach strong {
  font-weight: 500;
}

.boost-row svg {
  width: 20px;
  height: 20px;
  color: var(--gold-deep);
}

.boost-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

.boost-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

/* Payment flow */
.payments {
  background: var(--paper);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow__step {
  padding: 28px 26px 30px;
  border-left: 1px solid var(--line);
}

.flow__step:first-child {
  border-left: 0;
  padding-left: 0;
}

.flow__step:last-child {
  padding-right: 0;
}

.flow__num {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.flow__step h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.flow__step p {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.payment-fee-note {
  font-size: 10px;
  color: var(--ink-muted);
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0;
}

.payment-note {
  color: var(--ink-muted);
  font-size: 12px;
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--burgundy);
  color: var(--cream);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  filter: saturate(0.9);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 15, 36, 0.92) 0%, rgba(91, 24, 53, 0.66) 48%, rgba(91, 24, 53, 0.2) 100%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-band h2 {
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.94;
}

.cta-band p {
  max-width: 46ch;
  margin-top: 22px;
  color: rgba(243, 235, 221, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-band .section__actions {
  margin-top: 32px;
}

/* Footer */
.site-footer {
  padding-top: clamp(64px, 8vw, 100px);
  background: var(--burgundy-deep);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand img {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 22px;
  color: rgba(243, 235, 221, 0.62);
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-contact {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(243, 235, 221, 0.35);
  color: var(--cream);
  font-size: 0.875rem;
  transition: border-color var(--speed) ease;
}

.footer-contact:hover {
  border-color: var(--cream);
}

.footer-col h3 {
  margin-bottom: 18px;
  color: rgba(243, 235, 221, 0.62);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 3px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: rgba(243, 235, 221, 0.78);
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: color var(--speed) ease;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line-light);
  color: rgba(243, 235, 221, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-bottom a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color var(--speed) ease;
}

.footer-bottom a:hover {
  color: var(--cream);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-payments span {
  padding: 4px 8px;
  border: 1px solid rgba(243, 235, 221, 0.22);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Page headers */
.page-hero {
  padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 76px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero--dark {
  background: var(--burgundy);
  color: var(--cream);
  border-bottom-color: var(--line-light);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.92;
}

.page-hero h1 em {
  color: var(--gold-deep);
}

.page-hero--dark h1 em {
  color: var(--gold);
}

.page-hero__lead {
  max-width: 58ch;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.75;
}

.page-hero--dark .page-hero__lead {
  color: rgba(243, 235, 221, 0.72);
}

.page-hero__aside {
  max-width: 280px;
  padding-bottom: 6px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.page-hero__aside strong {
  display: block;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.page-hero--dark .page-hero__aside strong {
  color: var(--gold);
}

/* Marketplace toolbar */
.market-toolbar {
  position: sticky;
  top: 80px;
  z-index: 30;
  padding: 14px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.market-toolbar__row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.market-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--cream-bright);
}

.market-search:focus-within {
  border-color: var(--ink);
}

.market-search svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ink-muted);
}

.market-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  outline: 0;
}

.market-search input::placeholder {
  color: var(--ink-400);
}

.sort-select {
  height: 48px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream-bright)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235f584b' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  font-size: 0.8125rem;
  appearance: none;
  cursor: pointer;
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: background-color var(--speed) ease, color var(--speed) ease,
    border-color var(--speed) ease;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.results-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 20px;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.results-bar strong {
  color: var(--ink);
  font-weight: 500;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.market-grid .product-card {
  grid-column: auto;
}

.market-grid .product-card__media {
  aspect-ratio: 4 / 5;
}

.market-grid .product-card__title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.market-cta-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(26px, 3vw, 40px);
  background: var(--burgundy);
  color: var(--cream);
}

.market-cta-tile h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.market-cta-tile p {
  max-width: 34ch;
  margin-top: 16px;
  color: rgba(243, 235, 221, 0.68);
  font-size: 0.875rem;
  line-height: 1.7;
}

.market-cta-tile .btn {
  margin-top: 30px;
  align-self: flex-start;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state h2 {
  font-size: 2.2rem;
}

.empty-state p {
  max-width: 46ch;
  margin: 12px auto 24px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Auctions */
.auction-page {
  background: var(--paper);
}

.auction-live {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.auction-live__media {
  position: relative;
  background: var(--sand);
}

.auction-live__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.auction-live__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auction-live__panel {
  position: sticky;
  top: 118px;
  padding-top: 6px;
}

.auction-live__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auction-live__title {
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  line-height: 0.96;
}

.auction-live__sub {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.auction-live__countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.auction-live__countdown .countdown__unit {
  padding: 18px 10px;
  border: 0;
  border-left: 1px solid var(--line);
}

.auction-live__countdown .countdown__unit:first-child {
  border-left: 0;
  padding-left: 0;
}

.auction-live__countdown .countdown__value {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.auction-live__countdown .countdown__label {
  color: var(--ink-muted);
  font-size: 10px;
}

.auction-live__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.auction-live__price-label {
  display: block;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auction-live__price-value {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  line-height: 1;
}

.auction-live__increment {
  padding-bottom: 5px;
  color: var(--ink-muted);
  font-size: 12px;
  text-align: right;
}

.auction-live__actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.auction-live__actions .btn {
  flex: 1;
}

.watch-btn {
  display: inline-grid;
  place-items: center;
  width: 50px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: background-color var(--speed) ease, border-color var(--speed) ease;
}

.watch-btn:hover {
  border-color: var(--ink);
}

.watch-btn svg {
  width: 19px;
  height: 19px;
}

.watch-btn[aria-pressed="true"] svg {
  fill: var(--gold-deep);
  color: var(--gold-deep);
}

.auction-live__notes {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

.auction-live__notes div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.auction-live__notes svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  color: var(--gold-deep);
}

.bid-activity {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.bid-activity h2 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bid-activity p {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
}

.auction-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line-light);
}

.auction-step {
  padding: 28px 26px;
  border-left: 1px solid var(--line-light);
}

.auction-step:first-child {
  border-left: 0;
  padding-left: 0;
}

.auction-step span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.auction-step h3 {
  margin-bottom: 7px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.auction-step p {
  color: rgba(243, 235, 221, 0.64);
  font-size: 12px;
  line-height: 1.65;
}

/* Sell page */
.sell-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.sell-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 100px);
}

.sell-hero h1 {
  font-size: clamp(3.2rem, 6.6vw, 6rem);
  line-height: 0.92;
}

.sell-hero h1 em {
  color: var(--gold-deep);
}

.sell-hero p {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.sell-hero__media {
  position: relative;
  min-width: 0;
}

.sell-hero__media img {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--burgundy-700);
}

.sell-hero__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.5;
}

.seller-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seller-compare > div {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.seller-compare > div:first-child,
.seller-compare > .compare-plan:nth-child(2) {
  border-left: 0;
  padding-left: 0;
}

.seller-compare__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.seller-compare__head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
}

.seller-compare__head p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.65;
}

.compare-plan h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-plan__price {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}

.compare-plan__price span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.compare-plan ul {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.compare-plan li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.compare-plan li strong {
  color: var(--ink);
  font-weight: 500;
}

.compare-plan--featured {
  background: var(--cream);
}

.page-sell #tools .split__media img {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  aspect-ratio: 644 / 410;
  border: 1px solid var(--burgundy-700);
  border-radius: 16px;
}

.page-sell #tools .split__caption {
  left: 12px;
  bottom: 12px;
  border-radius: 10px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.step:first-child {
  border-left: 0;
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step__num {
  display: block;
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.step h3 {
  margin-bottom: 7px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.step p {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Seller form */
.apply {
  background: var(--cream);
}

.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.form-card {
  padding: clamp(24px, 3.5vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.form-grid > .field {
  grid-column: span 6;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.fieldset legend {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-900);
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease;
}

.field textarea {
  min-height: 120px;
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235E4A53' stroke-width='1.75'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-400);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--burgundy-600);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(150, 32, 90, 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192, 38, 45, 0.1);
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  line-height: 1.45;
}

.field-hint {
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.5;
}

.fieldset {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
}

.fieldset legend {
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .form-grid > .field,
  .field--full {
    grid-column: 1 / -1;
  }
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--cream-bright);
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--speed) ease, background-color var(--speed) ease;
}

.radio-card:hover {
  border-color: var(--ink);
}

.radio-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--cream);
}

.radio-card input {
  width: 15px;
  height: 15px;
  accent-color: var(--ink);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--ink);
}

.checkbox-row a {
  border-bottom: 1px solid currentColor;
}

.form-note {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 13px;
  line-height: 1.65;
}

.form-status[hidden] {
  display: none;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--speed) var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 64ch;
  padding: 0 0 22px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* Trust page */
.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-pillar {
  padding: 30px 28px;
  border-left: 1px solid var(--line);
}

.trust-pillar:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-pillar:last-child {
  padding-right: 0;
}

.trust-pillar__num {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.trust-pillar h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.trust-pillar p {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.7;
}

.trust-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.trust-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.trust-media__copy p {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.trust-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.6;
}

.trust-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--gold-deep);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 13px;
  line-height: 1.7;
}

.notice svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--gold-deep);
}

/* Legal pages */
.legal-hero {
  padding: clamp(48px, 7vw, 84px) 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: 0.96;
}

.legal-hero p {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(48px, 6vw, 80px);
}

.legal-toc {
  position: sticky;
  top: 118px;
}

.legal-toc h2 {
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
}

.legal-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 1px solid transparent;
  margin-left: -1px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
  transition: color var(--speed) ease, border-color var(--speed) ease;
}

.legal-toc a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.legal-content {
  max-width: 720px;
}

.legal-content section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
}

.legal-content h3 {
  margin: 20px 0 8px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 18px;
  list-style: disc;
}

.legal-content a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.legal-content .notice {
  margin-top: 20px;
}

/* Search dialog */
.dialog {
  width: min(100% - 32px, 640px);
  max-height: min(86dvh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(15, 14, 11, 0.28);
  overflow: auto;
}

.dialog::backdrop {
  background: rgba(15, 14, 11, 0.62);
}

.dialog[open] {
  animation: dialog-in 240ms var(--ease);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dialog__inner {
  padding: clamp(22px, 4vw, 34px);
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dialog__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1;
}

.dialog__head p {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
}

.dialog__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--speed) ease, border-color var(--speed) ease;
}

.dialog__close:hover {
  background: rgba(23, 21, 15, 0.06);
  border-color: var(--ink);
}

.dialog__close svg {
  width: 17px;
  height: 17px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--cream-bright);
  font-size: 16px;
}

.search-form input:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(133, 85, 38, 0.16);
}

.search-suggestions {
  margin-top: 24px;
}

.search-suggestions h3 {
  margin-bottom: 10px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-suggestions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-suggestions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  transition: border-color var(--speed) ease, background-color var(--speed) ease;
}

.search-suggestions a:hover {
  border-color: var(--ink);
  background: var(--cream);
}

/* Drawer */
.drawer {
  width: min(100% - 0px, 460px);
  max-width: 460px;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -20px 0 60px rgba(15, 14, 11, 0.18);
  overflow: hidden;
}

.drawer[open] {
  animation: drawer-in 280ms var(--ease);
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.drawer__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer__head h2 {
  font-size: 2rem;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer__footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
}

.cart-empty svg {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--gold-deep);
}

.cart-empty h3 {
  font-size: 1.7rem;
}

.cart-empty p {
  max-width: 30ch;
  margin: 8px auto 20px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cart-items {
  display: grid;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-item img {
  width: 84px;
  height: 104px;
  object-fit: cover;
  background: var(--sand);
}

.cart-item__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.1;
}

.cart-item__meta {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  transition: background-color var(--speed) ease;
}

.qty button:hover {
  background: rgba(23, 21, 15, 0.06);
}

.qty span {
  min-width: 24px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.cart-item__price {
  font-size: 12px;
  font-weight: 500;
}

.cart-item__remove {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item__remove:hover {
  color: var(--rust);
}

.cart-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.cart-summary span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-summary strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

.cart-note {
  margin-bottom: 16px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* Quick view */
.quickview {
  width: min(100% - 32px, 920px);
  max-height: min(90dvh, 760px);
}

.quickview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.quickview__media {
  background: var(--sand);
}

.quickview__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.quickview__body {
  padding: clamp(24px, 4vw, 38px);
}

.quickview__body h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
}

.quickview__price {
  margin-top: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.quickview__desc {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.quickview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quickview__actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.quickview__actions .btn {
  flex: 1;
}

.quickview__fineprint {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* Checkout and Bid professional styles */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}

.checkout-summary {
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  align-self: start;
}

.checkout-summary h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.checkout-summary__content {
  margin-bottom: 16px;
}

.checkout-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-line span {
  color: var(--ink-soft);
}

.checkout-line__price {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--burgundy);
}

.checkout-line__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-line__details strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.checkout-line__qty {
  font-size: 11px;
  color: var(--ink-muted);
}

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.checkout-total strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--burgundy);
}

.bid-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.bid-summary img {
  width: 64px;
  height: 78px;
  object-fit: cover;
  border-radius: 4px;
}

.bid-summary h3 {
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--burgundy);
}

.bid-summary p {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 12px;
}

.bid-current {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.bid-current span {
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bid-current strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--burgundy);
}

.confirmation {
  text-align: center;
  padding: 16px 0 8px;
}

.confirmation svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  color: var(--gold-deep);
}

.confirmation h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.confirmation p {
  max-width: 44ch;
  margin: 12px auto 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.order-code {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 12px 18px;
  border: 1px solid rgba(243, 235, 221, 0.2);
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  line-height: 1.5;
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms var(--ease), visibility 220ms ease;
  box-shadow: 0 12px 40px rgba(15, 14, 11, 0.25);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--gold);
}

/* 404 */
.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--cream);
  text-align: center;
}

.not-found__code {
  font-family: var(--serif);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 300;
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: var(--sand-deep);
}

.not-found h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.not-found p {
  max-width: 46ch;
  margin: 18px auto 28px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Reveal */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero__grid {
    min-height: 590px;
  }

  .finds-grid .product-card:nth-child(1),
  .finds-grid .product-card:nth-child(2),
  .finds-grid .product-card:nth-child(3) {
    grid-column: span 4;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow__step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .flow__step:nth-child(1),
  .flow__step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .auction-steps,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auction-step:nth-child(3),
  .step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .auction-step:nth-child(1),
  .auction-step:nth-child(2),
  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .auction-step:nth-child(1),
  .auction-step:nth-child(2) {
    border-bottom-color: var(--line-light);
  }

  .seller-compare {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seller-compare__head {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .seller-compare > div:nth-child(2) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    padding: 64px var(--gutter) 56px;
  }

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .page-hero__aside {
    max-width: 54ch;
    text-align: left;
  }

  .page-hero__aside strong {
    display: inline;
    margin-right: 8px;
    font-size: 1.6rem;
  }

  .hero__copy-inner {
    max-width: 680px;
  }

  .hero__media {
    min-height: 560px;
  }

  .hero__media > img {
    object-position: 60% 42%;
  }

  .split,
  .seller .split,
  .lives__grid,
  .boost__grid,
  .trust-media,
  .auction-live,
  .sell-hero__grid,
  .apply__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media img {
    min-height: 420px;
  }

  .split__copy .section-title {
    max-width: 18ch;
  }

  .auction-live__panel {
    position: static;
  }

  .auction-live__media img {
    aspect-ratio: 4 / 3;
  }

  .seller-compare {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seller-compare__head {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  .seller-compare > div {
    border-top: 0;
    padding: 16px 10px;
  }

  .compare-plan__price {
    font-size: 1.45rem;
  }

  .compare-plan li {
    font-size: 12px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    border: 0;
  }

  .legal-toc a {
    padding: 6px 0;
    border: 0;
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 12px 20px;
  }
}

@media (max-width: 760px) {
  .announcement__inner {
    justify-content: space-between;
    gap: 8px;
    padding-block: 7px;
    text-align: left;
    font-size: 11px;
  }

  .announcement__inner span {
    max-width: 28ch;
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    height: 34px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .market-toolbar {
    top: 68px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__item {
    padding: 20px 16px;
    border-top: 1px solid var(--line);
  }

  .trust-strip__item:nth-child(1),
  .trust-strip__item:nth-child(2) {
    border-top: 0;
  }

  .trust-strip__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .trust-strip__item:nth-child(even) {
    padding-right: 0;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 20px;
  }

  .finds-grid {
    grid-template-columns: 1fr;
  }

  .finds-grid .product-card:nth-child(1),
  .finds-grid .product-card:nth-child(2),
  .finds-grid .product-card:nth-child(3) {
    grid-column: auto;
  }

  .product-card__quick {
    opacity: 1;
    transform: none;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-toolbar__row {
    flex-wrap: wrap;
  }

  .market-search {
    flex-basis: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .boost-row {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
  }

  .boost-row__amount {
    grid-column: 1;
  }

  .boost-row__reach {
    grid-column: 1;
    font-size: 13px;
  }

  .boost-row svg {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .flow,
  .auction-steps,
  .steps,
  .trust-pillars {
    grid-template-columns: 1fr;
  }

  .flow__step,
  .auction-step,
  .step,
  .trust-pillar {
    border-left: 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .flow__step:first-child,
  .auction-step:first-child,
  .step:first-child,
  .trust-pillar:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .flow__step:nth-child(1),
  .flow__step:nth-child(2) {
    border-bottom: 0;
  }

  .trust-pillar {
    border-bottom: 1px solid var(--line);
  }

  .trust-pillar:last-child {
    border-bottom: 0;
  }

  .auction-steps {
    border-top-color: var(--line-light);
  }

  .auction-step {
    border-top-color: var(--line-light);
  }

  .auction-step:nth-child(1),
  .auction-step:nth-child(2) {
    border-bottom: 0;
  }

  .auction-step:nth-child(2) {
    border-top-color: var(--line-light);
  }

  .auction-live__actions {
    flex-wrap: wrap;
  }

  .auction-live__actions .btn {
    flex: 1 1 100%;
  }

  .watch-btn {
    width: 100%;
    min-height: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    gap: 12px;
  }

  .footer-payments {
    order: -1;
  }

  .cta-band {
    min-height: 480px;
  }

  .cta-band::after {
    background: linear-gradient(180deg, rgba(23, 21, 15, 0.4) 0%, rgba(23, 21, 15, 0.88) 62%);
  }

  .cta-band__inner {
    align-self: end;
    padding-bottom: 48px;
  }

  .quickview__grid {
    grid-template-columns: 1fr;
  }

  .quickview__media img {
    min-height: 300px;
    max-height: 340px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    order: -1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .radio-row {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 500px;
  }

  .auction-float {
    right: 16px;
    bottom: 16px;
    width: min(320px, calc(100% - 32px));
    padding: 18px;
  }

  .lives-rules li {
    grid-template-columns: 86px 1fr;
  }
}

@media (max-width: 520px) {
  .announcement__inner {
    justify-content: center;
  }

  .announcement__inner a {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .brand img {
    height: 31px;
  }

  .mobile-menu__links a {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero__copy {
    padding-top: 48px;
  }

  .hero__search input {
    font-size: 0.875rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__media {
    min-height: 440px;
  }

  .auction-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .hero__media::after {
    display: none;
  }

  .hero__caption {
    top: 16px;
    right: 16px;
  }

  .split__media img {
    min-height: 340px;
  }

  .split__caption {
    max-width: 92%;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__item {
    padding: 16px 0;
    border-left: 0;
  }

  .trust-strip__item:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-col ul {
    grid-template-columns: 1fr 1fr;
  }

  .legal-content ul {
    padding-left: 16px;
  }

  .dialog,
  .quickview {
    width: calc(100% - 20px);
    max-height: 92dvh;
  }

  .drawer {
    width: 100%;
    max-width: none;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item img {
    width: 72px;
    height: 90px;
  }
}

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

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Checkout redesign */
.dialog--checkout {
  width: min(100% - 32px, 1080px);
  max-height: min(92dvh, 900px);
  overflow: auto;
}

.dialog--checkout .dialog__inner {
  padding: clamp(18px, 3vw, 32px);
}

.checkout__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.checkout__eyebrow {
  margin: 0 0 6px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.checkout__head p {
  margin: 6px 0 0;
  max-width: 52ch;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.checkout-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.checkout-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-step {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--surface);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.checkout-card__head h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.checkout-card__head p {
  margin: 3px 0 0;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.45;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.checkout-fields--contact {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.checkout-fields--address {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-fields .field--full {
  grid-column: 1 / -1;
}

.checkout-fields .field input,
.checkout-fields .field select,
.checkout-fields .field textarea {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.checkout-fields .field textarea {
  min-height: 70px;
}

.checkout-pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-bright);
  cursor: pointer;
  transition: border-color var(--speed) ease, background var(--speed) ease;
}

.pay-option:hover {
  border-color: rgba(91, 24, 53, 0.4);
}

.pay-option:has(input:checked) {
  border-color: var(--burgundy);
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--burgundy);
}

.pay-option input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--burgundy);
}

.pay-option__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pay-option__body strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.pay-option__body span {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.checkout-shipping {
  display: grid;
  gap: 10px;
}

.shipping-line {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.shipping-line__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.shipping-line__head strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.shipping-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(91, 24, 53, 0.08);
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.shipping-line p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.shipping-line__estimate {
  color: var(--ink-muted) !important;
}

.checkout-submit {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.checkout-submit .field {
  min-width: 0;
}

.checkout-submit .field input {
  width: 100%;
  max-width: 100%;
}

.checkout-submit [data-checkout-promo-note].is-error {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(142, 24, 56, 0.28);
  border-radius: 8px;
  background: #fff1f3;
  color: #8e1838;
}

.checkout-submit .btn {
  min-height: 44px;
}

.checkout-summary {
  position: sticky;
  top: 0;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.checkout-summary h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.checkout-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.checkout-item:last-child {
  border-bottom: 0;
}

.checkout-item__image {
  width: 42px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--sand);
}

.checkout-item__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-item__body strong {
  min-width: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-item__body span {
  color: var(--ink-muted);
  font-size: 10px;
}

.checkout-item__price {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  color: var(--burgundy);
  white-space: nowrap;
}

.checkout-empty {
  margin: 0;
  padding: 10px 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.checkout-breakdown {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.checkout-breakdown div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.checkout-breakdown dt {
  min-width: 0;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.checkout-breakdown dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-math {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft, #5e4a53);
}

.checkout-summary .checkout-total {
  margin-top: 12px;
  padding-top: 12px;
}

.checkout-summary .checkout-total span {
  font-size: 11px;
}

.checkout-summary .checkout-total strong {
  font-size: 1.35rem;
}

.checkout-estimate {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(91, 24, 53, 0.05);
}

.checkout-estimate p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.checkout-estimate span {
  color: var(--ink-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-estimate strong {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.checkout-summary__note {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.5;
}

.shipping-config {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.shipping-config legend {
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cart-item__shipping {
  margin: 4px 0 0;
  color: var(--burgundy);
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.order-card__breakdown {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.order-card__breakdown div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.order-card__breakdown dt {
  color: var(--ink-muted);
  font-size: 11px;
}

.order-card__breakdown dd {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.order-card__estimate {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .checkout-fields--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-fields--address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dialog--checkout {
    width: calc(100% - 16px);
    max-height: 94dvh;
  }

  .dialog--checkout .dialog__inner {
    padding: 16px;
  }

  .checkout__head {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .checkout__head h2 {
    font-size: 1.4rem;
  }

  .checkout-card {
    padding: 14px;
  }

  .checkout-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-fields .field input,
  .checkout-fields .field select,
  .checkout-fields .field textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .checkout-item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .checkout-item__image {
    width: 38px;
    height: 48px;
  }

  .shipping-line__head {
    align-items: flex-start;
  }

  .checkout-estimate p {
    flex-direction: column;
    gap: 2px;
  }

  .checkout-estimate strong {
    text-align: left;
  }
}

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .market-toolbar,
  .toast,
  dialog {
    display: none !important;
  }

  body {
    background: var(--surface);
    color: var(--ink-900);
  }
}

