/* ============================================
   SFM CREATIVE STUDIOS
   Fine Art by Sarah Manzano
   Clean, Light, Contemporary Design
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Reset (mild) ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1917;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: #b45309;
  color: white;
}

/* ---- Typography ---- */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  height: 80px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.navbar.scrolled .navbar-logo {
  background: #1c1917;
  color: white;
}

.navbar:not(.scrolled) .navbar-logo {
  background: rgba(255,255,255,0.9);
  color: #1c1917;
}

.navbar-brand-text {
  display: none;
}

@media (min-width: 640px) {
  .navbar-brand-text {
    display: block;
  }
}

.navbar-brand-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.navbar-brand-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: color 0.3s;
}

.navbar.scrolled .navbar-brand-name,
.navbar.scrolled .navbar-brand-sub {
  color: #1c1917;
}

.navbar:not(.scrolled) .navbar-brand-name,
.navbar:not(.scrolled) .navbar-brand-sub {
  color: white;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
}

.nav-link:hover {
  opacity: 0.7;
}

.navbar.scrolled .nav-link {
  color: #78716c;
}

.navbar.scrolled .nav-link.active {
  color: #1c1917;
}

.navbar:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.8);
}

.navbar:not(.scrolled) .nav-link.active {
  color: white;
}

.nav-cart {
  position: relative;
  padding: 8px;
  transition: color 0.3s;
}

.navbar.scrolled .nav-cart {
  color: #1c1917;
}

.navbar:not(.scrolled) .nav-cart {
  color: white;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #b45309;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.mobile-menu-btn {
  padding: 8px;
  transition: color 0.3s;
}

.navbar.scrolled .mobile-menu-btn {
  color: #1c1917;
}

.navbar:not(.scrolled) .mobile-menu-btn {
  color: white;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-link {
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
  color: #1c1917;
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: #b45309;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px;
  color: #1c1917;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: #1c1917;
}

.btn-primary:hover {
  background: #f5f5f4;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-dark {
  background: #1c1917;
  color: white;
}

.btn-dark:hover {
  background: #292524;
}

.btn-amber {
  background: #b45309;
  color: white;
}

.btn-amber:hover {
  background: #92400e;
}

.btn-outline-dark {
  border: 1px solid #e7e5e4;
  color: #57534e;
}

.btn-outline-dark:hover {
  border-color: #a8a29e;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: #1c1917;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 16px;
}

.section-text {
  color: #57534e;
  line-height: 1.7;
}

.section-text-lg {
  color: #57534e;
  font-size: 18px;
  line-height: 1.7;
}

.bg-stone-50 { background: #fafaf9; }
.bg-stone-900 { background: #1c1917; }
.bg-white { background: #ffffff; }

/* ============================================
   GRIDS
   ============================================ */
.grid-2 {
  display: grid;
  gap: 48px;
}

.grid-3 {
  display: grid;
  gap: 32px;
}

.grid-4 {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-2 { gap: 80px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   ARTWORK CARDS
   ============================================ */
.artwork-card {
  display: block;
}

.artwork-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f4;
  margin-bottom: 16px;
}

.artwork-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.artwork-card:hover .artwork-image img {
  transform: scale(1.05);
}

.artwork-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0);
  transition: background 0.5s;
}

.artwork-card:hover .artwork-image::after {
  background: rgba(28, 25, 23, 0.1);
}

.artwork-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(28, 25, 23, 0.8);
  color: white;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.artwork-series {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 4px;
}

.artwork-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.artwork-card:hover .artwork-title {
  color: #b45309;
}

.artwork-medium {
  font-size: 14px;
  color: #78716c;
}

.artwork-price {
  font-size: 14px;
  color: #a8a29e;
  margin-top: 4px;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  text-align: center;
  padding: 32px;
  border: 1px solid #f5f5f4;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: #e7e5e4;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fafaf9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  color: #1c1917;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: #78716c;
  line-height: 1.6;
}

/* ============================================
   GALLERY CARDS
   ============================================ */
.gallery-card {
  border: 1px solid #f5f5f4;
  overflow: hidden;
  transition: border-color 0.3s;
}

.gallery-card:hover {
  border-color: #e7e5e4;
}

.gallery-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f4;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 24px;
}

.gallery-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 4px;
}

.gallery-card-location {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 16px;
}

.gallery-card-desc {
  font-size: 14px;
  color: #78716c;
  line-height: 1.6;
  margin-bottom: 16px;
}

.gallery-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 600;
  transition: color 0.3s;
}

.gallery-card-link:hover {
  color: #92400e;
}

/* ============================================
   TIMELINE / AWARD ITEMS
   ============================================ */
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid #f5f5f4;
  transition: border-color 0.3s;
}

@media (min-width: 640px) {
  .timeline-item {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}

.timeline-item:hover {
  border-color: #e7e5e4;
}

.timeline-year {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 600;
  min-width: 80px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 500;
  color: #1c1917;
  margin-bottom: 4px;
}

.timeline-event {
  color: #57534e;
}

.timeline-detail {
  font-size: 14px;
  color: #a8a29e;
  margin-top: 4px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  color: #1c1917;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #b45309;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.4);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: white;
  z-index: 50;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #f5f5f4;
}

.cart-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: #1c1917;
}

.cart-close {
  padding: 8px;
  color: #78716c;
  transition: color 0.3s;
}

.cart-close:hover {
  color: #1c1917;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  text-align: center;
  padding: 48px 0;
}

.cart-empty svg {
  margin: 0 auto 16px;
  color: #e7e5e4;
}

.cart-empty p {
  color: #a8a29e;
}

.cart-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.cart-item-image {
  width: 80px;
  height: 96px;
  object-fit: cover;
  background: #f5f5f4;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #1c1917;
  margin-bottom: 2px;
}

.cart-item-medium {
  font-size: 12px;
  color: #a8a29e;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  color: #b45309;
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e7e5e4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.cart-qty-btn:hover {
  border-color: #a8a29e;
}

.cart-qty-value {
  font-size: 14px;
  color: #57534e;
  width: 16px;
  text-align: center;
}

.cart-item-remove {
  margin-left: auto;
  font-size: 12px;
  color: #a8a29e;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: #dc2626;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid #f5f5f4;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-subtotal-label {
  color: #57534e;
}

.cart-subtotal-value {
  font-size: 20px;
  font-weight: 500;
  color: #1c1917;
}

.cart-note {
  font-size: 12px;
  color: #a8a29e;
  margin-bottom: 16px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  z-index: 60;
  background: #1c1917;
  color: white;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.4s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-success-icon {
  color: #4ade80;
  flex-shrink: 0;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: white;
  border-bottom: 1px solid #f5f5f4;
}

.filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.filter-desktop {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .filter-desktop {
    display: flex;
  }
}

.filter-btn {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: #a8a29e;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  color: #b45309;
}

.filter-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #57534e;
}

@media (min-width: 768px) {
  .filter-mobile-toggle {
    display: none;
  }
}

.filter-count {
  font-size: 12px;
  color: #a8a29e;
}

.filter-mobile-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.filter-mobile-panel.open {
  max-height: 300px;
}

.filter-mobile-panel-inner {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================
   ARTWORK DETAIL PAGE
   ============================================ */
.artwork-detail-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .artwork-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.artwork-detail-image {
  aspect-ratio: 3 / 4;
  background: #f5f5f4;
  overflow: hidden;
}

.artwork-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artwork-detail-series {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 12px;
}

.artwork-detail-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 24px;
  line-height: 1.2;
}

.artwork-detail-desc {
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 32px;
}

.artwork-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.artwork-detail-meta-item {
  display: flex;

  align-items: center;
  gap: 12px;
}

.artwork-detail-meta-item svg {
  color: #a8a29e;
  flex-shrink: 0;
}

.artwork-detail-meta-item span {
  font-size: 14px;
  color: #57534e;
}

.artwork-detail-price {
  font-size: 32px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 16px;
}

.artwork-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .artwork-detail-actions {
    flex-direction: row;
  }
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafaf9;
  padding: 24px;
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
  padding: 48px;
  background: white;
  border: 1px solid #f5f5f4;
}

.admin-login-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.admin-login-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
  text-align: center;
  margin-bottom: 8px;
}

.admin-login-sub {
  font-size: 14px;
  color: #a8a29e;
  text-align: center;
  margin-bottom: 32px;
}

.admin-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #dc2626;
  margin-bottom: 16px;
}

.admin-dashboard {
  padding-top: 112px;
  padding-bottom: 64px;
  background: #fafaf9;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-stats {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid #f5f5f4;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.admin-stat-value {
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
}

.admin-stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a8a29e;
}

.admin-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  margin-bottom: 24px;
}

.admin-alert svg {
  color: #dc2626;
  flex-shrink: 0;
}

.admin-alert p {
  font-size: 14px;
  color: #b91c1c;
}

.admin-table-wrap {
  background: white;
  border: 1px solid #f5f5f4;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a8a29e;
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f4;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #fafaf9;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #fafaf9;
}

.admin-table-artwork {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-table-artwork img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: #f5f5f4;
  flex-shrink: 0;
}

.admin-table-artwork span {
  font-size: 14px;
  color: #1c1917;
}

.admin-status {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.admin-status-available {
  background: #f0fdf4;
  color: #15803d;
}

.admin-status-sold {
  background: #f5f5f4;
  color: #78716c;
}

.admin-status-reserved {
  background: #fffbeb;
  color: #b45309;
}

.admin-table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-table-actions button {
  padding: 8px;
  border-radius: 4px;
  color: #a8a29e;
  transition: all 0.2s;
}

.admin-table-actions button:hover {
  background: #fef3c7;
  color: #b45309;
}

.admin-table-actions button.delete:hover {
  background: #fef2f2;
  color: #dc2626;
}

.admin-inventory-input {
  width: 64px;
  padding: 4px 8px;
  font-size: 14px;
  border: 1px solid #e7e5e4;
}

.admin-inventory-input.low {
  border-color: #fca5a5;
  background: #fef2f2;
}

.admin-inventory-input.out {
  border-color: #e7e5e4;
  background: #f5f5f4;
}

/* Add Form */
.admin-add-form {
  background: white;
  padding: 24px;
  border: 1px solid #f5f5f4;
  margin-bottom: 32px;
}

.admin-add-form h3 {
  font-size: 18px;
  font-weight: 500;
  color: #1c1917;
  margin-bottom: 16px;
}

.admin-form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .admin-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-form-grid .full-width {
  grid-column: 1 / -1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1c1917;
  color: #d6d3d1;
}

.footer-inner {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 96px 0;
  }
}

.footer-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
}

.footer-brand-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: #b45309;
}

.footer-heading {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-links span {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  margin-top: 3px;
  opacity: 0.5;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-contact-item a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p,
.footer-bottom span {
  font-size: 12px;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links span {
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer-bottom-links span:hover {
  opacity: 1;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.max-w-2xl { max-width: 640px; }
.max-w-4xl { max-width: 896px; }
.max-w-xl { max-width: 576px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.pt-28 { padding-top: 112px; }
.pt-32 { padding-top: 128px; }
.pb-16 { padding-bottom: 64px; }

.hidden { display: none; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:items-center { align-items: center; }
  .sm\:w-24 { width: 96px; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-5xl { font-size: 48px; }
  .md\:text-6xl { font-size: 60px; }
  .md\:py-32 { padding-top: 128px; padding-bottom: 128px; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:gap-20 { gap: 80px; }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 0.15s);
}

