/* ==========================================================================
   Batter N Bottle by Bess — Design System
   Palette: paper/ivory ground, deep bottle green, warm batter gold, olive-lime pop
   Type: Fraunces (display) + Inter (body/utility)
   Signature: bottle-label ticket cards + hand-drawn pour-line divider
   ========================================================================== */

:root{
  --paper:        #FBF7EF;
  --paper-warm:   #F1E9D8;
  --ink:          #241F1A;
  --ink-soft:     #6B6152;
  --bottle:       #1E3D2E;
  --bottle-dark:  #142A1F;
  --bottle-tint:  #E4EBE3;
  --batter:       #C6A15B;
  --batter-light: #EADFC2;
  --citrus:       #8B9A2B;
  --line:         rgba(36,31,26,0.14);
  --line-soft:    rgba(36,31,26,0.08);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
  --radius: 2px;
}

.hidden{ display: none !important; }

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow{
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bottle);
}
.eyebrow.on-dark{ color: var(--batter-light); }

.lede{
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}

.pull-quote{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.4;
  color: var(--bottle);
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--bottle);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--bottle-dark); }

.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--paper); }

.btn-outline.on-dark{ color: var(--paper); border-color: rgba(251,247,239,0.5); }
.btn-outline.on-dark:hover{ background: var(--paper); color: var(--bottle-dark); }

.btn svg{ width: 16px; height: 16px; }

/* ---------- Nav ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,239,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.wordmark{
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark em{
  font-style: italic;
  font-weight: 400;
  color: var(--batter);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  color: var(--bottle);
  border-color: var(--batter);
}

.nav-actions{ display: flex; align-items: center; gap: 18px; }
.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px){
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open{ max-height: 320px; }
  .nav-links li{ width: 100%; }
  .nav-links a{ display: block; padding: 16px 32px; border-bottom: 1px solid var(--line-soft); width: 100%; }
  .nav-toggle{ display: block; }
  .nav-actions .btn-primary{ padding: 10px 16px; font-size: 12px; }
}

/* ---------- Pour-line signature divider ---------- */

.pour-divider{
  display: block;
  width: 100%;
  height: 64px;
  margin: 0 auto;
}
.pour-divider path{
  fill: none;
  stroke: var(--batter);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 820;
  stroke-dashoffset: 820;
  animation: draw 1.8s ease forwards 0.2s;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */

.hero{
  padding: 84px 0 24px;
}
.hero-inner{
  display: grid;
  gap: 28px;
  max-width: 760px;
}
.hero h1{
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.98;
}
.hero h1 .sub{
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--batter);
  margin-top: 10px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* ---------- Sections ---------- */

section{ padding: 76px 0; }
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2{ font-size: clamp(30px, 4vw, 42px); margin-top: 10px; }

.on-bottle{ background: var(--bottle); color: var(--paper); }
.on-bottle .lede{ color: rgba(251,247,239,0.78); }
.on-bottle h2{ color: var(--paper); }

.on-warm{ background: var(--paper-warm); }

/* ---------- Two-up kitchen intro ---------- */

.kitchens{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px){ .kitchens{ grid-template-columns: 1fr; } }

.kitchen-card{
  border: 1px solid var(--line);
  padding: 40px 34px;
  background: var(--paper);
}
.kitchen-card .icon{ width: 40px; height: 40px; color: var(--bottle); margin-bottom: 20px; }
.kitchen-card h3{ font-size: 26px; margin-bottom: 10px; }
.kitchen-card p{ color: var(--ink-soft); margin: 0 0 18px; }
.kitchen-card a{ font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bottle); border-bottom: 1px solid var(--batter); padding-bottom: 2px; }

/* ---------- Label-card (signature component) ---------- */

.label-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px){ .label-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .label-grid{ grid-template-columns: 1fr; } }

.label-card{
  position: relative;
  border: 1px solid var(--ink);
  padding: 26px 22px 22px;
  background: var(--paper);
}
.label-card .thumb{
  width: calc(100% + 44px);
  margin: -26px -22px 18px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 1px solid var(--ink);
  background: var(--bottle-tint);
}
.label-card .thumb.placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--batter);
}
.label-card .thumb.placeholder svg{ width: 34px; height: 34px; }
.label-card .skeleton{ opacity: 0.5; }
.menu-loading, .menu-empty{
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  border: 1px dashed var(--line);
}
.label-card::before{
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.label-card .tag{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bottle);
  background: var(--bottle-tint);
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: 14px;
}
.label-card h4{
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 8px;
}
.label-card p{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  min-height: 42px;
}
.label-card .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.label-card .price{ font-family: var(--serif); font-size: 17px; color: var(--ink); }
.label-card .note{ font-size: 11px; color: var(--ink-soft); letter-spacing: 0.03em; }

/* ---------- Story / about ---------- */

.story{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px){ .story{ grid-template-columns: 1fr; } }

.story figure{
  margin: 0;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 30% 25%, var(--batter-light), transparent 55%),
    linear-gradient(160deg, var(--bottle-tint), var(--paper-warm));
  display: flex;
  align-items: center;
  justify-content: center;
}
.story figure svg{ width: 46%; color: var(--bottle); }

/* ---------- Process sequence (real order = numbering justified) ---------- */

.process{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 800px){ .process{ grid-template-columns: 1fr; } }
.process-step .num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--batter);
  display: block;
  margin-bottom: 10px;
}
.process-step h4{ font-size: 20px; margin-bottom: 8px; }
.process-step p{ color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- Visit strip ---------- */

.visit-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
@media (max-width: 800px){ .visit-strip{ grid-template-columns: 1fr; } }
.visit-strip h4{ font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 10px; font-family: var(--sans); font-weight: 700; }
.visit-strip p{ margin: 0; font-size: 15px; }

/* ---------- Contact page ---------- */

.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
@media (max-width: 800px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-block{
  border: 1px solid var(--line);
  padding: 34px;
  margin-bottom: 22px;
}
.contact-block h4{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-family: var(--sans); font-weight: 700; margin-bottom: 12px; }
.contact-block .big-link{ font-family: var(--serif); font-size: 26px; color: var(--bottle); }
.contact-block .big-link:hover{ color: var(--bottle-dark); }

.hours-table{ width: 100%; border-collapse: collapse; }
.hours-table td{ padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.hours-table td:last-child{ text-align: right; color: var(--ink-soft); }

.map-plate{
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--bottle-tint), var(--paper-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.map-plate p{ font-family: var(--serif); font-style: italic; color: var(--bottle); font-size: 18px; margin: 12px 0 0; }
.map-plate svg{ width: 34px; color: var(--bottle); }

/* ---------- Menu page ---------- */

.menu-note{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 60px 0 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.menu-note p{ margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 32ch; }
.menu-note strong{ color: var(--ink); }

/* ---------- Footer ---------- */

footer{
  background: var(--bottle-dark);
  color: rgba(251,247,239,0.72);
  padding: 60px 0 30px;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251,247,239,0.14);
}
.footer-top .wordmark{ color: var(--paper); }
.footer-cols{ display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--batter-light); margin: 0 0 14px; font-family: var(--sans); }
.footer-col a, .footer-col p{ display: block; font-size: 14px; margin: 0 0 8px; color: rgba(251,247,239,0.72); }
.footer-col a:hover{ color: var(--paper); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(251,247,239,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (menu/about/contact) ---------- */

.page-header{ padding: 64px 0 20px; }
.page-header h1{ font-size: clamp(40px, 6vw, 60px); margin-top: 10px; }
.page-header .lede{ margin-top: 18px; }

/* ---------- Admin: login ---------- */

.admin-login{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card{
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--ink);
  padding: 40px 34px;
  background: var(--paper);
}
.admin-login-card .wordmark{ display: block; margin-bottom: 6px; }
.admin-login-card .eyebrow{ margin-bottom: 28px; display: block; }

.field{ margin-bottom: 18px; }
.field label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select{
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  border-color: var(--bottle);
}
.field textarea{ resize: vertical; min-height: 80px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error{
  color: #A3402E;
  font-size: 13.5px;
  margin: -6px 0 16px;
  min-height: 1em;
}

.btn-block{ width: 100%; justify-content: center; }
.btn-sm{ padding: 8px 14px; font-size: 12.5px; }
.btn-danger{ background: transparent; color: #A3402E; border-color: #A3402E; }
.btn-danger:hover{ background: #A3402E; color: var(--paper); }

/* ---------- Admin: shell ---------- */

.admin-shell{ min-height: 100vh; }
.admin-topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-main{ max-width: var(--max); margin: 0 auto; padding: 44px 32px 100px; }

.admin-tabs{ display: flex; gap: 10px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.admin-tab{
  padding: 12px 4px;
  margin-right: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.admin-tab.active{ color: var(--bottle); border-bottom-color: var(--batter); }

.admin-toolbar{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }

.admin-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.item-card{
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.item-card .thumb-wrap{
  aspect-ratio: 4/3;
  background: var(--bottle-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.item-card .thumb-wrap img{ width: 100%; height: 100%; object-fit: cover; }
.item-card .thumb-wrap svg{ width: 30px; height: 30px; color: var(--batter); }
.item-card .item-body{ padding: 16px 16px 14px; flex: 1; display: flex; flex-direction: column; }
.item-card .item-top{ display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.item-card h4{ font-style: italic; font-size: 18px; margin-bottom: 4px; }
.item-card .item-price{ font-family: var(--serif); font-size: 15px; white-space: nowrap; }
.item-card .item-desc{ font-size: 13px; color: var(--ink-soft); margin: 6px 0 12px; flex: 1; }
.item-card .item-actions{ display: flex; gap: 8px; margin-top: auto; }
.item-card .status-dot{ width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-dot.active{ background: var(--citrus); }
.status-dot.inactive{ background: var(--ink-soft); }
.item-card .item-status{ font-size: 11px; color: var(--ink-soft); display: flex; align-items: center; margin-bottom: 6px; }

/* ---------- Admin: modal ---------- */

.modal-backdrop{
  position: fixed; inset: 0;
  background: rgba(20,42,31,0.45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 100;
}
.modal-backdrop.hidden{ display: none; }
.modal{
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 34px;
}
.modal h3{ font-size: 24px; margin-bottom: 22px; }
.modal-actions{ display: flex; gap: 12px; margin-top: 26px; }

.image-picker{
  border: 1px dashed var(--line);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.image-picker .preview{
  width: 64px; height: 64px;
  background: var(--bottle-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.image-picker .preview img{ width: 100%; height: 100%; object-fit: cover; }
.image-picker .preview svg{ width: 24px; height: 24px; color: var(--batter); }

.checkbox-row{ display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.checkbox-row input{ width: auto; }
.checkbox-row label{ margin: 0; text-transform: none; font-size: 14px; letter-spacing: 0; color: var(--ink); }

/* ---------- Admin: toast ---------- */

.toast{
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  font-size: 14px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.show{ opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error{ background: #A3402E; }

/* ---------- Reveal on scroll ---------- */

.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Admin / Menu Manager
   ========================================================================== */

.admin-main{ padding-bottom: 100px; }

.login-wrap{
  display: flex;
  justify-content: center;
  padding: 90px 0;
}
.login-card{
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line);
  padding: 40px 36px;
  background: var(--paper);
}

.field{ margin-bottom: 18px; }
.field label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea{
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}
.field textarea{ resize: vertical; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-checkbox label{
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.field-checkbox input{ width: auto; }

.form-error{
  color: #a3392c;
  font-size: 13.5px;
  margin: -6px 0 14px;
}

.filter-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-tab{
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-tab.active{ background: var(--bottle); color: var(--paper); border-color: var(--bottle); }

.admin-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px){ .admin-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .admin-grid{ grid-template-columns: 1fr; } }

.admin-item{
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.admin-item .thumb{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bottle-tint);
  display: block;
}
.admin-item .thumb-empty{
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 12px;
}
.admin-item .body{ padding: 16px; }
.admin-item .cat-badge{
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bottle-tint);
  color: var(--bottle);
  margin-bottom: 8px;
}
.admin-item .featured-badge{
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--batter-light);
  color: #6b4f1a;
  margin-bottom: 8px;
  margin-left: 6px;
}
.admin-item h4{ font-style: italic; font-size: 19px; margin-bottom: 6px; }
.admin-item .meta{ font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.admin-item .actions{ display: flex; gap: 10px; }
.admin-item .actions button{
  flex: 1;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.admin-item .actions .delete-btn:hover{ background: #a3392c; color: var(--paper); border-color: #a3392c; }
.admin-item .actions .edit-btn:hover{ background: var(--ink); color: var(--paper); }

.form-overlay{
  position: fixed;
  inset: 0;
  background: rgba(20,42,31,0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  z-index: 100;
}
.form-panel{
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 32px;
}
.form-actions{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
