:root {
  --ink: #191814;
  --paper: #f4f0e7;
  --paper-deep: #e9e2d5;
  --gold: #b5904c;
  --line: rgba(25, 24, 20, 0.16);
  --muted: #746f65;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--gold); font-size: 32px; line-height: 1; }
.brand strong { display: block; font: 600 24px/0.9 var(--font-display), serif; letter-spacing: .02em; }
.brand small { display: block; margin-top: 5px; font-size: 7px; letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.desktop-nav { display: flex; gap: 36px; font-size: 12px; letter-spacing: .05em; }
.desktop-nav a { opacity: .78; transition: opacity .2s; }
.desktop-nav a:hover { opacity: 1; }
.header-cta { border: 1px solid rgba(255,255,255,.5); padding: 12px 18px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.menu-button { display: none; color: white; background: transparent; border: 0; }

.hero { position: relative; min-height: 760px; height: 100vh; max-height: 950px; color: white; overflow: hidden; background: #171713; }
.hero > img { object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,7,.88) 0%, rgba(8,8,7,.6) 38%, rgba(8,8,7,.08) 72%), linear-gradient(0deg, rgba(8,8,7,.42), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: clamp(190px, 25vh, 245px); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #d0af6e; }
.hero h1, .page-hero h1, .detail-copy h1, .not-found h1 { margin: 22px 0; font: 500 clamp(58px, 7.2vw, 104px)/.82 var(--font-display), serif; letter-spacing: -.04em; }
h2 { font: 500 clamp(42px, 5vw, 68px)/.96 var(--font-display), serif; letter-spacing: -.035em; }
h2 em, h1 em { color: var(--gold); font-weight: 400; }
.hero p { max-width: 500px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 17px 22px; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #171713; background: #c5a15a; }
.button-dark { color: white; background: var(--ink); }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.45); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.light-link { border-bottom-color: rgba(255,255,255,.35); }
.hero-index { position: absolute; z-index: 2; left: 24px; bottom: 30px; display: flex; align-items: center; gap: 10px; font-size: 8px; transform: rotate(-90deg) translateY(100%); transform-origin: left bottom; }
.hero-index i { width: 60px; height: 1px; background: rgba(255,255,255,.4); }
.hero-caption { position: absolute; z-index: 2; right: 0; bottom: 0; width: 280px; padding: 24px 30px; background: rgba(15,15,13,.84); backdrop-filter: blur(8px); }
.hero-caption small, .hero-caption span { display: block; color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.hero-caption strong { display: block; margin: 7px 0; font: 500 25px var(--font-display), serif; }

.intro-section { padding: 130px 0; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .65fr 1.55fr .8fr; gap: 70px; }
.section-number { display: block; margin-top: 72px; color: #c9c0b0; font: 400 70px var(--font-display), serif; }
.intro-grid h2 { margin: 0 0 30px; }
.intro-grid p { max-width: 620px; margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.quote-block { align-self: end; padding-left: 28px; border-left: 1px solid var(--line); }
.giant-mark { color: var(--gold); font: 70px/.7 var(--font-display), serif; }
.quote-block blockquote { margin: 18px 0; font: italic 23px/1.35 var(--font-display), serif; }
.quote-block small { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.featured-section, .catalog-section { padding: 110px 0 130px; background: #eae4d9; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 52px; }
.section-heading h2 { margin: 16px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { min-width: 0; }
.product-image { position: relative; display: block; aspect-ratio: .78; overflow: hidden; background: #24221d; }
.product-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 35%); }
.product-image img { object-fit: cover; transition: transform .7s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.status { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 9px; color: white; background: rgba(21,21,18,.75); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.status-reservasi { background: #8d6d35; }
.status-terjual { background: #605d57; }
.card-number { position: absolute; z-index: 2; right: 15px; bottom: 12px; color: rgba(255,255,255,.65); font: 20px var(--font-display), serif; }
.product-content { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 13px; border-bottom: 1px solid var(--line); }
.product-meta { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-content h3 { margin: 4px 0 0; font: 500 28px var(--font-display), serif; }
.round-link { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.product-specs { display: flex; justify-content: space-between; padding-top: 12px; color: var(--muted); font-size: 9px; }
.product-specs strong { margin-left: 6px; color: var(--ink); font-weight: 600; }

.values-section { padding: 110px 0; }
.values-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .8fr); gap: 50px; }
.value-title > span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.value-title h2 { margin: 18px 0 0; font-size: 48px; }
.value-item { padding-top: 26px; border-top: 1px solid var(--line); }
.value-item > span { color: var(--gold); font: 20px var(--font-display), serif; }
.value-item h3 { margin: 35px 0 14px; font: 500 26px var(--font-display), serif; }
.value-item p { color: var(--muted); font-size: 11px; line-height: 1.8; }

.journal-section { background: #1a1916; color: white; }
.journal-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.journal-image { position: relative; min-height: 600px; overflow: hidden; }
.journal-image img { object-fit: cover; object-position: 78% center; filter: saturate(.65); }
.journal-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 90px clamp(48px, 8vw, 130px); background: radial-gradient(circle at top right, #312d24, #181714 62%); }
.journal-copy h2 { margin: 24px 0; }
.journal-copy p { max-width: 500px; margin: 0 0 32px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.9; }

.site-footer { padding: 75px 0 24px; color: rgba(255,255,255,.65); background: #11110f; font-size: 11px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; padding-bottom: 65px; }
.brand-light { color: white; }
.footer-lead p { max-width: 360px; margin-top: 24px; line-height: 1.8; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-label { margin-bottom: 8px; color: #b5904c; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; }

.page-hero { padding: 205px 0 90px; background: var(--paper); }
.page-hero h1 { max-width: 820px; margin: 25px 0; color: var(--ink); font-size: clamp(58px, 7vw, 90px); }
.page-hero p { max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.page-hero + .catalog-section { padding-top: 55px; }
.page-hero ~ * .site-header { color: var(--ink); }
body:has(.page-hero) .site-header, body:has(.detail-page) .site-header { position: absolute; color: var(--ink); border-bottom-color: var(--line); }
body:has(.page-hero) .header-cta, body:has(.detail-page) .header-cta { border-color: var(--line); }
body:has(.page-hero) .menu-button, body:has(.detail-page) .menu-button { color: var(--ink); }
.catalog-controls { display: grid; grid-template-columns: 1fr 220px; gap: 14px; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 17px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.search-box input { width: 100%; padding: 15px 0; background: transparent; border: 0; outline: 0; font-size: 12px; }
.catalog-controls select { padding: 0 15px; color: var(--ink); background: rgba(255,255,255,.55); border: 1px solid var(--line); font-size: 11px; }
.status-tabs { display: flex; align-items: center; gap: 26px; margin: 30px 0 42px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.status-tabs button { padding: 0 0 6px; color: var(--muted); background: transparent; border: 0; font-size: 10px; }
.status-tabs button.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.status-tabs > span { margin-left: auto; color: var(--muted); font-size: 9px; }
.catalog-section .product-grid { row-gap: 60px; }
.empty-state { padding: 100px 0; text-align: center; }
.empty-state > span { color: var(--gold); font-size: 40px; }
.empty-state h2 { margin: 20px 0 10px; font-size: 42px; }
.empty-state p { color: var(--muted); font-size: 12px; }

.detail-page { min-height: 100vh; padding: 145px 0 110px; background: var(--paper); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(45px, 7vw, 100px); align-items: start; }
.detail-visual { position: relative; min-height: 660px; background: #1f1e1a; overflow: hidden; }
.detail-visual img { object-fit: cover; }
.detail-visual small { position: absolute; bottom: 18px; right: 20px; padding: 7px 10px; color: white; background: rgba(0,0,0,.5); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.detail-copy { padding-top: 35px; }
.detail-copy h1 { margin: 10px 0 8px; font-size: clamp(58px, 6vw, 82px); }
.detail-subtitle { margin: 0; color: var(--muted); font: italic 21px var(--font-display), serif; }
.detail-price { margin: 32px 0; padding: 22px 0; border-block: 1px solid var(--line); font: 500 25px var(--font-display), serif; }
.detail-description { color: var(--muted); font-size: 12px; line-height: 1.9; }
.spec-list { margin: 32px 0; }
.spec-list div { display: grid; grid-template-columns: 110px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; }
.detail-cta { width: 100%; }
.detail-note { color: var(--muted); text-align: center; font-size: 8px; line-height: 1.6; }
.not-found { min-height: 75vh; padding-top: 200px; text-align: center; }
.not-found > span { color: var(--gold); font: 90px var(--font-display), serif; }
.not-found h1 { margin: 5px 0; font-size: 55px; }
.not-found p { margin-bottom: 30px; color: var(--muted); font-size: 12px; }

body:has(.admin-page) > main { min-height: 100vh; }
body:has(.admin-page) > .site-header,
body:has(.admin-page) > .site-footer { display: none; }
.admin-page { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #eee9df; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 24px; color: white; background: #191814; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand > span { display: grid; place-items: center; width: 40px; height: 40px; color: #171713; background: var(--gold); font: 700 14px var(--font-display), serif; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand strong { font: 600 20px var(--font-display), serif; }
.admin-brand small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 7px; letter-spacing: .17em; text-transform: uppercase; }
.admin-nav { display: flex; flex-direction: column; gap: 7px; margin-top: 32px; }
.admin-nav a { padding: 12px 14px; color: rgba(255,255,255,.58); border-left: 2px solid transparent; font-size: 11px; }
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,.06); border-left-color: var(--gold); }
.admin-sidebar-note { margin-top: auto; padding: 16px; background: rgba(255,255,255,.055); }
.admin-sidebar-note span { color: #d2ad66; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-sidebar-note p { margin: 8px 0 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.6; }
.admin-content { min-width: 0; }
.admin-topbar { min-height: 91px; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(24px, 4vw, 58px); background: rgba(244,240,231,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.admin-topbar p { margin: 0 0 3px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.admin-topbar h1 { margin: 0; font: 600 28px var(--font-display), serif; }
.admin-view-site { padding: 11px 15px; border: 1px solid var(--line); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-main { padding: clamp(28px, 4vw, 58px); }
.admin-welcome { display: grid; grid-template-columns: 1.5fr .7fr; gap: 45px; align-items: end; margin-bottom: 34px; }
.admin-kicker { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.admin-welcome h2 { max-width: 650px; margin: 12px 0 0; font-size: clamp(37px, 4vw, 55px); }
.admin-welcome p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.admin-stats article { padding: 22px; background: #f7f3eb; border: 1px solid var(--line); }
.admin-stats span, .admin-stats small { display: block; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.admin-stats strong { display: block; margin: 13px 0 9px; font: 500 42px var(--font-display), serif; }
.admin-panel { padding: 28px; background: #f7f3eb; border: 1px solid var(--line); }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.admin-panel-heading h2 { margin: 6px 0 0; font-size: 34px; }
.admin-add-action { padding: 12px 15px; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 11px 14px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.admin-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); font-size: 10px; vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { margin-bottom: 5px; font: 600 18px var(--font-display), serif; }
.admin-table td small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.admin-table td:last-child { text-align: right; }
.admin-table td:last-child a { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.admin-status { display: inline-block; padding: 7px 9px; color: #315f43; background: #dfede1; font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-status-reservasi { color: #735518; background: #f1e5c9; }
.admin-status-terjual { color: #605d57; background: #e4e1dc; }

@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .hero { min-height: 720px; max-height: 820px; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,8,7,.86), rgba(8,8,7,.3)), linear-gradient(0deg, rgba(8,8,7,.5), transparent); }
  .intro-grid { grid-template-columns: 1fr 2fr; }
  .quote-block { grid-column: 2; margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-title { grid-column: span 2; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-image { min-height: 470px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { min-height: 620px; }
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; width: 100%; height: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 24px; }
  .admin-brand { padding: 0; border: 0; }
  .admin-nav { flex-direction: row; margin: 0; }
  .admin-nav a { padding: 10px 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .admin-nav a:hover, .admin-nav a.active { border-left-color: transparent; border-bottom-color: var(--gold); }
  .admin-sidebar-note { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  .header-inner { height: 75px; }
  .hero { height: 820px; }
  .hero-content { padding-top: 185px; }
  .hero h1 { font-size: 58px; }
  .hero p { max-width: 88%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-caption { width: 220px; padding: 18px 22px; }
  .hero-index { display: none; }
  .intro-section, .featured-section, .values-section { padding: 80px 0; }
  .intro-grid { display: block; }
  .section-number { display: none; }
  .intro-grid h2 { margin-top: 30px; font-size: 45px; }
  .quote-block { margin-top: 55px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 25px; }
  .product-grid { grid-template-columns: 1fr; gap: 50px; }
  .values-grid { grid-template-columns: 1fr; gap: 35px; }
  .value-title { grid-column: auto; }
  .journal-image { min-height: 380px; }
  .journal-copy { padding: 75px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-hero { padding: 155px 0 65px; }
  .page-hero h1 { font-size: 53px; }
  .catalog-controls { grid-template-columns: 1fr; }
  .catalog-controls select { padding: 15px; }
  .status-tabs { gap: 16px; overflow-x: auto; }
  .status-tabs > span { display: none; }
  .detail-page { padding-top: 115px; }
  .detail-visual { min-height: 460px; }
  .admin-sidebar { grid-template-columns: 1fr; gap: 16px; padding: 16px 15px 0; }
  .admin-brand > span { width: 35px; height: 35px; }
  .admin-nav { overflow-x: auto; }
  .admin-nav a { white-space: nowrap; }
  .admin-topbar { min-height: 75px; padding: 15px; }
  .admin-main { padding: 26px 15px; }
  .admin-welcome { grid-template-columns: 1fr; gap: 14px; }
  .admin-welcome h2 { font-size: 38px; }
  .admin-stats { gap: 9px; }
  .admin-stats article { padding: 17px; }
  .admin-stats strong { font-size: 34px; }
  .admin-panel { padding: 20px 14px; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; }
}

/* Interactive mobile navigation */
.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .site-header.menu-open {
    color: white;
    background: rgba(17, 17, 15, .98);
    border-bottom-color: rgba(255, 255, 255, .12);
  }
  .site-header.menu-open .menu-button { color: white; }
  .mobile-nav {
    display: grid;
    grid-template-rows: 0fr;
    padding-inline: 24px;
    overflow: hidden;
    color: white;
    background: rgba(17, 17, 15, .98);
    opacity: 0;
    transition: grid-template-rows .25s ease, padding .25s ease, opacity .2s ease;
  }
  .mobile-nav > a {
    min-height: 0;
    padding: 0 4px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font: 500 22px var(--font-display), serif;
    transition: padding .25s ease;
  }
  .site-header.menu-open .mobile-nav {
    grid-template-rows: repeat(5, 1fr);
    padding-block: 8px 22px;
    opacity: 1;
  }
  .site-header.menu-open .mobile-nav > a { padding-block: 14px; }
}

/* Admin dashboard */
body:has(.admin-page) { background: #eeebe4; }
.admin-page {
  grid-template-columns: 264px minmax(0, 1fr);
  background:
    radial-gradient(circle at 85% 0%, rgba(181, 144, 76, .09), transparent 28%),
    #eeebe4;
}
.admin-sidebar {
  padding: 28px 20px 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(181, 144, 76, .17), transparent 30%),
    #171714;
}
.admin-brand { padding: 0 7px 27px; }
.admin-brand > span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(181, 144, 76, .16);
}
.admin-brand strong { font-size: 19px; }
.admin-nav-group { margin-top: 32px; }
.admin-nav-group > span {
  display: block;
  margin: 0 13px 11px;
  color: rgba(255, 255, 255, .3);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.admin-nav { margin-top: 0; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
}
.admin-nav a svg { width: 17px; height: 17px; }
.admin-nav a:hover, .admin-nav a.active {
  border: 0;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.admin-nav a.active { color: #e1bd73; }
.admin-sidebar-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
}
.admin-sidebar-note strong {
  color: rgba(255, 255, 255, .83);
  font-size: 9px;
}
.admin-live-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  background: #78a980;
  border: 2px solid rgba(120, 169, 128, .25);
  border-radius: 50%;
  box-sizing: content-box;
}
.admin-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 82px;
  padding: 15px clamp(24px, 3.5vw, 54px);
  background: rgba(246, 243, 236, .82);
}
.admin-topbar h1 { font-size: 25px; }
.admin-topbar-actions { display: flex; align-items: center; gap: 18px; }
.admin-date { color: var(--muted); font-size: 9px; }
.admin-view-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .45);
}
.admin-view-site svg { width: 13px; height: 13px; }
.admin-topbar-actions form { margin: 0; }
.admin-logout {
  padding: 10px 13px;
  color: #8b3f35;
  background: #f3e5e2;
  border: 0;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-main { padding: clamp(30px, 4vw, 54px); }
.admin-welcome {
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  margin-bottom: 30px;
}
.admin-welcome h2 {
  max-width: 760px;
  font-size: clamp(38px, 4vw, 58px);
}
.admin-welcome p { max-width: 390px; }
.admin-stats {
  gap: 12px;
  margin-bottom: 18px;
}
.admin-stats article {
  display: flex;
  gap: 15px;
  min-width: 0;
  padding: 19px;
  background: rgba(250, 248, 243, .84);
  border-radius: 12px;
  box-shadow: 0 9px 30px rgba(34, 31, 25, .035);
}
.admin-stat-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
}
.admin-stat-icon svg { width: 17px; height: 17px; }
.admin-stat-icon-gold { color: #7f612b; background: #f0e4cb; }
.admin-stat-icon-green { color: #3e6747; background: #dfebdf; }
.admin-stat-icon-amber { color: #815e21; background: #f1e5cc; }
.admin-stat-icon-slate { color: #535b60; background: #e2e6e7; }
.admin-stats article > div { min-width: 0; }
.admin-stats strong {
  margin: 6px 0 3px;
  font: 600 34px/1 var(--font-display), serif;
}
.admin-stats .admin-stat-price {
  overflow: hidden;
  font-family: var(--font-sans), sans-serif;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}
.admin-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 18px;
  margin-bottom: 18px;
}
.admin-chart-card, .admin-priority-card {
  min-width: 0;
  padding: 24px;
  background: rgba(250, 248, 243, .84);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.admin-card-heading h3 {
  margin: 5px 0 0;
  font: 600 25px var(--font-display), serif;
}
.admin-card-heading > span {
  color: var(--muted);
  font-size: 8px;
}
.admin-chart {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  min-height: 190px;
  padding-top: 18px;
}
.admin-donut {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 142px;
  height: 142px;
  border-radius: 50%;
}
.admin-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 92px;
  height: 92px;
  background: #faf8f3;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(25, 24, 20, .04);
}
.admin-donut span {
  z-index: 1;
  grid-area: 1 / 1;
  color: var(--muted);
  text-align: center;
  font-size: 8px;
}
.admin-donut strong {
  display: block;
  color: var(--ink);
  font: 600 30px/1 var(--font-display), serif;
}
.admin-legend { width: min(180px, 100%); }
.admin-legend > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}
.admin-legend > div:last-child { border-bottom: 0; }
.admin-legend strong { color: var(--ink); }
.admin-legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.admin-legend-dot.green { background: #51765c; }
.admin-legend-dot.amber { background: #c2923f; }
.admin-legend-dot.slate { background: #8c8982; }
.admin-priority-list { margin-top: 18px; }
.admin-priority-list > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-priority-list > div:last-child { border-bottom: 0; }
.admin-priority-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #866728;
  background: #eee3ce;
  border-radius: 8px;
  font: 600 10px var(--font-display), serif;
}
.admin-priority-list strong { font-size: 10px; }
.admin-priority-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}
.admin-priority-list a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.admin-priority-list a svg { width: 13px; height: 13px; }
.admin-panel {
  padding: 26px;
  background: rgba(250, 248, 243, .9);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(34, 31, 25, .035);
}
.admin-panel-heading { margin-bottom: 22px; }
.admin-panel-heading h2 { font-size: 32px; }
.admin-panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 8px;
}
.admin-add-action {
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%);
  padding: 0 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.admin-search svg { width: 15px; height: 15px; color: var(--muted); }
.admin-search input {
  width: 100%;
  padding: 11px 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 9px;
}
.admin-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: #eae6de;
  border-radius: 8px;
}
.admin-filter-tabs button {
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 8px;
}
.admin-filter-tabs button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 9px rgba(25, 24, 20, .08);
}
.admin-table { min-width: 800px; }
.admin-table th { padding: 11px 10px; }
.admin-table td { padding: 14px 10px; }
.admin-product-cell { display: flex; align-items: center; gap: 12px; }
.admin-product-thumb {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 39px;
  height: 44px;
  color: rgba(255, 255, 255, .78);
  background:
    linear-gradient(145deg, rgba(181, 144, 76, .2), transparent),
    #292721;
  border-radius: 6px;
  font: 500 11px var(--font-display), serif;
}
.admin-table td strong { font-size: 16px; }
.admin-table-price {
  margin: 0 0 4px !important;
  font-family: var(--font-sans), sans-serif !important;
  font-size: 9px !important;
}
.admin-status { border-radius: 999px; }
.admin-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.admin-row-actions button,
.admin-row-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.admin-row-actions a { border-bottom: 1px solid var(--line) !important; }
.admin-row-actions button.danger { color: #994c42; }
.admin-row-actions button:disabled { opacity: .45; cursor: wait; }
.admin-row-actions a svg { width: 12px; height: 12px; }
.admin-empty {
  display: grid;
  justify-items: center;
  padding: 65px 20px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}
.admin-empty > svg { width: 28px; height: 28px; margin-bottom: 15px; }
.admin-empty strong { color: var(--ink); font: 600 22px var(--font-display), serif; }
.admin-empty p { margin: 6px 0 16px; font-size: 9px; }
.admin-empty button {
  padding: 9px 13px;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  font-size: 8px;
}

.admin-editor {
  width: min(820px, calc(100% - 30px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: var(--ink);
  background: #f8f5ee;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}
.admin-editor::backdrop {
  background: rgba(16, 16, 14, .68);
  backdrop-filter: blur(4px);
}
.admin-editor > form { padding: 28px; }
.admin-editor header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.admin-editor h2 { margin: 5px 0 0; font-size: 34px; }
.admin-editor-close {
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form-grid label { display: grid; gap: 7px; }
.admin-form-grid label > span,
.admin-login-form label > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-login-form input {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  font-size: 10px;
}
.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus,
.admin-login-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 144, 76, .11);
}
.admin-form-grid textarea { resize: vertical; }
.admin-form-grid label small { color: var(--muted); font-size: 8px; }
.admin-form-wide { grid-column: 1 / -1; }
.admin-form-grid .admin-checkbox {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 9px;
}
.admin-checkbox input { width: 16px; height: 16px; }
.admin-checkbox span { color: var(--ink) !important; text-transform: none !important; }
.admin-editor footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.admin-primary-button,
.admin-secondary-button {
  padding: 11px 16px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
}
.admin-primary-button { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.admin-secondary-button { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.admin-primary-button:disabled { opacity: .5; cursor: wait; }
.admin-form-error,
.admin-form-success {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 9px;
}
.admin-form-error { color: #8d3d35; background: #f4e4e1; }
.admin-form-success { color: #386343; background: #e1eee3; }

.admin-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px 15px;
  background:
    radial-gradient(circle at 70% 10%, rgba(181, 144, 76, .16), transparent 32%),
    #171714;
}
.admin-login-card {
  width: min(430px, 100%);
  padding: clamp(30px, 5vw, 48px);
  background: #f7f3eb;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.admin-login-brand { margin-bottom: 30px; }
.admin-login-brand span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #171714;
  background: var(--gold);
  border-radius: 10px;
  font: 700 15px var(--font-display), serif;
}
.admin-login-card h1 {
  margin: 10px 0;
  font: 600 43px/.95 var(--font-display), serif;
}
.admin-login-card > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.admin-login-form { display: grid; gap: 16px; }
.admin-login-form label { display: grid; gap: 7px; }
.admin-login-form button {
  padding: 13px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-login-form button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 1100px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 14px 24px;
  }
  .admin-brand { padding: 0; border: 0; }
  .admin-nav-group { margin: 0; }
  .admin-nav-group > span { display: none; }
  .admin-nav { flex-direction: row; }
  .admin-nav a { padding: 10px 11px; }
  .admin-nav a:hover, .admin-nav a.active { border: 0; }
  .admin-sidebar-note { display: none; }
  .admin-insights { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .admin-sidebar {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px 15px 10px;
  }
  .admin-nav { width: 100%; overflow-x: auto; }
  .admin-nav a { flex: 1 0 auto; justify-content: center; }
  .admin-nav a svg { width: 15px; height: 15px; }
  .admin-topbar { min-height: 70px; padding: 13px 15px; }
  .admin-date { display: none; }
  .admin-view-site { font-size: 0; }
  .admin-view-site svg { width: 16px; height: 16px; }
  .admin-main { padding: 25px 15px 40px; }
  .admin-welcome { grid-template-columns: 1fr; gap: 12px; }
  .admin-welcome h2 { font-size: 39px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article { display: block; padding: 15px; }
  .admin-stat-icon { margin-bottom: 14px; }
  .admin-stats strong { font-size: 30px; }
  .admin-stats .admin-stat-price {
    min-height: 46px;
    font-size: 13px;
    white-space: normal;
  }
  .admin-chart-card, .admin-priority-card { padding: 20px 17px; }
  .admin-chart { flex-direction: column; }
  .admin-legend { width: 100%; }
  .admin-panel { padding: 20px 14px; }
  .admin-panel-heading { flex-direction: row; align-items: center; }
  .admin-add-action { flex: 0 0 auto; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-search { width: 100%; }
  .admin-filter-tabs { overflow-x: auto; }
  .admin-filter-tabs button { flex: 1 0 auto; }
  .admin-table { min-width: 0; }
  .admin-table thead { display: none; }
  .admin-table tbody { display: grid; gap: 10px; }
  .admin-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
  }
  .admin-table td {
    display: block;
    padding: 9px 0;
    border: 0;
  }
  .admin-table td:first-child {
    grid-column: 1 / -1;
    padding-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .admin-table td:nth-child(4) { text-align: right; }
  .admin-table td:last-child {
    grid-column: 1 / -1;
    padding: 5px 0 0;
    text-align: left;
  }
  .admin-table td:last-child a {
    justify-content: center;
  }
  .admin-table td:last-child a span { display: inline; }
  .admin-row-actions { justify-content: stretch; }
  .admin-row-actions > * { flex: 1; justify-content: center; }
  .admin-editor > form { padding: 22px 16px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-wide, .admin-form-grid .admin-checkbox { grid-column: auto; }
}
