/* ============================================================
   CARDENAS IMMERSIVE LAYER
   Loaded after styles.css. Every class is prefixed im- so this
   file can be removed in one line without touching the base.
   ============================================================ */

:root {
  --room: #0e0e0d;
  --room-soft: #171715;
  --room-line: rgba(255, 255, 255, 0.12);
  --room-text: rgba(255, 255, 255, 0.82);
  --room-dim: rgba(255, 255, 255, 0.55);
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

[id] {
  scroll-margin-top: 90px;
}

/* ---------- custom scrollbar (subtle) ---------- */

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #f1f1ee;
}

::-webkit-scrollbar-thumb {
  background: #c9c9c4;
  border: 3px solid #f1f1ee;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- overlay nav ---------- */

header[data-nav="overlay"] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: none;
}

header[data-nav="overlay"] .wordmark .mark {
  color: #fff;
}

header[data-nav="overlay"] .wordmark .sub {
  color: rgba(255, 255, 255, 0.65);
}

header[data-nav="overlay"] nav a {
  color: rgba(255, 255, 255, 0.82);
}

header[data-nav="overlay"] nav a:hover {
  color: #fff;
}

header[data-nav="overlay"] nav a.active {
  color: #fff;
}

header[data-nav="overlay"] nav a.active::after {
  background: #fff;
}

header[data-nav="overlay"] nav .btn-gold {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

header[data-nav="overlay"] nav .btn-gold:hover {
  background: #fff;
  color: var(--ink);
}

header[data-nav="overlay"].im-solid {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  animation: imNavDrop 0.45s ease;
}

@keyframes imNavDrop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

header[data-nav="overlay"].im-solid .wordmark .mark { color: var(--ink); }
header[data-nav="overlay"].im-solid .wordmark .sub { color: var(--ink-soft); }
header[data-nav="overlay"].im-solid nav a { color: var(--ink-soft); }
header[data-nav="overlay"].im-solid nav a:hover { color: var(--gold-dark); }
header[data-nav="overlay"].im-solid nav a.active { color: var(--ink); }
header[data-nav="overlay"].im-solid nav a.active::after { background: var(--ink); }

header[data-nav="overlay"].im-solid nav .btn-gold {
  background: var(--gold);
  border-color: transparent;
  color: #fff;
  backdrop-filter: none;
}

header[data-nav="overlay"].im-solid nav .btn-gold:hover {
  background: #0f1b31;
}

/* ---------- line reveal plumbing ---------- */

.im-line {
  display: block;
  overflow: hidden;
}

.im-line > span {
  display: block;
  will-change: transform;
}

/* ---------- full-screen video hero ---------- */

.im-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--room);
  color: #fff;
}

.im-hero .im-media {
  position: absolute;
  inset: 0;
}

.im-hero video,
.im-hero .im-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.im-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 14, 0.42) 0%, rgba(10, 11, 14, 0.18) 45%, rgba(10, 11, 14, 0.66) 100%);
}

.im-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  padding: 120px 24px 90px;
}

.im-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin-top: 22px;
  text-shadow: 0 2px 30px rgba(8, 9, 12, 0.45);
}

.im-hero .label {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5em;
  font-size: 12px;
}

.im-hero p {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(8, 9, 12, 0.5);
}

.im-hero .hero-buttons {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.im-scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.im-scrollcue::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: imCue 2.2s ease-in-out infinite;
}

@keyframes imCue {
  0% { top: -40%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- oversized editorial statement ---------- */

.im-statement {
  padding: clamp(90px, 14vh, 160px) 24px;
  text-align: center;
}

.im-statement h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.22;
  max-width: 1050px;
  margin: 0 auto;
  color: var(--ink);
}

.im-statement h2 em {
  font-style: italic;
  color: var(--gold-dark);
}

.im-statement .im-sub {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- dark gallery act ---------- */

.im-dark {
  position: relative;
  background: var(--room);
  color: var(--room-text);
  overflow: hidden;
}

.im-dark .im-backdrop {
  position: absolute;
  inset: -4%;
  background: center / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.7);
  will-change: transform;
}

.im-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.im-dark .im-inner {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 13vh, 150px) 0;
}

.im-dark .section-head .label {
  color: var(--room-dim);
}

.im-dark .section-head h2 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
}

.im-dark .im-deck {
  text-align: center;
  max-width: 560px;
  margin: -24px auto 46px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--room-dim);
}

/* horizontal rail */

.im-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px max(24px, calc((100vw - 1200px) / 2));
  scroll-padding-inline: max(24px, calc((100vw - 1200px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.im-rail::-webkit-scrollbar {
  display: none;
}

.im-rail-card {
  flex: 0 0 min(380px, 78vw);
  scroll-snap-align: start;
  background: var(--room-soft);
  border: 1px solid var(--room-line);
  color: var(--room-text);
  display: block;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.im-rail-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

.im-rail-card .im-frame {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: radial-gradient(ellipse at 50% 30%, #232320 0%, #101010 72%);
}

.im-rail-card .im-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

.im-rail-card .im-meta {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--room-line);
}

.im-rail-card .im-meta .cat {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--room-dim);
}

.im-rail-card .im-meta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  margin-top: 7px;
  color: #fff;
}

.im-rail-card .im-meta .price {
  margin-top: 9px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: #c8b98a;
}

.im-rail-cta {
  text-align: center;
  margin-top: 46px;
}

.btn-room {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-room:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- marquees ---------- */

.im-marquee {
  overflow: hidden;
  position: relative;
}

.im-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: imMarquee 52s linear infinite;
}

.im-track .im-mq-item {
  margin-right: 22px;
}

.im-track.im-reverse {
  animation-direction: reverse;
}

.im-marquee:hover .im-track {
  animation-play-state: paused;
}

@keyframes imMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.im-mq-item {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(190px, 24vw, 280px);
  width: clamp(190px, 24vw, 280px);
}

.im-mq-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.im-photo-marquees {
  padding: clamp(80px, 11vh, 130px) 0;
  background: var(--cream);
  overflow: hidden;
}

.im-photo-marquees .im-marquee + .im-marquee {
  margin-top: 22px;
}

/* artist names marquee */

.im-names {
  padding: clamp(60px, 9vh, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.im-names .im-track {
  gap: 0;
  animation-duration: 60s;
}

.im-names .im-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.1;
  white-space: nowrap;
  padding: 0 28px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 26, 25, 0.55);
  transition: color 0.3s ease;
}

.im-names .im-name:hover {
  color: var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}

.im-names .im-dotsep {
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

/* ---------- video / ken burns bands ---------- */

.im-vband {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--room);
}

.im-vband video,
.im-vband .im-kbimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-vband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.55), rgba(10, 11, 13, 0.4) 50%, rgba(10, 11, 13, 0.62));
}

.im-vband .band-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px;
}

.im-vband h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.15;
}

.im-vband p {
  margin: 20px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.8;
}

.im-vband .label {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.42em;
}

.im-vband .btn {
  margin-top: 36px;
}

.im-kb {
  overflow: hidden;
}

.im-kbimg {
  will-change: transform;
  animation: imKenBurns 30s ease-in-out infinite alternate;
}

@keyframes imKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(1.6%, -1.4%); }
}

/* ---------- private sales cinematic intro ---------- */

.im-ps-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--room);
  color: #fff;
}

.im-ps-hero .im-kbimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.im-ps-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.55) 90%),
    linear-gradient(to bottom, rgba(10, 10, 12, 0.5), rgba(10, 10, 12, 0.25) 40%, rgba(10, 10, 12, 0.88));
}

.im-ps-hero .im-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 24px 90px;
}

.im-ps-hero .label {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.45em;
}

.im-ps-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.1;
  margin-top: 18px;
  max-width: 900px;
}

.im-ps-hero p {
  margin-top: 22px;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- private sales spotlight ---------- */

.im-spot {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.im-spot .im-kb {
  border: 1px solid var(--line);
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.im-spot .im-kb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 40px;
  animation: imKenBurnsSoft 22s ease-in-out infinite alternate;
}

@keyframes imKenBurnsSoft {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.im-spot .label {
  color: #6f6f6a;
}

.im-spot h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  margin-top: 12px;
}

.im-spot .price {
  margin-top: 14px;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.im-spot .desc {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.im-spot .btn {
  margin-top: 30px;
}

/* ---------- numbered editorial rows ---------- */

.im-rows {
  max-width: 980px;
  margin: 0 auto;
}

.im-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.im-row:last-child {
  border-bottom: 1px solid var(--line);
}

.im-row .im-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--gold-dark);
}

.im-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
}

.im-row p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- item page: sticky summary + more rail ---------- */

@media (min-width: 901px) {
  .item-layout .item-info {
    position: sticky;
    top: 28px;
    align-self: start;
  }
}

.im-avail {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.im-avail .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e9e5b;
}

.im-trustlist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.im-trustlist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.im-trustlist li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}

.im-more {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.im-more .section-head {
  margin-bottom: 36px;
}

/* ---------- editorial footer ---------- */

footer.im-footer {
  background: #f5f5f3;
  border-top: 1px solid var(--line);
  color: #5d5b57;
}

.im-foot-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 9vh, 100px) 24px 40px;
}

.im-foot-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 9.5vw, 150px);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
  text-align: center;
  user-select: none;
}

.im-foot-sub {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: #8b8b86;
  margin-top: 12px;
}

.im-foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 920px;
  margin: clamp(44px, 7vh, 70px) auto 0;
}

.im-foot-h {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b8b86;
  margin-bottom: 14px;
}

.im-foot-grid a,
.im-foot-grid p {
  display: block;
  font-size: 15px;
  line-height: 1.95;
  color: #55534f;
  font-style: normal;
}

.im-foot-grid a:hover {
  color: var(--gold-dark);
}

.im-foot-bottom {
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #9a9a95;
}

.im-foot-bottom .admin-link {
  position: static;
}

/* ---------- preloader ---------- */

#im-loader {
  display: none;
}

html.intro-pending #im-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--room);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: imLoaderAway 0.7s ease 2.6s forwards;
}

#im-loader .im-l-mark {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: 0.3em;
  color: #fff;
  display: flex;
}

#im-loader .im-l-mark span {
  display: inline-block;
  opacity: 0;
  animation: imLetter 0.7s ease forwards;
}

#im-loader .im-l-sub {
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: imLetter 0.8s ease 0.9s forwards;
}

@keyframes imLetter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes imLoaderAway {
  to { opacity: 0; visibility: hidden; }
}

html.intro-done #im-loader {
  display: none !important;
}

/* ---------- light section rhythm upgrades ---------- */

.im-upgrade section,
section.im-pad {
  padding: clamp(84px, 12vh, 140px) 0;
}

.im-eyebrow-rule {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 18px;
}

/* ---------- responsive ---------- */

/* Below 1100px the wrapped multi-row header cannot float over hero text:
   it becomes a normal in-flow dark bar and never goes fixed. */
@media (max-width: 1100px) {
  header[data-nav="overlay"] {
    position: static;
    background: var(--room);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  header[data-nav="overlay"].im-solid {
    position: static;
    background: var(--room);
    animation: none;
    backdrop-filter: none;
  }
  header[data-nav="overlay"].im-solid .wordmark .mark { color: #fff; }
  header[data-nav="overlay"].im-solid .wordmark .sub { color: rgba(255, 255, 255, 0.65); }
  header[data-nav="overlay"].im-solid nav a { color: rgba(255, 255, 255, 0.82); }
  header[data-nav="overlay"].im-solid nav a.active { color: #fff; }
  header[data-nav="overlay"].im-solid nav a.active::after { background: #fff; }
  .im-hero {
    min-height: 78vh;
    min-height: 78svh;
  }
  .im-ps-hero {
    min-height: 74vh;
    min-height: 74svh;
  }
  .im-ps-hero .im-inner {
    padding-top: 90px;
  }
}

@media (max-width: 900px) {
  .im-spot {
    grid-template-columns: 1fr;
  }
  .im-row {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }
  .im-foot-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .im-foot-bottom {
    justify-content: center;
    text-align: center;
  }
  .im-hero p {
    font-size: 15.5px;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .im-track,
  .im-kbimg,
  .im-spot .im-kb img,
  .im-scrollcue::after {
    animation: none !important;
  }
  header[data-nav="overlay"].im-solid {
    animation: none;
  }
  #im-loader {
    display: none !important;
  }
}

/* ---------- QA fixes ---------- */

/* the split photo needs a definite height so the parallax image can
   oversize itself (height:114%) without exposing gaps */
.split .photo-cover {
  height: clamp(360px, 34vw, 560px);
}

.split .photo-cover img {
  max-height: none;
}

/* contact page card headings (h2 for a sane outline) */
.contact-card h2 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--sans);
}

/* ---------- sell page submission form ---------- */

.im-sellform {
  background: #fff;
  border: 1px solid var(--line);
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
}

.im-sellform select {
  width: 100%;
  border: 1px solid #c9c9c5;
  padding: 11px 38px 11px 12px;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23545450' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border-radius: 0;
}

.im-sellform select:focus {
  outline: none;
  border-color: var(--gold);
}

.im-sellform input[type="file"] {
  width: 100%;
  border: 1px dashed #c9c9c5;
  padding: 16px 12px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: #fcfcfb;
  cursor: pointer;
}

.im-sellform .hint-line {
  margin-top: 8px;
  font-size: 13px;
  color: #8b8b86;
}

.sf-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.sf-thumbs .ph {
  position: relative;
}

.sf-thumbs img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream);
  display: block;
}

.sf-thumbs .rm {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--sans);
}

.sf-success {
  text-align: center;
  padding: 44px 10px;
}

.sf-success h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
}

.sf-success p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
