:root {
  --black: #1A1A1A;
  --gold: #C8A96E;
  --gold-light: #E6CC8F;
  --gold-dark: #9C7840;
  --cream: #F6F1E7;
  --white: #FFFFFF;
  --ink: #26221c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a { color: inherit; }
h1, h2, h3 { font-family: "Bowlby One", Impact, "Arial Black", sans-serif; letter-spacing: .02em; }
.script { font-family: "Yellowtail", cursive; color: var(--gold); }

/* Header: black and gold badge bar */
.badge-bar {
  background: var(--black);
  border-top: 4px solid var(--gold);
  color: var(--white);
  padding: 14px 16px 18px;
}
.badge-bar-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.badge-bar .logo { width: 190px; max-width: 44vw; height: auto; padding: 10px; }
.badge-bar .shop-name {
  margin: 0; font-size: clamp(26px, 5vw, 44px); color: var(--white);
  text-shadow: 2px 2px 0 var(--gold-dark); text-transform: uppercase; line-height: 1.05;
}
.badge-bar .welcome { font-size: 26px; margin: 0 0 2px; }
.badge-bar .address {
  color: var(--gold); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 600; margin-top: 6px;
}
.badge-bar .hours { color: #ddd6c6; font-size: 13px; margin-top: 4px; }
.hero { max-width: 1080px; margin: 0 auto; padding: 22px 16px 4px; }
.hero .hero-line { font-size: clamp(22px, 4vw, 34px); margin: 0; color: var(--black); }
.hero .hero-sub { font-size: 17px; margin: 6px 0 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }

/* Toolbar: search, category rail, pickup or delivery toggle */
.toolbar { position: sticky; top: 0; background: var(--cream); padding: 12px 0 8px; z-index: 5; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-row input[type="search"] {
  flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--gold);
  border-radius: 8px; font: inherit; background: var(--white);
}
.toggle { display: inline-flex; border: 1px solid var(--gold); border-radius: 999px; overflow: hidden; }
.toggle button {
  border: 0; background: var(--white); padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer;
}
.toggle button.active { background: var(--black); color: var(--gold-light); }
.cart-link {
  margin-left: auto; font-weight: 600; text-decoration: none; background: var(--black);
  color: var(--white); padding: 9px 14px; border-radius: 999px;
}
.cart-link .count { color: var(--gold-light); }
.rail { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; }
.rail a {
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px;
  border: 1px solid var(--gold); border-radius: 999px; padding: 6px 12px; background: var(--white);
}

/* Menu */
.category-title {
  border-bottom: 2px solid var(--gold); padding-bottom: 4px; margin: 26px 0 12px;
  text-transform: uppercase; font-size: 20px; color: var(--black);
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.card {
  background: var(--white); border: 1px solid #e4dcc8; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card img, .card .no-photo { width: 100%; height: 130px; object-fit: cover; display: block; }
.no-photo {
  background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: "Bowlby One", Impact, sans-serif; font-size: 30px;
}
.card .card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 600; text-decoration: none; }
.card .desc { font-size: 13px; color: #6d675a; }
.card .price { font-weight: 600; margin-top: auto; }
.card .sold-out { color: #a33; font-weight: 600; font-size: 13px; }
.stepper { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--black); color: var(--white); font-size: 17px; cursor: pointer; line-height: 1;
}
.stepper .qty { min-width: 52px; text-align: center; font-weight: 600; }
.add-btn {
  margin-top: 8px; background: var(--black); color: var(--white); border: 0; border-radius: 8px;
  padding: 9px 12px; font: inherit; font-weight: 600; cursor: pointer;
}
.add-btn:hover { background: #000; }

/* Item page */
.item-layout { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .item-layout { grid-template-columns: 1fr 1fr; } }
.item-photo img, .item-photo .no-photo { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 10px; }
.option-group { margin: 16px 0; }
.option-group .opt-label { font-weight: 600; margin-bottom: 8px; }
.opt-row {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: var(--white); border: 1px solid #e4dcc8; border-radius: 8px;
  padding: 11px 14px; margin-bottom: 8px; font: inherit; cursor: pointer; text-align: left;
}
.opt-row.selected { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); font-weight: 600; }
.opt-row .check { visibility: hidden; font-weight: 700; }
.opt-row.selected .check { visibility: visible; }
.grams-input { display: flex; align-items: center; gap: 10px; }
.grams-input input { width: 110px; padding: 9px; font: inherit; border: 1px solid var(--gold); border-radius: 8px; }
.sticky-bar {
  position: sticky; bottom: 0; background: var(--black); color: var(--white);
  padding: 12px 16px; margin: 22px -16px -40px; display: flex; justify-content: space-between; align-items: center;
}
.sticky-bar button {
  background: var(--gold); color: var(--black); border: 0; border-radius: 8px;
  padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer;
}
.fbt { margin-top: 30px; }

/* Forms, checkout, counter */
.panel { background: var(--white); border: 1px solid #e4dcc8; border-radius: 10px; padding: 16px; margin: 16px 0; }
.panel h2, .panel h3 { margin-top: 0; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input[type="text"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 10px; font: inherit; border: 1px solid var(--gold); border-radius: 8px; background: var(--white);
}
table.lines { width: 100%; border-collapse: collapse; }
table.lines td, table.lines th { padding: 7px 6px; border-bottom: 1px solid #eee5cf; text-align: left; vertical-align: top; }
table.lines td.num, table.lines th.num { text-align: right; }
.totals { margin-left: auto; max-width: 320px; width: 100%; }
.totals td { padding: 5px 6px; }
.totals .grand { font-weight: 700; font-size: 18px; }
.btn {
  background: var(--black); color: var(--white); border: 0; border-radius: 8px;
  padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn.gold { background: var(--gold); color: var(--black); }
.btn.small { padding: 7px 12px; font-size: 14px; }
.notice { background: #fdf6df; border: 1px solid var(--gold); border-radius: 8px; padding: 10px 14px; margin: 14px 0; }
.error { background: #fbe9e7; border: 1px solid #c96a5e; border-radius: 8px; padding: 10px 14px; margin: 14px 0; }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--black); color: var(--gold-light); font-size: 13px; font-weight: 600; }
.muted { color: #6d675a; font-size: 14px; }

/* About and footer */
.about { border-top: 2px solid var(--gold); margin-top: 34px; padding-top: 18px; display: grid; gap: 16px; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 1fr; align-items: center; } }
.about img { width: 100%; border-radius: 10px; }
footer.badge-bar { margin-top: 0; }
footer .footer-line { max-width: 1080px; margin: 0 auto; font-size: 14px; color: #ddd6c6; }
footer .footer-line strong { color: var(--white); }
