/* ============================================
   THE GRAND HERITAGE AUCTION - Main Stylesheet
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --velvet-black: #0a0a0a;
  --antique-gold: #b8960c;
  --antique-gold-light: #d4af37;
  --warm-ivory: #f5f0e8;
  --burgundy: #4a1020;
  --smoke: #2a2a2a;
  --smoke-light: #3a3a3a;
  --gold-dim: rgba(184, 150, 12, 0.3);
  --gold-glow: rgba(184, 150, 12, 0.15);
  --ivory-dim: rgba(245, 240, 232, 0.6);
  --ivory-faint: rgba(245, 240, 232, 0.15);

  --font-heading: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-cn-heading: 'Noto Serif SC', 'Playfair Display', serif;
  --font-cn-body: 'Noto Sans SC', 'Inter', sans-serif;

  --ease-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --section-padding: 120px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--velvet-black);
  color: var(--warm-ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.hidden {
  display: none !important;
}

/* === PRELUDE / LOADING ANIMATION === */
.prelude {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--velvet-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s var(--ease-elegant), visibility 0.6s;
}

.prelude.fade-out {
  opacity: 0;
  visibility: hidden;
}

.prelude-inner {
  text-align: center;
}

.wax-seal-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 40px;
}

.wax-seal {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  animation: sealAppear 1.2s var(--ease-elegant) forwards;
  opacity: 0;
  transform: scale(0.6);
  border: 2px solid var(--antique-gold);
  box-shadow: 0 0 40px var(--gold-glow), 0 0 80px rgba(184, 150, 12, 0.05);
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sand-timer {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 20px;
  overflow: hidden;
}

.sand-stream {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--antique-gold), transparent);
  margin: 0 auto;
  animation: sandFlow 2s linear forwards;
}

.sand-pile {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background: var(--antique-gold);
  border-radius: 50%;
  animation: sandAccumulate 2s linear forwards;
  opacity: 0.6;
}

@keyframes sealAppear {
  0% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes sandFlow {
  0% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes sandAccumulate {
  0% { width: 4px; opacity: 0; }
  100% { width: 24px; opacity: 0.6; }
}

.prelude-text {
  max-width: 500px;
  margin: 0 auto;
  animation: textFadeIn 1s var(--ease-elegant) 0.5s forwards;
  opacity: 0;
}

.prelude-text p {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
  line-height: 1.8;
}

@keyframes textFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), rgba(10,10,10,0));
  padding: 24px 0;
  transition: background 0.3s var(--ease-elegant);
}

.site-header.scrolled {
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ivory-faint);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--antique-gold);
  text-transform: uppercase;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory-dim);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 2px;
  transition: all 0.2s var(--ease-elegant);
  letter-spacing: 1px;
}

.lang-btn:hover {
  color: var(--warm-ivory);
}

.lang-btn.active {
  color: var(--antique-gold);
  border: 1px solid var(--gold-dim);
}

.lang-divider {
  color: var(--ivory-faint);
  font-size: 14px;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-elegant) infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.7) 0%,
    rgba(10,10,10,0.5) 40%,
    rgba(10,10,10,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-ornament {
  font-size: 24px;
  color: var(--antique-gold);
  margin-bottom: 30px;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--warm-ivory);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-divider {
  margin-bottom: 40px;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.section-line::before,
.section-line::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--gold-dim);
}

.line-diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--antique-gold);
  transform: rotate(45deg);
}

/* === CTA BUTTON === */
.cta-button {
  display: inline-block;
  padding: 18px 48px;
  border: 1px solid var(--antique-gold);
  color: var(--antique-gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-elegant);
  border-radius: 2px;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--warm-ivory);
  box-shadow: 0 0 30px rgba(74, 16, 32, 0.3);
}

.cta-button-large {
  padding: 22px 60px;
  font-size: 16px;
}

/* === VIDEO SECTION === */
.video-section {
  padding: 0;
  position: relative;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(184,150,12,0.15);
  background: url('/assets/video-bg.jpeg') center center / cover no-repeat #0a0a0a;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
  transition: filter 0.6s var(--ease-elegant);
}

.video-container:hover .video-element {
  filter: brightness(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.15) 0%,
    rgba(10,10,10,0.05) 50%,
    rgba(10,10,10,0.3) 100%
  );
  pointer-events: none;
}

.video-play-area {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.play-button {
  width: 80px;
  height: 80px;
  transition: transform 0.3s var(--ease-elegant);
  cursor: pointer;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(184, 150, 12, 0.3));
}

.play-label {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--antique-gold);
  text-transform: uppercase;
}

.video-caption {
  text-align: center;
  padding: 60px 40px;
  background: var(--velvet-black);
}

.video-caption .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: var(--warm-ivory);
  letter-spacing: 2px;
}

/* === LOT SECTIONS === */
.lot-section {
  padding: var(--section-padding) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.lot-section-alt {
  background: var(--smoke);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.lot-section-alt .section-header,
.lot-section-alt .lots-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-ornament {
  font-size: 20px;
  color: var(--antique-gold);
  margin-bottom: 20px;
  opacity: 0.8;
}

.section-ornament.light {
  color: var(--antique-gold-light);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--antique-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subheading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--warm-ivory);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* === LOT CARDS === */
.lots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.lot-card {
  background: var(--smoke);
  border: 1px solid var(--ivory-faint);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.5s var(--ease-elegant);
  position: relative;
}

.lot-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: border-color 0.5s var(--ease-elegant);
  pointer-events: none;
  z-index: 1;
}

.lot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lot-card:hover::before {
  border-color: var(--gold-dim);
}

.lot-image-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.lot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-elegant);
}

.lot-card:hover .lot-image {
  transform: scale(1.05);
}

.lot-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(10,10,10,0.8) 100%
  );
}

.lot-info {
  padding: 30px;
}

.lot-number {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--antique-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.lot-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-ivory);
  margin-bottom: 8px;
  line-height: 1.3;
}

.lot-artist {
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 20px;
  font-style: italic;
}

.lot-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--antique-gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.lot-price span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0.8;
}

.lot-desc {
  font-size: 16px;
  color: var(--ivory-dim);
  line-height: 1.7;
}

/* === INFO SECTIONS (Vault & Shield) === */
.info-section {
  position: relative;
  padding: var(--section-padding) 40px;
  overflow: hidden;
}

.info-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.info-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}

.info-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.info-icon {
  margin-bottom: 30px;
  opacity: 0.8;
}

.info-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--warm-ivory);
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.4;
}

.info-desc {
  font-size: 18px;
  color: var(--ivory-dim);
  line-height: 1.8;
  font-style: italic;
}

.shield-section {
  background: var(--velvet-black);
}

/* === LEGACY SECTION === */
.legacy-section {
  position: relative;
  padding: 160px 40px;
  overflow: hidden;
}

.legacy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legacy-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
}

.legacy-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.legacy-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--warm-ivory);
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.4;
}

.legacy-desc {
  font-size: 18px;
  color: var(--ivory-dim);
  line-height: 1.8;
  font-style: italic;
}

/* === FINAL SECTION === */
.final-section {
  padding: 160px 40px;
  text-align: center;
  background: var(--velvet-black);
  position: relative;
}

.final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--antique-gold));
}

.final-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-ornament {
  font-size: 24px;
  color: var(--antique-gold);
  margin-bottom: 30px;
  opacity: 0.8;
}

.final-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--warm-ivory);
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.4;
}

/* === FOOTER === */
.site-footer {
  background: var(--velvet-black);
  border-top: 1px solid var(--ivory-faint);
  padding: 60px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--antique-gold);
  margin-bottom: 24px;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto 24px;
}

.footer-legal {
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 16px;
  font-style: italic;
}

.footer-copy {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 1px;
}

/* === FADE-UP ANIMATION === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .header-logo {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 12px;
    letter-spacing: 2px;
  }

  .cta-button-large {
    padding: 16px 40px;
    font-size: 14px;
  }

  .lots-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lot-section,
  .lot-section-alt .section-header,
  .lot-section-alt .lots-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .info-section {
    padding: 80px 20px;
  }

  .legacy-section {
    padding: 100px 20px;
  }

  .final-section {
    padding: 100px 20px;
  }

  .video-container {
    width: 95%;
  }

  .video-caption {
    padding: 40px 20px;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .lot-price {
    font-size: 24px;
  }

  .lot-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .header-logo {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .lang-btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-subheading {
    font-size: 24px;
  }

  .lot-image-wrapper {
    aspect-ratio: 4 / 5;
  }
}

/* === LOT CARD CLICKABLE === */
.lot-card {
  cursor: pointer;
}

.lot-card .lot-info::after {
  content: 'VIEW DETAILS';
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
  opacity: 0;
  transition: opacity 0.3s var(--ease-elegant);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--ivory-faint);
}

.lot-card:hover .lot-info::after {
  opacity: 1;
}

/* === LOT DETAIL MODAL === */
.lot-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-elegant), visibility 0.4s;
}

.lot-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--smoke);
  border: 1px solid var(--ivory-faint);
  border-radius: 3px;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-elegant);
}

.lot-modal.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--ivory-faint);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-elegant);
}

.modal-close:hover {
  background: var(--velvet-black);
  border-color: var(--antique-gold);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-image-section {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  min-height: 400px;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(42, 42, 42, 0.3) 100%
  );
}

.modal-content-section {
  padding: 48px 40px;
  overflow-y: auto;
}

.modal-lot-number {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--antique-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--warm-ivory);
  line-height: 1.3;
  margin-bottom: 12px;
}

.modal-artist {
  font-size: 16px;
  color: var(--ivory-dim);
  font-style: italic;
  margin-bottom: 24px;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--antique-gold);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.modal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}

.modal-details {
  margin-bottom: 24px;
}

.modal-details h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 12px;
}

.modal-details p {
  font-size: 15px;
  color: var(--ivory-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

.modal-details .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.detail-item {
  padding: 12px;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--ivory-faint);
  border-radius: 2px;
}

.detail-item .detail-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 4px;
  display: block;
}

.detail-item .detail-value {
  font-size: 14px;
  color: var(--warm-ivory);
  font-weight: 500;
}

.modal-provenance {
  margin-bottom: 28px;
}

.modal-provenance h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 12px;
}

.modal-provenance p {
  font-size: 14px;
  color: var(--ivory-dim);
  line-height: 1.7;
  font-style: italic;
}

.modal-cta {
  margin-top: 20px;
}

.modal-cta .cta-button {
  display: inline-block;
  width: 100%;
  text-align: center;
}

/* === MODAL RESPONSIVE === */
@media (max-width: 768px) {
  .modal-container {
    width: 95vw;
    max-height: 95vh;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image-section {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: 300px;
  }

  .modal-content-section {
    padding: 28px 24px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-price {
    font-size: 26px;
  }

  .modal-details .detail-grid {
    grid-template-columns: 1fr;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .modal-content-section {
    padding: 20px 16px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-price {
    font-size: 22px;
  }
}

/* === REGISTRATION FORM MODAL === */
.register-modal-container {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.register-modal-body {
  padding: 48px 40px;
}

.register-header {
  text-align: center;
  margin-bottom: 36px;
}

.register-ornament {
  font-size: 20px;
  color: var(--antique-gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.register-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--warm-ivory);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.register-subtitle {
  font-size: 14px;
  color: var(--ivory-dim);
  line-height: 1.6;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--antique-gold);
}

.form-input {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--ivory-faint);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--warm-ivory);
  transition: border-color 0.3s var(--ease-elegant), box-shadow 0.3s var(--ease-elegant);
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--antique-gold);
  box-shadow: 0 0 0 2px rgba(184, 150, 12, 0.15);
}

.form-input::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-checkbox-group {
  flex-direction: row;
  align-items: flex-start;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ivory-dim);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--antique-gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta-button-submit {
  margin-top: 8px;
  border: none;
  background: var(--antique-gold);
  color: var(--velvet-black);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
}

.cta-button-submit:hover {
  background: var(--antique-gold-light);
  box-shadow: 0 4px 20px rgba(184, 150, 12, 0.3);
}

@media (max-width: 768px) {
  .register-modal-container {
    width: 95vw;
  }

  .register-modal-body {
    padding: 32px 24px;
  }

  .register-title {
    font-size: 20px;
  }
}
