/* ============================================================
   CHEYEN — Full Site Stylesheet
   Dark cosmic aesthetic · Glassmorphism · Intuitive art energy
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --dark:        #06040f;
  --deep:        #0d0720;
  --deeper:      #070412;
  --electric:    #2060e8;
  --turquoise:   #00c9c8;
  --violet:      #7b2fe8;
  --gold:        #e8a020;
  --coral:       #e85040;
  --white:       #fafafa;
  --text:        #e8e4f0;
  --text-muted:  #8a7a9e;
  --glass-bg:    rgba(255, 255, 255, 0.05);
  --glass-border:rgba(255, 255, 255, 0.10);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --blur:        blur(12px);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --shadow-glow: 0 8px 32px rgba(123, 47, 232, 0.2);
  --shadow-gold: 0 0 20px rgba(232, 160, 32, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Full-page background image ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('/static/img/ig_01a880e7c83c0bf4016a088d447c6481919a27f77abc2a5e82.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* Dark overlay — lets the cosmic colors bleed through subtly */
  filter: brightness(0.22) saturate(1.4);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

/* ── Particle Canvas ────────────────────────────────────────── */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 4, 15, 0.7);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-wordmark {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-lang a {
  transition: color var(--transition);
}

.nav-lang a:hover { color: var(--gold); }
.nav-lang a.active { color: var(--white); font-weight: 600; }
.nav-lang .sep { color: var(--glass-border); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: 760px;
}

.hero-tagline {
  font-size: clamp(32px, 6vw, 64px);
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero-tagline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(232, 160, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 160, 32, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 160, 32, 0.05);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 11px;
}

/* ── Section Headings ───────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.section-heading .overline {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Glassmorphism Cards ────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(232, 160, 32, 0.25);
}

/* ── Product Grid ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(232, 160, 32, 0.2);
  border-color: rgba(232, 160, 32, 0.3);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--deep) 0%, #1a0d40 100%);
  display: block;
}

.product-card-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--deep) 0%, #1a0d40 50%, #0d1a40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image-placeholder::after {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(123, 47, 232, 0.2);
  border: 1px solid rgba(123, 47, 232, 0.3);
}

.product-card-info {
  padding: 18px 20px 20px;
}

.product-card-category {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-card-name {
  font-family: Georgia, serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.product-card-price.price-on-request {
  color: var(--text-muted);
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
}

/* ── Category Filter Tabs ───────────────────────────────────── */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
}

.category-tab:hover,
.category-tab.active {
  background: rgba(232, 160, 32, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Painting Grid ──────────────────────────────────────────── */
.painting-grid {
  columns: 3;
  column-gap: 20px;
}

.painting-card {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.painting-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 47, 232, 0.25);
}

.painting-card-image {
  width: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(160deg, #0d0720, #1a0d40, #0d1a40);
}

.painting-card-image-placeholder {
  width: 100%;
  background: linear-gradient(160deg, #0d0720, #1a0d40, #0d1a40);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.painting-card-info {
  padding: 16px 18px 18px;
}

.painting-card-title {
  font-family: Georgia, serif;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 6px;
}

.painting-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-available {
  background: rgba(0, 201, 200, 0.15);
  color: var(--turquoise);
  border: 1px solid rgba(0, 201, 200, 0.3);
}

.badge-sold {
  background: rgba(232, 80, 64, 0.15);
  color: var(--coral);
  border: 1px solid rgba(232, 80, 64, 0.3);
}

.badge-featured {
  background: rgba(232, 160, 32, 0.15);
  color: var(--gold);
  border: 1px solid rgba(232, 160, 32, 0.3);
}

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  padding: 140px 24px 64px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 14px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Detail Pages ───────────────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 120px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.detail-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, var(--deep), #1a0d40);
}

.detail-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.detail-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--deep) 0%, #1a0d40 50%, #0d1a40 100%);
}

.detail-info {}

.detail-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.detail-title {
  font-size: clamp(24px, 4vw, 38px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-meta-item {
  font-size: 13px;
  color: var(--text-muted);
}

.detail-meta-item strong {
  color: var(--text);
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.detail-description {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.detail-price {
  font-size: 28px;
  font-family: Georgia, serif;
  color: var(--gold);
  margin-bottom: 28px;
}

.detail-price.price-on-request {
  font-size: 16px;
  color: var(--text-muted);
  font-family: inherit;
  font-style: italic;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(123, 47, 232, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

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

.form-select option {
  background: var(--deep);
  color: var(--text);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--violet);
  cursor: pointer;
}

.form-check .form-label {
  margin-bottom: 0;
  cursor: pointer;
}

/* ── Alert / Notice ─────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(0, 201, 200, 0.1);
  border: 1px solid rgba(0, 201, 200, 0.3);
  color: var(--turquoise);
}

.alert-error {
  background: rgba(232, 80, 64, 0.1);
  border: 1px solid rgba(232, 80, 64, 0.3);
  color: var(--coral);
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-layout {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── About Page ─────────────────────────────────────────────── */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.about-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.about-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 48px;
}

.about-studio {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--deep) 0%, #1a0d40 50%, #0d1a40 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-quote {
  border-left: 2px solid var(--gold);
  padding: 20px 24px;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  margin: 40px 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  background: rgba(6, 4, 15, 0.8);
}

.footer-wordmark {
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 11px;
  color: rgba(138, 122, 158, 0.5);
}

/* ── Related Products ───────────────────────────────────────── */
.related-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-section h3 {
  font-size: 20px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-family: Georgia, serif;
}

/* ── Artist Teaser ──────────────────────────────────────────── */
.artist-teaser {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.artist-teaser-quote {
  font-family: Georgia, serif;
  font-size: clamp(18px, 3vw, 28px);
  font-style: italic;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Admin Layout ───────────────────────────────────────────── */
.admin-wrap {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(13, 7, 32, 0.95);
  border-right: 1px solid var(--glass-border);
  padding: 32px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-logo {
  font-family: Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 24px 32px;
  display: block;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
}

.admin-sidebar-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 24px;
  margin-bottom: 8px;
  margin-top: 20px;
}

.admin-nav {
  list-style: none;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: var(--glass-bg);
}

.admin-nav a.active {
  border-left: 2px solid var(--gold);
  color: var(--gold);
}

.admin-main {
  flex: 1;
  padding: 40px;
  overflow-x: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-size: 24px;
  font-family: Georgia, serif;
}

/* ── Admin Stats Cards ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-card-value {
  font-size: 36px;
  font-family: Georgia, serif;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card-value.gold   { color: var(--gold); }
.stat-card-value.violet { color: var(--violet); }
.stat-card-value.turquoise { color: var(--turquoise); }
.stat-card-value.coral  { color: var(--coral); }

/* ── Admin Charts ───────────────────────────────────────────── */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.chart-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
}

.chart-card h3 {
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.chart-wrap {
  position: relative;
  height: 200px;
}

/* ── Admin Table ────────────────────────────────────────────── */
.admin-table-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.admin-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

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

.admin-table-actions a,
.admin-table-actions button {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
}

.admin-table-actions a:hover,
.admin-table-actions button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-table-actions .btn-delete {
  color: var(--coral);
  border-color: rgba(232, 80, 64, 0.3);
}

.admin-table-actions .btn-delete:hover {
  background: rgba(232, 80, 64, 0.1);
  border-color: var(--coral);
}

/* ── Admin Login ────────────────────────────────────────────── */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.admin-login-card h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.admin-login-card p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

/* ── Unread message indicator ───────────────────────────────── */
.unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}

.message-row.unread td:first-child {
  border-left: 2px solid var(--turquoise);
}

.message-text {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .painting-grid { columns: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 100px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6, 4, 15, 0.97); padding: 24px 32px; border-bottom: 1px solid var(--glass-border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .painting-grid { columns: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { display: none; }
  .admin-main { padding: 24px 16px; }
  .artist-teaser { padding: 32px 24px; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 56px 0; }
  .page-header { padding: 100px 20px 48px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .category-tabs { gap: 8px; }
}
