/* ==========================================================================
   Customer website — warm espresso / cream / terracotta
   ========================================================================== */
:root {
  --espresso: #2b1d16;
  --espresso-2: #3b2a21;
  --cream: #f7f1e8;
  --cream-2: #efe5d6;
  --paper: #fffdf9;
  --brand: #b5562f;
  --brand-dark: #964524;
  --sage: #5f7a52;
  --ink: #2b211c;
  --muted: #7a6a5f;
  --line: #e7dccd;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43,29,22,.06), 0 8px 24px rgba(43,29,22,.06);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand-name { font-family: var(--font-display); letter-spacing: -.01em; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
.text-brand { color: var(--brand) !important; }
.text-cream-muted { color: rgba(247,241,232,.7); }

.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-cream { border: 1px solid rgba(247,241,232,.5); color: var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--espresso); }

/* Nav */
.site-nav { background: rgba(247,241,232,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; }
.site-nav .nav-link.active { color: var(--brand); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--espresso); color: var(--cream); display: inline-grid; place-items: center; font-size: 18px; }
.brand-name { font-size: 1.3rem; font-weight: 700; color: var(--espresso); }

/* Hero */
.hero { background: var(--espresso); color: var(--cream); padding: 64px 0 72px; overflow: hidden; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.02; margin: 18px 0 14px; color: #fff; }
.hero-lead { font-size: 1.2rem; color: rgba(247,241,232,.78); max-width: 32rem; margin-bottom: 28px; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.08); }
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #8fbf7f; box-shadow: 0 0 0 4px rgba(143,191,127,.2); }
.hero-status.closed .dot { background: #d98c6b; box-shadow: 0 0 0 4px rgba(217,140,107,.2); }
.hero-note { background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px 16px; color: var(--cream); }
.hero-collage { position: relative; height: 420px; }
.hero-collage .hc { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hc-0 { width: 62%; height: 78%; right: 0; top: 0; }
.hc-1 { width: 44%; height: 52%; left: 4%; bottom: 0; border: 6px solid var(--espresso); }
.hc-2 { width: 30%; height: 34%; left: 18%; top: 4%; border: 6px solid var(--espresso); }
.hero-cup { height: 100%; display: grid; place-items: center; font-size: 160px; color: rgba(247,241,232,.15); }

/* Sections */
.section { padding: 48px 0; }
.section-tint { background: var(--cream-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 1.8rem; margin: 0; }
.section-head a { text-decoration: none; font-weight: 500; white-space: nowrap; }

.cat-scroller { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 auto; width: 112px; text-align: center; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.cat-icon { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); font-size: 36px; color: var(--brand); overflow: hidden; transition: transform .15s; }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile:hover .cat-icon { transform: translateY(-2px); }
.cat-name { display: block; margin-top: 8px; font-weight: 500; font-size: .95rem; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
@media (max-width: 575px) { .product-grid { grid-template-columns: 1fr; gap: 12px; } }
.product-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; outline: none; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(43,29,22,.08), 0 14px 32px rgba(43,29,22,.1); }
.product-card:focus-visible { box-shadow: 0 0 0 3px rgba(181,86,47,.4); }
.product-media { position: relative; aspect-ratio: 4/3; background: var(--cream-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media-empty { width: 100%; height: 100%; display: grid; place-items: center; font-size: 46px; color: #cdb9a3; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pbadge { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--ink); }
.pbadge.sale { background: var(--brand); color: #fff; }
.pbadge.special { background: var(--espresso); color: var(--cream); }
.product-unavailable { position: absolute; inset: auto 0 0 0; background: rgba(43,29,22,.82); color: #fff; font-size: .82rem; font-weight: 500; padding: 6px 12px; }
.product-card.is-unavailable .product-media img { filter: grayscale(.7); opacity: .8; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.12rem; margin: 0 0 4px; font-weight: 600; }
.product-desc { color: var(--muted); font-size: .9rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; font-size: 1.05rem; }
.price s { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.product-more { width: 34px; height: 34px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; }
@media (max-width: 575px) {
  .product-card { flex-direction: row; }
  .product-media { width: 112px; min-width: 112px; aspect-ratio: auto; }
  .product-badges { top: 6px; left: 6px; }
  .product-badges .pbadge:not(.sale) { display: none; }
  .product-unavailable { font-size: .7rem; padding: 4px 6px; }
}

.diet-tag { display: inline-block; font-size: .65rem; font-weight: 700; padding: 2px 5px; border-radius: 4px; line-height: 1.2; vertical-align: middle; }
.diet-tag.veg { background: #e6efdf; color: var(--sage); }
.diet-tag.vegan { background: var(--sage); color: #fff; }

/* Menu page */
.menu-hero { background: var(--espresso); color: var(--cream); padding: 40px 0 28px; }
.menu-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.menu-search { position: relative; max-width: 540px; }
.menu-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.menu-search input { width: 100%; border: 0; border-radius: 99px; padding: 14px 20px 14px 46px; font-size: 1rem; background: var(--paper); }
.menu-search input:focus { outline: 3px solid rgba(181,86,47,.45); }
.menu-notice { margin-top: 16px; display: inline-block; background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: 10px; font-size: .9rem; }
.cat-nav { position: sticky; top: 64px; z-index: 900; background: var(--cream); border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-pill { flex: 0 0 auto; padding: 7px 16px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.cat-pill.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.menu-body { padding-top: 28px; padding-bottom: 48px; }
.menu-section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: 130px; }
.menu-section-head h2 { font-size: 1.7rem; margin-bottom: 2px; }
.menu-section-head p { color: var(--muted); margin-bottom: 16px; }
.menu-legend { border-top: 1px solid var(--line); padding-top: 16px; }

/* Product modal */
.product-modal { border: 0; border-radius: 22px; overflow: hidden; background: var(--paper); }
.modal-close-float { position: absolute; right: 14px; top: 14px; z-index: 5; background-color: #fff; border-radius: 50%; padding: 10px; opacity: .95; box-shadow: var(--shadow); }
.pm-image { aspect-ratio: 16/10; background: var(--cream-2); }
.pm-image img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumbs { display: flex; gap: 6px; padding: 8px 20px 0; }
.pm-thumbs img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; }
.pm-thumbs img.active { opacity: 1; outline: 2px solid var(--brand); }
.pm-content { padding: 18px 20px 8px; }
.pm-content h2 { font-size: 1.6rem; margin-bottom: 6px; }
.pm-group { border-top: 1px solid var(--line); padding: 14px 0; }
.pm-group-title { font-weight: 700; font-size: .95rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.pm-option { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.pm-option .form-check-input { margin: 0; }
.pm-option .opt-price { margin-left: auto; color: var(--muted); font-size: .9rem; }
.pm-qty { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pm-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; line-height: 1; }
.pm-allergens .badge { background: #fbeee5; color: var(--brand-dark); font-weight: 500; }
.pm-footer { background: var(--paper); border-top: 1px solid var(--line); }
.pm-total { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

/* Visit */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.visit h2 { font-size: 2rem; }
.hours-table { --bs-table-bg: transparent; max-width: 380px; }
.hours-table tr.today td { font-weight: 700; color: var(--brand); }
.map-frame { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--espresso); color: var(--cream); padding: 44px 0 20px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-name { color: #fff; }
.footer-h { font-family: var(--font-body); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; opacity: .65; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(247,241,232,.12); font-size: .88rem; opacity: .85; }
.footer-credit a { font-weight: 700; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
