/* Perfume Zone admin — the storefront's black, gold and ivory palette. */
:root {
  --ink: #0b0b0b;
  --ink-2: #1a1612;
  --gold: #d9a514;
  --gold-soft: #e9c15a;
  --gold-deep: #a97c0c;
  --paper: #faf6ec;
  --cream: #f1e9d6;
  --text: #3a342b;
  --muted: #7b7263;
  --line: #e9e1d2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 14px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--gold); border-radius: 5px; padding: 11px 20px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, box-shadow .2s; }
button:hover, .button:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #dfd6c5; border-radius: 5px; color: var(--text); background: #fff; }
input::placeholder, textarea::placeholder { color: #9c9384; }
input:focus, select:focus, textarea:focus { outline: 2px solid #d9a51455; border-color: var(--gold-deep); outline-offset: 1px; }
input[type='checkbox'] { accent-color: var(--gold-deep); }
input[type='file'] { padding: 9px; }
input[type='file']::file-selector-button { border: 0; border-radius: 3px; background: var(--cream); padding: 5px 10px; margin-right: 10px; color: var(--text); }
label { display: block; font-size: 12px; font-weight: 500; }
label input, label select, label textarea { display: block; margin: 8px 0 20px; }
textarea { resize: vertical; min-height: 90px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font: 600 clamp(30px, 3.2vw, 44px)/1.1 var(--serif); letter-spacing: -.7px; margin: 8px 0 12px; }
h2 { font: 600 25px/1.2 var(--serif); }
p { color: var(--muted); line-height: 1.7; }
.eyebrow { color: var(--gold-deep); font-size: 9px; letter-spacing: 2px; font-weight: 600; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 244px; padding: 32px 19px 22px; display: flex; flex-direction: column; background: #12110f; border-right: 1px solid #3a3020; color: #d1c8b6; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 4px; color: var(--gold-soft); font-size: 12px; font-weight: 500; letter-spacing: 1.4px; }
.brand img { width: 49px; height: 49px; object-fit: contain; }
.brand small { display: block; color: #9a8e76; font-size: 8px; letter-spacing: 3px; margin-top: 5px; }
.nav-label { margin: 44px 15px 15px; font-size: 9px; letter-spacing: 2.5px; color: #8f8068; }
.sidebar nav a { display: flex; gap: 14px; align-items: center; padding: 12px 15px; margin: 6px 0; border: 1px solid transparent; border-radius: 6px; color: #b1a795; font-size: 13px; transition: background .2s, color .2s; }
.sidebar nav a:hover { background: #242017; color: var(--gold-soft); }
.sidebar nav a.selected { background: linear-gradient(100deg, #d9a51426, #d9a5140b); color: var(--gold-soft); border-color: #d9a51430; box-shadow: inset 3px 0 var(--gold); }
.sidebar nav a span { display: grid; place-items: center; width: 21px; font: 19px/1 system-ui; }
.sidebar-bottom { display: grid; gap: 17px; margin-top: auto; padding: 24px 13px 0; border-top: 1px solid #ffffff12; font-size: 11px; }
.sidebar-bottom > a { color: var(--gold-soft); }
.sidebar-bottom .ghost { width: 100%; color: #c7bdab; background: transparent; border-color: #544733; }
.sidebar-bottom .ghost:hover { background: #2a2318; }
.workspace { margin-left: 244px; min-width: 0; }
.topbar { height: 76px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fffdf8; font-size: 11px; }
.muted { color: var(--muted); margin-left: 12px; }
.topbar-account { display: flex; align-items: center; gap: 18px; }
.store-status { color: var(--muted); font-size: 10px; letter-spacing: .4px; }
.store-status::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--gold-deep); border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.admin-avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e6d2a0; border-radius: 50%; background: #f3e8cb; color: #826015; font: 600 17px var(--serif); }
.main { max-width: 1560px; margin: auto; padding: 35px 38px 24px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-heading p { margin: 0; font-size: 12px; }
.date { flex-shrink: 0; border: 1px solid #e4dac7; background: #fffdf8; padding: 10px 15px; border-radius: 4px; font-size: 11px; color: #796c55; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.stat { display: flex; flex-direction: column; padding: 19px 21px 16px; background: #fffdf9; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 12px #60451003; transition: border-color .2s, box-shadow .2s; }
.stat:hover { border-color: #d9a51488; box-shadow: 0 6px 20px #6045100b; }
.stat-label { display: flex; align-items: center; justify-content: space-between; color: #776b59; font-size: 11px; }
.stat-icon { width: 31px; height: 31px; display: grid; place-items: center; background: #f8f0dc; color: var(--gold-deep); border: 1px solid #ecdfbc; border-radius: 6px; font: 18px system-ui; }
.stat strong { font: 600 44px/1.15 var(--serif); margin: 5px 0 12px; color: #241c10; }
.stat small { display: flex; justify-content: space-between; gap: 5px; border-top: 1px solid #f0e9dc; padding-top: 11px; color: #93856e; font-size: 9px; }
.stat small span { font-size: 14px; color: var(--gold-deep); }
.hero-panel { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 300px; overflow: hidden; margin: 24px 0; background: #16130f; border: 1px solid #3b3020; border-radius: 9px; }
.hero-copy { position: relative; z-index: 2; padding: 35px 0 35px 35px; }
.hero-panel .eyebrow { color: #d5b46b; font-size: 8px; letter-spacing: 2px; }
.hero-panel h2 { font: 500 clamp(33px, 3.3vw, 48px)/1.04 var(--serif); color: #fff6e2; margin: 17px 0; letter-spacing: -.5px; }
.hero-panel h2 em { font-weight: 400; color: #e6bf67; }
.hero-panel p { color: #c2b6a1; font-size: 11px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 23px; }
.hero-actions > a:not(.button) { color: #dbc8a4; font-size: 10px; }
.hero-actions .button { padding: 10px 16px; font-size: 11px; }
.hero-art { position: relative; min-width: 0; overflow: hidden; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #16130f, #16130f00 45%), linear-gradient(0deg, #16130fe6, transparent 45%); pointer-events: none; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .85; }
.hero-art > span { position: absolute; bottom: 20px; right: 20px; z-index: 1; color: #d6c297; letter-spacing: 2px; font-size: 7px; text-align: right; }
.dashboard-lower { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 22px; }
.dashboard-lower > div { min-width: 0; }
.panel { padding: 25px; margin-bottom: 22px; background: #fffdf9; border: 1px solid var(--line); border-radius: 8px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 21px; }
.panel-heading .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
.panel-heading h2 { margin-top: 4px; }
.panel-heading > a:not(.button) { font-size: 10px; color: var(--gold-deep); white-space: nowrap; }
.panel-heading > span { color: var(--muted); font-size: 11px; }
.empty { padding: 36px 12px; text-align: center; color: var(--muted); }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border: 1px solid #e9d9af; border-radius: 50%; background: #f7f0de; color: var(--gold-deep); font: 24px system-ui; }
.empty strong { display: block; color: #5e503c; font: 500 23px var(--serif); }
.empty small { display: block; font-size: 10px; margin: 8px 0 16px; }
.empty > a { color: var(--gold-deep); font-size: 10px; }
.store-health h2 { margin: 5px 0 18px; }
.health-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee7da; font-size: 11px; }
.health-row:last-child { border: 0; padding-bottom: 0; }
.health-row b { font-weight: 500; font-size: 13px; }
.health-dot { display: inline-block; background: #8a8866; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; }
.health-dot.gold { background: var(--gold); }
.health-dot.warm { background: #b67b4b; }
.quick-panel { border: 1px solid #e6d8b6; border-radius: 8px; padding: 19px 24px 10px; background: #f3ecdb; }
.quick-panel .eyebrow { font-size: 8px; }
.quick-panel a { display: flex; justify-content: space-between; padding: 12px 0; font-size: 11px; border-bottom: 1px solid #e6dbc3; }
.quick-panel a:last-child { border-bottom: 0; }
.quick-panel a span { color: var(--gold-deep); }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
th { background: #f6f0e4; color: #887656; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
td, th { padding: 16px 14px; border-bottom: 1px solid #eee7da; }
td { font-size: 12px; }
tbody tr:hover { background: #faf6ec; }
.product-cell { display: flex; gap: 14px; align-items: center; }
.product-cell b { font-weight: 500; }
.product-cell img { width: 46px; height: 54px; object-fit: contain; padding: 3px; background: #f5eedf; border: 1px solid #ece2cd; border-radius: 4px; }
.badge { display: inline-block; padding: 4px 9px; border: 1px solid #e4d6b4; border-radius: 4px; color: #94711b; background: #faf1d9; font-size: 10px; }
.badge.live { color: #706039; background: #f0eadb; border-color: #dfd2b0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.actions a { color: var(--gold-deep); font-size: 11px; }
.small { padding: 5px 9px; font-size: 10px; }
.danger { color: #9b5146; background: #fbefeb; border-color: #eed3cc; }
.danger:hover { background: #f5dcd5; border-color: #e8c2b8; }
.ghost { background: transparent; border-color: #d5c5a4; color: #7d6741; }
.ghost:hover { background: #f4ebd7; border-color: #ccb27e; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.wide { grid-column: 1 / -1; }
.editor { padding: 25px; background: #fcf8ef; border: 1px solid #e8dcc3; border-radius: 6px; margin-bottom: 24px; }
.editor h2 { margin: 0 0 25px; }
.check { display: flex; gap: 8px; align-items: center; padding-bottom: 20px; }
.check input { width: auto; margin: 0; }
.search { display: flex; gap: 10px; margin: 22px 0; }
.search input, .search select { max-width: 350px; }
.recent { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.recent b { flex: 1; font-weight: 500; }
.inquiry { padding: 19px 0; border-top: 1px solid var(--line); }
.inquiry summary { display: flex; align-items: center; gap: 22px; cursor: pointer; font-size: 12px; }
.inquiry summary b { flex: 1; font-weight: 500; }
.inquiry summary small { color: var(--muted); }
.inquiry pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: #f5efdf; font-size: 11px; border-radius: 4px; }
.message { white-space: pre-wrap; }
.admin-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; color: #99896d; font-size: 8px; letter-spacing: 1.5px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 20% 0, #46331955, transparent 65%), #12110f; }
.login-card { width: 100%; max-width: 460px; padding: 44px; border: 1px solid #ded1b4; border-top: 3px solid var(--gold); border-radius: 8px; background: var(--paper); box-shadow: 0 24px 90px #0006; }
.login-card h1 { font-size: 46px; margin-top: 16px; }
.login-card p { font-size: 12px; }
.login-card form { margin: 27px 0 20px; }
.login-card form > button { width: 100%; margin-top: 10px; }
.login-card > a { color: var(--gold-deep); font-size: 11px; }
.login-card small { font-size: 10px; color: var(--muted); }
.error { color: #ad4d41; }
.success { color: #547346; }
.notice { padding: 13px 16px; background: #fffdf8; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 5px; font-size: 12px; }
@media (min-width: 1600px) { .hero-panel { min-height: 340px; } .hero-copy { padding: 44px; } }
@media (max-width: 1150px) { .sidebar { width: 210px; padding-inline: 15px; } .workspace { margin-left: 210px; } .main { padding: 28px 25px; } .topbar { padding: 0 25px; } .stat { padding: 16px; } .hero-copy { padding-left: 26px; } .dashboard-lower { gap: 16px; grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr); } }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-panel { grid-template-columns: 1.35fr 1fr; } .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; } .hero-copy { padding: 28px 0 28px 24px; } .hero-panel h2 { font-size: 36px; } .hero-panel p br { display: none; } .dashboard-lower { grid-template-columns: 1fr; } .dashboard-right { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; } .quick-panel { margin-bottom: 22px; } .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .sidebar { position: static; width: auto; padding: 15px; } .brand { font-size: 11px; } .brand img { width: 38px; height: 38px; } .nav-label { display: none; } .sidebar nav { display: flex; overflow: auto; gap: 4px; margin-top: 16px; } .sidebar nav a { white-space: nowrap; flex-shrink: 0; margin: 0; padding: 9px 12px; font-size: 11px; gap: 6px; } .sidebar nav a span { font-size: 15px; width: 17px; } .sidebar-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding: 10px 4px 0; } .sidebar-bottom .ghost { padding: 5px 12px; font-size: 10px; } .workspace { margin: 0; } .main { padding: 24px 16px; } .topbar { height: 54px; padding: 0 17px; } .store-status { display: none; } .page-heading { margin-bottom: 22px; } .page-heading h1 { font-size: 34px; } .page-heading p { font-size: 11px; } .date { display: none; } .stats { gap: 11px; } .stat { padding: 15px; } .stat strong { font-size: 39px; } .stat small { font-size: 8px; } .hero-panel { grid-template-columns: 1fr; min-height: 315px; } .hero-art { position: absolute; inset: 0 0 0 30%; opacity: .35; } .hero-art > span { display: none; } .hero-art::after { background: linear-gradient(90deg, #16130f, #16130f22); } .hero-copy { padding: 29px 23px; } .hero-panel h2 { font-size: 40px; } .hero-panel p { max-width: 280px; } .hero-actions { flex-direction: row; align-items: center; gap: 16px; } .hero-actions > a:not(.button) { font-size: 9px; } .dashboard-right { grid-template-columns: 1fr; gap: 0; } .panel { padding: 20px; } .panel-heading { align-items: center; } .panel-heading h2 { font-size: 23px; } .panel-heading .button { padding: 9px 12px; font-size: 10px; } .editor { padding: 18px; } .inquiry summary { flex-wrap: wrap; gap: 10px; } .recent { gap: 10px; flex-wrap: wrap; } .admin-footer span { display: none; } .login-card { padding: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.banner-subtitle { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; max-width: 350px; white-space: normal; }
