/* ═══════════════════════════════════════════════════════════
   TheWatchlist — Main Stylesheet
   Aesthetic: Refined luxury dark — obsidian, champagne gold, ivory
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --obsidian: #FAF9F6;
  --charcoal: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F2EC;
  --border: #E5E0D8;
  --border-soft: #F0ECE4;

  --gold: #B08A50;
  --gold-light: #C59F64;
  --gold-dim: #906F3D;
  --ivory: #111111;
  --ivory-dim: #666666;
  --white: #ffffff;

  --text-primary: #111111;
  --text-secondary: #666666;
  --text-muted: #999999;

  --success: #4caf77;
  --error: #e05252;
  --warning: #d4a84b;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(16, 16, 16, 0.05);
  --shadow-md: 0 8px 32px rgba(16, 16, 16, 0.08);
  --shadow-lg: 0 24px 64px rgba(16, 16, 16, 0.12);

  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: 1.5rem;
  z-index: 2;

  animation: floatDown 2s infinite;
}

@keyframes floatDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  color: var(--text-secondary);
}

small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  /* Ivory base with transparency */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.brand-mark {
  font-size: 1.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-right: auto;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), transform var(--transition);
}

.btn-icon:hover {
  color: var(--gold);
  transform: scale(1.15);
}

.nav-admin {
  color: var(--gold-dim) !important;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-user,
.nav-auth {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  gap: 0.5rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

/* ── USER DETAIL PAGE ───────────────────────────── */

.user-detail-card {
  background: linear-gradient(180deg,
      rgba(201, 168, 76, 0.03) 0%,
      transparent 100%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.user-detail-card h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--gold);
}

.user-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem 2rem;
}

.user-detail-grid .spec-row {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 0;
  transition: all var(--transition);
}

.user-detail-grid .spec-row:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.user-detail-grid .spec-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.user-detail-grid .spec-value {
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.user-detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}

.page-sub {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.user-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .user-detail-grid {
    grid-template-columns: 1fr;
  }

  .user-detail-actions {
    flex-direction: column;
  }

  .user-detail-actions .btn {
    width: 100%;
  }
}

.user-detail-card {
  background: linear-gradient(180deg,
      rgba(201, 168, 76, 0.03) 0%,
      transparent 100%),
    var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

#profileCard {
  flex: 2;
}

.dashboard-grid>section:last-child {
  flex: 1;
}

.user-detail-card h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--gold);
}

.user-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem 2rem;
}

.user-detail-grid .spec-row {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 0;
  transition: all var(--transition);
}

.user-detail-grid .spec-row:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.user-detail-grid .spec-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.user-detail-grid .spec-value {
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.user-detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.role-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.user-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-sub {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

@media (max-width: 768px) {

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

  .user-detail-actions {
    flex-direction: column;
  }

  .user-detail-actions .btn {
    width: 100%;
  }
}

/* USER EDIT PAGE */

.user-edit-card {
  box-shadow: var(--shadow-md);
}

.edit-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.readonly-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.readonly-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.readonly-value {
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.setting-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
}

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

.setting-card input {
  accent-color: var(--gold);
  margin-top: 0.2rem;
}

.setting-card strong {
  display: block;
  color: var(--ivory);
  margin-bottom: 0.35rem;
}

.setting-card small {
  color: var(--text-muted);
  line-height: 1.5;
}

.user-edit-card h2 {
  margin-bottom: 1.5rem;
  color: var(--gold);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

#adminError,
#adminSuccess {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {

  .edit-info-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* ── USER DROPDOWN ──────────────────────────────── */
.user-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.user-profile-btn:hover {
  background: var(--surface);
  color: var(--ivory);
  border-color: var(--border-soft);
}

.user-profile-btn[aria-expanded="true"] {
  color: var(--gold);
  border-color: var(--gold);
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 0.7rem;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.user-profile-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown-menu.open {
  display: flex;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  display: block;
  white-space: nowrap;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--surface-2);
  color: var(--gold);
  padding-left: 1.25rem;
}

.dropdown-item-form {
  padding: 0;
  border: none;
  background: none;
}

.dropdown-item-logout {
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.dropdown-item-logout:hover {
  background: var(--surface-2);
  color: var(--error);
  padding-left: 1.25rem;
}



/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--obsidian);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--obsidian);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ivory);
  border-color: var(--border-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(176, 138, 80, 0.35);
}

.btn-secondary:hover {
  background: rgba(176, 138, 80, 0.08);
  color: var(--gold);
  border-color: var(--gold);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-danger {
  background: rgba(180, 70, 70, 0.1);
  color: #d97777;
  border-color: rgba(180, 70, 70, 0.3);
}

.btn-danger:hover {
  background: rgba(180, 70, 70, 0.18);
  border-color: rgba(180, 70, 70, 0.5);
  color: #f1b3b3;
}

/* ── HERO ─────────────────────────────────────────── */
.hero-section {
  background: radial-gradient(circle at top right, rgba(176, 138, 80, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* .hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  /* display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(80vh - 72px);
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}  */

.hero {
  max-width: 1400px;
  margin: auto;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 8vw;
}

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

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

@media (min-width: 992px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding: 6rem 2rem;
    gap: 4rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .82) 0%,
      rgba(0, 0, 0, .60) 40%,
      rgba(0, 0, 0, .20) 100%);
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /* color: var(--gold); */
  color: rgba(255, 255, 255, .8);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: .95;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  /* color: var(--text-secondary); */
  max-width: 600px;
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* .hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.hero-img:hover {
  transform: scale(1.02);
} */

/* ── TRUST STRIP ─────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 2rem;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.trust-icon {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.trust-sep {
  color: var(--border);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem;
  }

  .trust-sep {
    display: none;
  }
}

/* ── SECTIONS ─────────────────────────────────────── */
.section {
  padding: 6rem 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.link-gold {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ── LISTING CARDS ───────────────────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .catalog-results .listing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.listing-card-wrapper {
  position: relative;
  height: 100%;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.listing-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.listing-card:hover .listing-card-img img {
  transform: scale(1.08);
}

.listing-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.listing-card-condition {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(17, 17, 17, 0.85);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  z-index: 5;
}

.wishlist-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  outline: none;
}

html[data-theme="dark"] .wishlist-btn {
  background: rgba(30, 30, 30, 0.9);
}

.wishlist-btn:hover {
  color: #e05252;
  transform: scale(1.15);
  border-color: #e05252;
  background: #ffffff;
}

html[data-theme="dark"] .wishlist-btn:hover {
  background: #1e1e1e;
}

.listing-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.listing-card-badges {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.badge-verification,
.badge-authentication {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
}

.badge-verification {
  color: var(--gold);
}

.badge-authentication {
  color: var(--success);
}

.listing-card-brand {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.listing-card-model {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.listing-card-ref {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.listing-card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.listing-card-meta span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--surface-2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.listing-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.listing-card-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold);
}

.view-details-btn {
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.listing-card:hover .view-details-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── HOW IT WORKS ────────────────────────────────── */
.how-it-works {
  background: var(--charcoal);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--ivory);
}

/* ── BRAND STRIP ─────────────────────────────────── */
.brand-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.brand-strip-inner {
  display: flex;
  gap: 1rem;
  padding: 0 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-pill {
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: all var(--transition);
}

.brand-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  padding: 6rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: 1rem;
}

.cta-inner p {
  margin-bottom: 2rem;
}

/* ── CATALOG PAGE ────────────────────────────────── */
/* ── CATALOG PAGE ────────────────────────────────── */
.catalog-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Editorial Catalog Header */
.catalog-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.catalog-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.catalog-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.catalog-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Search Bar */
.catalog-search-bar {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input-wrapper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(176, 138, 80, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-input:focus {
  outline: none;
}

.btn-search {
  padding: 0.75rem 2rem;
}

/* Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 992px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
  }
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 88px;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color var(--transition);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--gold);
}

.price-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.price-inputs span {
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.filter-check input {
  accent-color: var(--gold);
}

.btn-full {
  width: 100%;
  margin-top: 0.25rem;
}

.catalog-results {}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

/* ── LISTING DETAIL ──────────────────────────────── */
/* ── LISTING DETAIL ──────────────────────────────── */
.detail-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.detail-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.detail-breadcrumb a {
  color: var(--text-secondary);
}

.detail-breadcrumb a:hover {
  color: var(--gold);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .detail-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

.detail-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 1;
  border: 1px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-main img:hover {
  transform: scale(1.02);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--text-muted);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-thumb:hover {
  border-color: var(--gold);
  transform: scale(1.05);
}

.detail-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge-condition,
.badge-verification,
.badge-auth {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-condition {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
}

.badge-verification {
  border: 1px solid rgba(176, 138, 80, 0.3);
  background: rgba(176, 138, 80, 0.05);
  color: var(--gold);
}

.badge-auth {
  border: 1px solid rgba(76, 175, 119, 0.3);
  background: rgba(76, 175, 119, 0.05);
  color: var(--success);
}

.detail-brand {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.detail-model {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.detail-ref {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.detail-price-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--gold);
}

.detail-specs-summary {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spec-summary-item {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.spec-summary-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.spec-summary-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
}

.seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(176, 138, 80, 0.1);
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seller-details {
  flex-grow: 1;
}

.seller-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1;
}

.seller-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ivory);
  margin: 4px 0 0 0;
}

.seller-trust-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.detail-actions {
  margin-bottom: 2rem;
}

.detail-extended-sections {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.detail-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}

.detail-desc-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.specs-grid-extended {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .specs-grid-extended {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }
}

.specs-grid-extended .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.specs-grid-extended .spec-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.specs-grid-extended .spec-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
}

/* ──────────────────────────────────────────────
   Assistance Card
────────────────────────────────────────────── */

.assistance-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  margin-top: 1.5rem;
  padding: 1.5rem;

  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.assistance-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.assistance-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(181, 139, 76, 0.08);
  border: 1px solid rgba(181, 139, 76, 0.2);
  border-radius: 50%;

  font-size: 1.3rem;
}

.assistance-content {
  flex: 1;
}

.assistance-content h3 {
  margin: 0 0 0.5rem;

  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;

  color: var(--ivory);
}

.assistance-content p {
  margin: 0;

  font-size: 0.92rem;
  line-height: 1.7;

  color: var(--text-secondary);
}

.assistance-response {
  margin-top: 1.2rem;
  padding-top: 1rem;

  border-top: 1px solid var(--border);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.response-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--text-muted);
}

.response-time {
  font-size: 0.9rem;
  font-weight: 600;

  color: var(--gold);
}

@media (max-width: 768px) {

  .assistance-card {
    padding: 1.25rem;
  }

  .assistance-response {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ──────────────────────────────────────────────
   Authentication Process
────────────────────────────────────────────── */

.authentication-content {
  margin-top: 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  transition: border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.authentication-content:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.authentication-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.authentication-content strong {
  color: var(--ivory);
  font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {
  .authentication-content {
    padding: 1.5rem;
  }

  .authentication-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

/* Authentication Steps in details */
/* .auth-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .auth-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.auth-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition);
}

.auth-step:hover {
  border-color: var(--gold);
}

.auth-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.auth-step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.auth-step p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
} */

.bid-result {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.bid-result--success {
  background: rgba(76, 175, 119, 0.1);
  border: 1px solid rgba(76, 175, 119, 0.3);
  color: var(--success);
}

.bid-result--error {
  background: rgba(224, 82, 82, 0.1);
  border: 1px solid rgba(224, 82, 82, 0.3);
  color: var(--error);
}

/* ── AUTH ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.auth-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.auth-brand-panel {
  flex: 0 0 400px;
  background: var(--charcoal);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 3rem;
  background-image: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
}

.auth-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ivory);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin-top: auto;
}

.auth-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
}

.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-inner {
  width: 100%;
  max-width: 440px;
}

.auth-form-inner h1 {
  margin-bottom: 0.5rem;
}

.auth-sub {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── FORMS ───────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-checks {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.1rem;
}

.input-prefix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-prefix span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.input-prefix .form-input {
  flex: 1;
}

.form-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-section legend {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  padding: 0 0.5rem;
}

.form-submit-row {
  text-align: center;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── FILE UPLOAD ─────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.upload-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.photo-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.photo-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.photo-thumb--lg {
  width: 120px;
  height: 120px;
}

/* ── FORM PAGE ───────────────────────────────────── */
.form-page {
  width: 80%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem;
}

.form-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-page-header p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-card--admin {
  background: var(--surface-2);
  border-color: var(--gold-dim);
}

/* ─────────────────────────────────────────────
   DASHBOARD
───────────────────────────────────────────── */

.dashboard-page {
  width: min(80%, 1600px);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
}

/* Main Layout */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* Cards */

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  min-width: 0;
}

/* Card Header */

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-header h2 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
}

/* Quick Actions */

.mini-list {
  display: flex;
  flex-direction: column;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: all .25s ease;
}

.mini-item:last-child {
  border-bottom: none;
}

.mini-item:hover {
  padding-left: .5rem;
}

.mini-item-info {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}

.mini-item-info strong {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.mini-item-info span {
  font-size: .75rem;
  color: var(--text-muted);
}

.mini-item-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.link-sm {
  font-size: .75rem;
  color: var(--gold);
}

.empty-mini {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

/* Responsive */

.dashboard-grid>.dashboard-card:last-child {
  position: sticky;
  top: 2rem;
}

@media (max-width: 992px) {

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

}

@media (max-width: 768px) {

  .dashboard-page {
    width: 95%;
    padding: 1.5rem 0 3rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-actions {
    width: 100%;
  }

  .dashboard-actions .btn {
    width: 100%;
  }

}

/* ── DASHBOARD ───────────────────────────────────── */
/* .dashboard-page {
  width: 80%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
}

.dashboard-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 3rem;
}

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  width: 100%;
} */

/* .dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex: 0 0 auto;
  width: 180px;
} */
/* .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-header h2 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.mini-item:last-child {
  border-bottom: none;
}

.mini-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.mini-item-info strong {
  font-size: 0.9rem;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.link-sm {
  font-size: 0.75rem;
  color: var(--gold);
  white-space: nowrap;
}

.empty-mini {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
} */

/* ── ADMIN ───────────────────────────────────────── */
.admin-page {
  width: 80%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem;
}

.stats-grid {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  flex: 0 0 auto;
  width: 180px;
}

.stat-card--gold {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.05);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.stat-action {
  font-size: 0.75rem;
  color: var(--gold);
}

.admin-actions h2 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
}

.admin-action-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.75rem;
}

.admin-action-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ivory);
}

.admin-action-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}

.tab:hover {
  color: var(--ivory);
}

.tab-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table td small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-table tr:hover td {
  background: var(--surface);
}

.empty-table {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem !important;
}

/* Verdict form */
.verdict-btns {
  display: flex;
  gap: 0.75rem;
}

.verdict-opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.verdict-opt--approve:has(input:checked) {
  border-color: var(--success);
  background: rgba(76, 175, 119, 0.1);
  color: var(--success);
}

.verdict-opt--reject:has(input:checked) {
  border-color: var(--error);
  background: rgba(224, 82, 82, 0.1);
  color: var(--error);
}

.verdict-opt input {
  accent-color: var(--gold);
}

/* ── BADGES ──────────────────────────────────────── */
.badge-sm {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  color: var(--text-muted);
}

.badge-status {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.badge-active {
  background: rgba(76, 175, 119, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 119, 0.3);
}

.badge-pending {
  background: rgba(212, 168, 75, 0.15);
  color: var(--warning);
  border: 1px solid rgba(212, 168, 75, 0.3);
}

.badge-approved {
  background: rgba(76, 175, 119, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 119, 0.3);
}

.badge-rejected {
  background: rgba(224, 82, 82, 0.15);
  color: var(--error);
  border: 1px solid rgba(224, 82, 82, 0.3);
}

.badge-sold {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.badge-withdrawn {
  background: rgba(94, 90, 84, 0.15);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-outbid {
  background: rgba(224, 82, 82, 0.1);
  color: var(--error);
  border: 1px solid rgba(224, 82, 82, 0.2);
}

.badge-accepted {
  background: rgba(76, 175, 119, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 119, 0.3);
}

/* ── ALERTS ──────────────────────────────────────── */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.alert-error {
  background: rgba(224, 82, 82, 0.1);
  border: 1px solid rgba(224, 82, 82, 0.35);
  color: var(--error);
}

.alert-success {
  background: rgba(76, 175, 119, 0.1);
  border: 1px solid rgba(76, 175, 119, 0.35);
  color: var(--success);
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-brand .brand {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links>div {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 140px;
}

.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── UTILITIES ───────────────────────────────────── */
.mt-lg {
  margin-top: 1.5rem;
}

.text-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-sm {
  font-size: 0.8rem;
}

.spec-grid {}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

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

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

  .auth-brand-panel {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .listing-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

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

  .mini-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── DARK THEME OVERRIDES ─────────────────────────── */
html[data-theme="dark"] {
  --obsidian: #121212;
  --charcoal: #1E1E1E;
  --surface: #1E1E1E;
  --surface-2: #2A2A2A;
  --border: #2D2D2D;
  --border-soft: #3A3A3A;

  --gold: #C6A66B;
  --gold-light: #DBC086;
  --gold-dim: #9B7E48;
  --ivory: #FFFFFF;
  --ivory-dim: #C0C0C0;
  --white: #121212;

  --text-primary: #E5E5E5;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .navbar {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

html[data-theme="dark"] .nav-toggle {
  color: var(--ivory);
}

html[data-theme="dark"] .nav-mobile {
  background: var(--charcoal);
}

html[data-theme="dark"] .listing-card {
  background: var(--surface);
}

html[data-theme="dark"] .brand-name {
  color: var(--gold);
}

html[data-theme="dark"] a {
  color: var(--gold);
}

html[data-theme="dark"] .btn-ghost {
  color: var(--text-secondary);
  border-color: var(--border);
}

html[data-theme="dark"] .btn-gold {
  color: #121212;
}

html[data-theme="dark"] .alert-error {
  color: #f08080;
}

html[data-theme="dark"] .alert-success {
  color: #6dd08a;
}

/* ── MODAL STYLES ───────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.modal-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-auth-buttons .btn {
  margin-bottom: 0;
}

/* ── PREMIUM IMAGE GALLERY MODAL ─────────────── */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-modal.is-open {
  display: flex;
}

/* Overlay click target — behind everything */
.gallery-modal .gallery-overlay {
  position: absolute;
  inset: 0;
  cursor: default;
}

/* Close button */
.gallery-modal .gallery-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  z-index: 10;
}

.gallery-modal .gallery-close:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .4);
}

.gallery-modal .gallery-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Counter */
.gallery-modal .gallery-counter {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-weight: 500;
  z-index: 10;
  white-space: nowrap;
}

/* Main image wrapper */
.gallery-modal .gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 3.5rem 4.5rem 1rem;
  box-sizing: border-box;
  z-index: 2;
  background: none;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
}

.gallery-modal .gallery-img {
  max-width: 95%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, .6);
  animation: galleryZoom .25s cubic-bezier(.22, .61, .36, 1);
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes galleryZoom {
  from {
    transform: scale(.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Nav arrows */
.gallery-modal .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-modal .gallery-nav:hover {
  background: rgba(176, 138, 80, .25);
  border-color: var(--gold, #b08a50);
  transform: translateY(-50%) scale(1.08);
}

.gallery-modal .gallery-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-modal .gallery-nav--prev {
  left: 1rem;
}

.gallery-modal .gallery-nav--next {
  right: 1rem;
}

/* Thumbnail strip */
.gallery-modal .gallery-strip-wrap {
  width: 100%;
  padding: 0.75rem 1rem 1.25rem;
  box-sizing: border-box;
  z-index: 2;
}

.gallery-modal .gallery-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  justify-content: center;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 138, 80, .4) transparent;
}

.gallery-modal .gallery-strip::-webkit-scrollbar {
  height: 3px;
}

.gallery-modal .gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(176, 138, 80, .4);
  border-radius: 2px;
}

.gallery-modal .gallery-thumb {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-modal .gallery-thumb:hover {
  opacity: .8;
  transform: scale(1.05);
}

.gallery-modal .gallery-thumb.active {
  border-color: var(--gold, #b08a50);
  opacity: 1;
  transform: scale(1.1);
}

.gallery-modal .gallery-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .gallery-modal .gallery-nav {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
  }

  .gallery-modal .gallery-nav--prev {
    left: 0.4rem;
  }

  .gallery-modal .gallery-nav--next {
    right: 0.4rem;
  }

  .gallery-modal .gallery-main {
    padding: 3rem 2.8rem 0.5rem;
  }

  .gallery-modal .gallery-img {
    max-height: 65vh;
  }

  .gallery-modal .gallery-thumb {
    width: 44px;
    height: 44px;
  }
}

/* ───────────────── ACTION BUTTONS (Icon Buttons for Tables) ───────────────── */

.action-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

/* Override .btn-icon inside .action-buttons to be square bordered icon buttons */
.action-buttons .btn-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-size: inherit;
  transform: none;
}

.action-buttons .btn-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.action-buttons .btn-icon:hover {
  transform: none;
}

.action-buttons .btn-icon-ghost {
  color: var(--text-secondary);
  border-color: var(--border);
}

.action-buttons .btn-icon-ghost:hover {
  color: var(--ivory);
  background: var(--surface-2);
  border-color: var(--gold-dim);
}

.action-buttons .btn-icon-danger {
  color: #d97777;
  border-color: rgba(180, 70, 70, 0.3);
  background: rgba(180, 70, 70, 0.05);
}

.action-buttons .btn-icon-danger:hover {
  background: rgba(180, 70, 70, 0.15);
  border-color: rgba(180, 70, 70, 0.5);
}

.action-buttons .btn-icon-success {
  color: #8ec79d;
  border-color: rgba(100, 180, 120, 0.3);
  background: transparent;
}

.action-buttons .btn-icon-success:hover {
  background: rgba(100, 180, 120, 0.1);
}

.action-buttons .btn-icon-warning {
  color: #d9b26f;
  border-color: rgba(220, 180, 80, 0.3);
  background: transparent;
}

.action-buttons .btn-icon-warning:hover {
  background: rgba(220, 180, 80, 0.1);
}