/* ================================================================
   MAISON ORËA — DARK LUXURY EDITORIAL
   ================================================================ */

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

:root {
  --bg: #0c0b09;
  --bg-elevated: #141310;
  --bg-card: #1a1916;
  --bg-input: #1e1d19;
  --gold: #c9a84c;
  --gold-bright: #e0c068;
  --gold-muted: #8a7535;
  --cream: #f0e8d8;
  --cream-dim: #a89e8c;
  --text: #d8d0c0;
  --text-muted: #6b6458;
  --border: rgba(201,168,76,.12);
  --border-strong: rgba(201,168,76,.25);
  --danger: #c0392b;
  --success: #27ae60;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Libre Franklin', Helvetica, sans-serif;
  --font-accent: 'Bodoni Moda', serif;
  --ease: cubic-bezier(.23,1,.32,1);
  --radius: 4px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--bg); }

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left .6s var(--ease), top .6s var(--ease);
}

/* === GRAIN TEXTURE === */
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* === NAV === */
.nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 56px;
  transition: background .5s, padding .5s, backdrop-filter .5s;
}
.nav.scrolled {
  background: rgba(12,11,9,.9);
  backdrop-filter: blur(20px);
  padding: 16px 56px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-accent);
  font-size: .9rem;
  line-height: 1.1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
}
.nav-logo span { color: var(--gold); }
.nav-center { display: flex; gap: 40px; }
.nav-center a {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color .3s;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease);
}
.nav-center a:hover { color: var(--gold); }
.nav-center a:hover::after { width: 100%; }
.nav-admin {
  color: var(--text-muted);
  transition: color .3s;
}
.nav-admin:hover { color: var(--gold); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,.03) 0%, transparent 40%),
    var(--bg);
  overflow: hidden;
}
.hero-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; justify-content: space-evenly;
}
.h-line {
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 40px;
}
.hero-eyebrow span {
  font-size: .65rem; letter-spacing: .3em; color: var(--gold-muted);
}
.eyebrow-line { width: 60px; height: 1px; background: var(--border-strong); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 32px;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: italic;
  font-family: var(--font-accent);
  color: var(--gold);
  font-weight: 400;
}
.hero-desc {
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: .95rem;
  color: var(--cream-dim);
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 48px;
  border: 1px solid var(--gold-muted);
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: all .4s var(--ease);
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(201,168,76,.15);
}
.hero-badge {
  position: absolute; bottom: 80px; right: 80px; z-index: 2;
}
.badge-rotate { animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 56px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3;height:60px} 50%{opacity:1;height:40px} }
.hero-scroll-indicator span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MARQUEE === */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: .1em;
}
.marquee-track .sep { color: var(--gold-muted); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* === SECTION INTRO === */
.section-intro { max-width: 600px; margin-bottom: 64px; }
.tag {
  display: inline-block;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}
h2 em { font-family: var(--font-accent); color: var(--gold); font-style: italic; }
.section-intro p { color: var(--cream-dim); font-size: .9rem; }

/* === COLLECTION === */
.collection { padding: 140px 56px; }

.filter-bar {
  display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1400px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.product-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform .7s var(--ease);
}
.product-card:hover .product-card-img img { transform: translateZ(0) scale(1.06); }
.product-card-img .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold-muted); opacity: .2;
}
.product-card-body { padding: 20px 24px; }
.product-card-body .pc-cat {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-muted); margin-bottom: 8px; display: block;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}
.product-card-body .pc-desc {
  font-size: .8rem; color: var(--text-muted); margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-body .pc-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.product-card-body .pc-price {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--gold);
}
.product-card-body .pc-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .3s;
}
.product-card:hover .pc-arrow {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.empty-state {
  text-align: center;
  padding: 100px 24px;
}
.empty-icon { font-size: 4rem; color: var(--gold-muted); opacity: .2; margin-bottom: 24px; }
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--cream); margin-bottom: 12px;
}
.empty-state p { color: var(--text-muted); font-size: .85rem; }
.empty-state a { color: var(--gold); border-bottom: 1px solid var(--gold-muted); }

/* === ATELIER === */
.atelier {
  padding: 160px 56px;
  position: relative;
  overflow: hidden;
}
.atelier-bg-text {
  position: absolute;
  font-family: var(--font-accent);
  font-size: clamp(10rem, 25vw, 28rem);
  color: rgba(201,168,76,.03);
  top: 50%; right: -5%;
  transform: translateY(-50%);
  pointer-events: none;
  letter-spacing: .05em;
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.atelier-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.atelier-img {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.img-1 { aspect-ratio: 3/4; grid-row: span 2; }
.img-2 { aspect-ratio: 1; align-self: end; }
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold-muted); opacity: .15;
}
.atelier-text { padding-right: 40px; }
.atelier-text p { color: var(--cream-dim); margin-bottom: 16px; font-size: .9rem; }
.stats-row {
  display: flex; gap: 40px; margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); }

/* === TESTIMONIALS === */
.testimonials { padding: 120px 56px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.testimonial-card {
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color .3s;
}
.testimonial-card:hover { border-color: var(--border-strong); }
.testimonial-card::before {
  content: '"';
  font-family: var(--font-accent);
  font-size: 5rem;
  color: var(--gold-muted);
  opacity: .2;
  position: absolute;
  top: 16px; left: 24px;
  line-height: 1;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* === CONTACT === */
.contact {
  padding: 160px 56px;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.04) 0%, transparent 50%),
    var(--bg-elevated);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-detail { margin-top: 32px; }
.contact-label {
  display: block;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.contact-detail a, .contact-detail span {
  font-size: 1.05rem; color: var(--cream);
}
.contact-detail a { transition: color .3s; }
.contact-detail a:hover { color: var(--gold); }
.social-links { display: flex; gap: 24px; }
.social-links a { font-size: .9rem; }

/* FORM */
.form { display: flex; flex-direction: column; gap: 24px; }
.form-group { position: relative; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
  border-radius: var(--radius);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-muted); }
.form-group label {
  position: absolute;
  left: 20px; top: 18px;
  font-size: .85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all .3s var(--ease);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px; left: 16px;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  background: var(--bg-elevated);
  padding: 0 6px;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }
.form-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 80px 0;
  font-size: 1.1rem; color: var(--gold);
  text-align: center;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 48px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s var(--ease);
  border-radius: var(--radius);
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,.2); }
.btn-primary.success-flash { background: var(--success); }

/* === FOOTER === */
.footer {
  padding: 80px 56px 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  letter-spacing: .2em;
  line-height: 1.1;
  color: var(--cream);
}
.footer-brand span { color: var(--gold); }
.footer-top p { color: var(--text-muted); font-size: .85rem; }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================================================================
   ADMIN PANEL
   ================================================================ */
.admin-body {
  display: flex;
  background: #0e0d0b;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0;
  overflow-y: auto;
}
.sidebar-brand { margin-bottom: 48px; }
.sb-name {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  letter-spacing: .2em;
  line-height: 1.1;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
}
.sb-tag {
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  background: rgba(201,168,76,.08);
  padding: 4px 12px;
  display: inline-block;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sb-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .8rem;
  color: var(--text-muted);
  transition: all .2s;
}
.sb-link:hover { color: var(--cream); background: rgba(255,255,255,.03); }
.sb-link.active { color: var(--gold); background: rgba(201,168,76,.06); }
.sb-store-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s;
  margin-top: auto;
}
.sb-store-link:hover { color: var(--gold); border-color: var(--gold-muted); }

/* ADMIN CONTENT */
.admin-content {
  flex: 1;
  margin-left: 260px;
  padding: 40px 48px;
}

/* TOPBAR */
.admin-topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 48px;
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.admin-subtitle { font-size: .8rem; color: var(--text-muted); }
.topbar-stats { display: flex; gap: 32px; }
.mini-stat { text-align: center; }
.mini-stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.mini-stat-label { font-size: .55rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); }

/* ADMIN SECTIONS */
.admin-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex; align-items: center; gap: 12px;
}
.section-head p {
  font-size: .8rem;
  color: var(--text-muted);
}
.product-count-badge {
  font-family: var(--font-body);
  font-size: .6rem;
  background: var(--gold-muted);
  color: var(--bg);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.list-actions { display: flex; gap: 12px; align-items: center; }
.search-input {
  padding: 10px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .8rem;
  outline: none;
  border-radius: var(--radius);
  width: 200px;
  transition: border-color .3s;
}
.search-input:focus { border-color: var(--gold-muted); }
.btn-danger-small {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(192,57,43,.3);
  color: var(--danger);
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .3s;
}
.btn-danger-small:hover { background: var(--danger); color: white; border-color: var(--danger); }

/* ADD FORM */
.add-form-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
.a-form-group { margin-bottom: 20px; }
.a-form-group label {
  display: block;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.req { color: var(--gold); }
.optional { text-transform: none; letter-spacing: 0; opacity: .5; }
.a-form-group input, .a-form-group textarea, .a-form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
  border-radius: var(--radius);
}
.a-form-group input:focus, .a-form-group textarea:focus, .a-form-group select:focus { border-color: var(--gold-muted); }
.a-form-group select option { background: var(--bg-card); }
.a-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-with-prefix { position: relative; }
.input-prefix {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gold-muted); font-size: .85rem;
}
.input-with-prefix input { padding-left: 36px; }

/* Upload Area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-top: 8px;
}
.upload-area:hover, .upload-area.dragover { border-color: var(--gold-muted); background: rgba(201,168,76,.03); }
.upload-area.has-image { padding: 12px; }
.upload-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.upload-icon-wrap { color: var(--gold-muted); opacity: .4; }
.upload-inner p { color: var(--text-muted); font-size: .85rem; }
.upload-inner p strong { color: var(--gold); }
.upload-inner small { color: var(--text-muted); font-size: .7rem; opacity: .5; }
.upload-preview { display: none; max-height: 260px; object-fit: contain; border-radius: var(--radius); margin: 0 auto; }
.btn-remove-img {
  display: inline-flex; align-items: center;
  margin-top: 8px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid rgba(192,57,43,.3);
  color: var(--danger);
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .1em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .3s;
}
.btn-remove-img:hover { background: var(--danger); color: white; }

.form-actions { margin-top: 24px; }

/* Product Table */
.product-table { display: none; }
.table-header, .table-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 100px 60px;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.table-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.table-header span {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.table-row {
  border-radius: var(--radius);
  transition: background .2s;
}
.table-row:hover { background: rgba(255,255,255,.02); }
.tr-img {
  width: 48px; height: 48px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tr-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tr-placeholder { color: var(--gold-muted); opacity: .3; font-size: .8rem; }
.tr-name strong { display: block; font-weight: 500; font-size: .85rem; color: var(--cream); }
.tr-name small { font-size: .7rem; color: var(--text-muted); }
.cat-pill {
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}
.tr-price {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold);
}
.btn-icon {
  background: none; border: 1px solid var(--border);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.btn-del:hover { background: var(--danger); color: white; border-color: var(--danger); }
.empty-admin-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 60px 0;
  text-align: center;
}
.empty-admin-state p { color: var(--text-muted); }
.empty-admin-state small { color: var(--text-muted); opacity: .5; font-size: .75rem; }

/* === PRODUCT DETAIL MODAL === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  padding: 24px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px; width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(.97);
  transition: transform .5s var(--ease);
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: rgba(0,0,0,.5); border: 1px solid var(--border);
  color: var(--cream-dim); cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all .3s;
}
.modal-close:hover { color: var(--cream); border-color: var(--cream-dim); }
.modal-img-wrap {
  aspect-ratio: 1/1;
  background: var(--bg-elevated);
  overflow: hidden; position: relative;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.modal-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--gold-muted); opacity: .15;
}
.modal-body {
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto;
}
.modal-body .pc-cat { margin-bottom: 12px; }
.modal-body h3 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 400;
  color: var(--cream); line-height: 1.15;
  margin-bottom: 20px;
}
.modal-desc {
  font-size: .9rem; color: var(--cream-dim);
  line-height: 1.8; margin-bottom: 24px;
}
.modal-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.modal-tag {
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}
.modal-price {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 32px;
}
.modal-cta { font-size: .68rem; padding: 16px 36px; align-self: flex-start; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .atelier-grid, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .add-form-grid { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-img-wrap { aspect-ratio: 16/10; max-height: 40vh; }
}
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-center { display: none; }
  .hero-title { font-size: 3rem; }
  .collection, .atelier, .testimonials, .contact { padding: 80px 24px; }
  .footer { padding: 40px 24px 24px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 8px; }
  .stats-row { flex-direction: column; gap: 24px; }
  .sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 24px; }
  .admin-section { padding: 24px; }
  .table-header, .table-row {
    grid-template-columns: 48px 1fr 80px 50px;
  }
  .th-cat, .tr-cat { display: none; }
}