/* ═══════════════════════════════════════════════════════════
   Nina's Art Life — Gallery CSS
   Warm, intimate art gallery aesthetic
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --ivory:        #F9F5EE;
  --cream:        #F2EDE3;
  --warm-white:   #FDFAF5;
  --charcoal:     #1C1916;
  --dark-brown:   #2D2520;
  --rose:         #A8476A;
  --dusty-rose:   #C4738E;
  --blush:        #E8CDD6;
  --gold:         #BF9358;
  --warm-gold:    #D4A574;
  --taupe:        #8B7563;
  --light-taupe:  #C8B8A8;
  --sage:         #6B7A62;
  --danger:       #C0392B;
  /* Backward-compat aliases */
  --burnt-orange: #A8476A;
  --soft-brown:   #8B7563;
  --off-white:    #F2EDE3;
  --deep-rose:    #A8476A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── TYPOGRAPHY ─────────────────────────────── */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── NAVIGATION ─────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(249, 245, 238, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 184, 168, 0.35);
}

.logo {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark-brown);
}

.logo span { color: var(--rose); font-style: italic; font-weight: 300; }

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

.nav-links a {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--taupe);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ── BUTTONS ────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: 'Jost', 'DM Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--dark-brown);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(28, 25, 22, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 1px solid var(--rose);
}
.btn-outline:hover {
  background: var(--rose);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--taupe);
  border: 1px solid transparent;
  padding: 0.6rem 1rem;
}
.btn-ghost:hover {
  color: var(--dark-brown);
  border-color: var(--light-taupe);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 0.78rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.7rem; }

/* ── SECTION LABELS ─────────────────────────── */

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 25px;
  height: 1px;
  background: var(--gold);
}

/* ── PAGE WRAPPER ───────────────────────────── */

.page {
  padding-top: 5rem;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.page-header {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(200, 184, 168, 0.3);
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--dark-brown);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.page-header p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--taupe);
  max-width: 520px;
  font-weight: 300;
}

/* ── GALLERY ────────────────────────────────── */

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--light-taupe);
  color: var(--taupe);
  padding: 0.55rem 1.3rem;
  font-size: 0.72rem;
  font-family: 'Jost', 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

/* ── PAINTINGS GRID ─────────────────────────── */

.paintings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 6rem;
}

.painting-card {
  display: block;
  color: inherit;
  transition: transform 0.3s ease;
}

.painting-card:hover {
  transform: translateY(-3px);
}

.painting-card-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 1rem;
}

.painting-card-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.painting-card:hover .painting-card-image img {
  transform: scale(1.04);
}

.painting-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
}

.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 22, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sold-overlay-text {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: 0.08em;
  border: 1px solid rgba(249, 245, 238, 0.4);
  padding: 0.5rem 1.5rem;
}

.painting-card-body {
  padding: 0;
}

.painting-card-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 0.25rem;
}

.painting-card-meta {
  font-size: 0.72rem;
  color: var(--taupe);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.painting-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(200, 184, 168, 0.3);
}

.painting-card-price {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-brown);
}

.painting-card-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.3s;
}

.painting-card:hover .painting-card-link {
  color: var(--rose);
}

/* ── BADGES ─────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-sold {
  background: var(--cream);
  color: var(--taupe);
  border: 1px solid var(--light-taupe);
}

.badge-available {
  background: rgba(107, 122, 98, 0.1);
  color: var(--sage);
  border: 1px solid rgba(107, 122, 98, 0.3);
}

.badge-new {
  background: rgba(168, 71, 106, 0.08);
  color: var(--rose);
  border: 1px solid rgba(168, 71, 106, 0.25);
}

.badge-hidden {
  background: var(--cream);
  color: var(--light-taupe);
  border: 1px solid var(--light-taupe);
}

/* ── PAINTING DETAIL ────────────────────────── */

.painting-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 3rem 0 6rem;
  align-items: start;
}

.painting-detail-image {
  position: relative;
  overflow: hidden;
}

.painting-detail-image img {
  width: 100%;
  display: block;
}

.painting-detail-info {}

.painting-detail-medium {
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  margin-top: 0.5rem;
}

.painting-detail-dimensions {
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.painting-detail-price {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 184, 168, 0.3);
}

.painting-detail-description {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--taupe);
  margin-bottom: 2rem;
  font-weight: 300;
}

.painting-detail-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.painting-detail-note {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--light-taupe);
  padding: 1.2rem;
  border: 1px solid rgba(200, 184, 168, 0.3);
  background: var(--warm-white);
}

.related-section {
  padding: 4rem 0 6rem;
  border-top: 1px solid rgba(200, 184, 168, 0.3);
}

.related-section h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 300;
  color: var(--dark-brown);
  margin-bottom: 3rem;
}

/* ── ABOUT PAGE ─────────────────────────────── */

.about-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  padding-bottom: 6rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 7rem;
}

.about-portrait-placeholder {
  background: var(--cream);
  border: 1px solid var(--light-taupe);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--light-taupe);
}

.about-portrait-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--light-taupe);
  fill: none;
  stroke-width: 1.2;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--dark-brown);
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.25;
}

.about-text p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--taupe);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--cream);
  border: 1px solid rgba(200, 184, 168, 0.4);
}

.about-detail-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.about-detail-value {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--dark-brown);
}

/* ── FORM STYLES ────────────────────────────── */

.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
select,
textarea {
  padding: 0.85rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--light-taupe);
  color: var(--charcoal);
  font-family: 'Jost', 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.hint {
  font-size: 0.78rem;
  color: var(--light-taupe);
  line-height: 1.5;
}

/* ── ALERTS ─────────────────────────────────── */

.alert {
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  border-left: 3px solid;
}

.alert-info    { background: rgba(191, 147, 88, 0.06); border-color: var(--gold); color: var(--taupe); }
.alert-success { background: rgba(107, 122, 98, 0.08); border-color: var(--sage); color: var(--sage); }
.alert-error   { background: rgba(192, 57, 43, 0.06);  border-color: var(--danger); color: var(--danger); }

/* ── PRINTS PAGE ────────────────────────────── */

.prints-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 4rem;
}

.print-card {
  padding: 2.5rem 2rem;
  background: var(--warm-white);
  border: 1px solid rgba(200, 184, 168, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.print-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(28, 25, 22, 0.08);
}

.print-card-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.print-card h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 0.75rem;
}

.print-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--taupe);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.price-range {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--rose);
  font-weight: 600;
}

/* ── SUCCESS / 404 PAGES ────────────────────── */

.success-page {
  text-align: center;
  padding: 8rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.success-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.success-page p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--taupe);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

/* ── FOOTER ─────────────────────────────────── */

footer {
  padding: 4rem 3rem 3rem;
  border-top: 1px solid rgba(200, 184, 168, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--ivory);
}

.footer-brand {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-brown);
  letter-spacing: 0.04em;
}

.footer-brand span {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.71rem;
  color: var(--taupe);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

.footer-text {
  font-size: 0.76rem;
  color: var(--light-taupe);
}

/* ── EMPTY STATE ────────────────────────────── */

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--light-taupe);
}

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

.empty-state h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.88rem;
  color: var(--light-taupe);
}

/* ════════════════════════════════════════════════
   ADMIN PANEL STYLES
   ════════════════════════════════════════════════ */

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--dark-brown);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
}

.admin-sidebar-header {
  padding: 0.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.5rem;
}

.admin-sidebar-header .logo {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}

.admin-sidebar-header small {
  font-size: 0.7rem;
  color: var(--light-taupe);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav {
  list-style: none;
  padding: 0.5rem 0;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(249, 245, 238, 0.6);
  transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.05);
}

.admin-nav-icon { font-size: 1rem; }

.admin-content {
  flex: 1;
  padding: 2rem 2.5rem;
  background: var(--cream);
  overflow-y: auto;
}

.admin-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(200, 184, 168, 0.4);
}

.admin-content-header h1 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark-brown);
}

/* Admin Login */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.admin-login-card {
  background: var(--ivory);
  padding: 3rem;
  border: 1px solid rgba(200, 184, 168, 0.4);
  width: 100%;
  max-width: 380px;
}

.admin-login-card .logo {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.admin-login-card h2 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--taupe);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--ivory);
  padding: 1.5rem;
  border: 1px solid rgba(200, 184, 168, 0.4);
}

.stat-card-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.stat-card-value {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 0.25rem;
}

.stat-card-note {
  font-size: 0.78rem;
  color: var(--light-taupe);
}

/* Admin Table */
.admin-table-wrapper {
  background: var(--ivory);
  border: 1px solid rgba(200, 184, 168, 0.4);
  overflow-x: auto;
}

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

.admin-table thead {
  background: var(--warm-white);
}

.admin-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  border-bottom: 1px solid rgba(200, 184, 168, 0.4);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(200, 184, 168, 0.2);
  color: var(--charcoal);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: var(--warm-white);
}

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

.painting-thumb,
.thumb-placeholder {
  width: 48px;
  height: 60px;
  object-fit: cover;
  display: block;
}

.thumb-placeholder {
  background: var(--cream);
}

/* Admin Form */
.admin-form-card {
  background: var(--ivory);
  padding: 2rem;
  border: 1px solid rgba(200, 184, 168, 0.4);
  max-width: 800px;
}

/* Image Upload */
.image-upload-area {
  border: 2px dashed var(--light-taupe);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--warm-white);
  position: relative;
}

.image-upload-area:hover {
  border-color: var(--rose);
}

.image-upload-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.image-upload-text {
  text-align: center;
  font-size: 0.88rem;
  color: var(--taupe);
}

.image-upload-area input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  top: 0;
  left: 0;
}

.actions { white-space: nowrap; }

.status-select {
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  border: 1px solid var(--light-taupe);
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: 'Jost', 'DM Sans', sans-serif;
  cursor: pointer;
}

/* ── RESPONSIVE ─────────────────────────────── */

@media (max-width: 1024px) {
  .paintings-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0.9rem 1.5rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--light-taupe);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .container { padding: 0 1.5rem; }

  .page-header { padding: 4rem 0 3rem; }

  .painting-detail {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 0 4rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-portrait { position: static; }

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

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

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }

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

  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

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