/* ==========================================================================
   Craver's Cart — brand stylesheet
   Palette is taken straight from the logo. Change these five values and the
   whole site re-skins (e.g. to the orange version of the logo).
   ========================================================================== */
:root {
  --navy: #06213C;
  --navy-soft: #0E355C;
  --gold: #D89B46;
  --gold-dark: #B87F2C;
  --cream: #FAF3EC;

  --cream-2: #F3E8DA;
  --line: #E6D9C7;
  --ink: #14202B;
  --muted: #6C7885;
  --white: #FFFFFF;
  --veg: #1BA672;
  --nonveg: #C0392B;
  --wa: #25D366;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 8px rgba(6, 33, 60, .06), 0 12px 32px rgba(6, 33, 60, .07);
  --shadow-sm: 0 1px 3px rgba(6, 33, 60, .08);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* Must beat the display rules on .cart-drawer / .cart-backdrop below. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5.2vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.opt { color: var(--muted); font-weight: 400; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); color: var(--white); }
.btn-primary[disabled] { background: var(--muted); cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: var(--wa); color: #07331A; }
.btn-wa:hover { background: #1FBE5A; color: #07331A; }
.btn-add {
  background: var(--white); color: var(--navy); border-color: var(--navy);
  padding: 7px 20px; font-size: 14px; font-weight: 700;
}
.btn-add:hover { background: var(--navy); color: var(--white); }
.icon-btn {
  background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer;
  color: var(--navy); padding: 4px 8px;
}
.link-more { font-weight: 600; color: var(--gold-dark); }

/* ----------------------------------------------------------------- header */
.topbar {
  background: var(--navy); color: var(--cream); text-align: center;
  font-size: 13px; padding: 8px 16px; letter-spacing: .01em;
}
.topbar.closed { background: var(--nonveg); color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 243, 236, .93); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a.active { color: var(--gold-dark); font-weight: 600; }
.nav .tel { color: var(--muted); font-size: 14px; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white);
  border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px;
  cursor: pointer; font-family: var(--sans); position: relative;
}
.cart-btn:hover { background: var(--navy-soft); }
.cart-count {
  background: var(--gold); color: var(--navy); border-radius: 999px;
  min-width: 21px; height: 21px; display: inline-grid; place-items: center;
  font-size: 12px; font-weight: 700; padding: 0 5px;
}

/* ------------------------------------------------------------------- hero */
/* Flat cream, not a gradient — the logo artwork has a cream background baked
   in, so a flat field makes it sit seamlessly on the page. */
.hero { background: var(--cream); padding: 56px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.lede { font-size: 17.5px; color: #3D4A57; max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 24px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: #3D4A57; }
.hero-points li { padding-left: 24px; position: relative; }
.hero-points li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700;
}
.hero-art img { margin-inline: auto; filter: drop-shadow(0 18px 36px rgba(6, 33, 60, .13)); }

/* ------------------------------------------------------------------ strip */
.strip { background: var(--navy); color: var(--cream); padding: 22px 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.strip-item { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #C8D4E0; }
.strip-num { font-family: var(--serif); font-size: 25px; color: var(--gold); font-weight: 700; }

/* --------------------------------------------------------------- sections */
.section { padding: 60px 0; }
.section-alt { background: var(--cream); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.page-head { background: var(--cream); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 8px; }

/* ------------------------------------------------------------- item cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.item-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.item-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.item-card.is-out { opacity: .55; }
.item-img { margin: -18px -18px 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/10; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-main { display: flex; flex-direction: column; flex: 1; }
.item-top { display: flex; align-items: flex-start; gap: 9px; }
.item-top h3 { margin: 0 0 4px; font-size: 17.5px; }
.veg-dot {
  width: 14px; height: 14px; border-radius: 3px; flex: 0 0 auto; margin-top: 4px;
  border: 2px solid var(--veg); position: relative; background: #fff;
}
.veg-dot::after {
  content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--veg);
}
.veg-dot.nonveg { border-color: var(--nonveg); }
.veg-dot.nonveg::after { background: var(--nonveg); }
.item-desc { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  background: var(--cream-2); color: var(--gold-dark); font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); }
.out-label { font-size: 13px; font-weight: 600; color: var(--nonveg); }

/* ----------------------------------------------------------- menu nav bar */
.menu-nav { position: sticky; top: 73px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.menu-nav-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.cat-chips { display: flex; gap: 9px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white);
}
.chip:hover, .chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.veg-toggle { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.veg-toggle input { accent-color: var(--veg); width: 17px; height: 17px; }
.cat-block { margin-bottom: 48px; }
.cat-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cat-count { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; background: var(--cream-2); padding: 2px 9px; border-radius: 999px; }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 700; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ------------------------------------------------------------------ areas */
.areas-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 36px; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.area-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 14px; font-weight: 500; }

/* --------------------------------------------------------------- cta band */
.cta-band { background: var(--navy); color: var(--cream); padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 4px; }
.cta-band p { margin: 0; color: #C8D4E0; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #C8D4E0; padding: 52px 0 24px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 34px; }
.footer-logo { background: var(--cream); border-radius: var(--radius); padding: 12px; display: inline-block; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--gold); margin-top: 14px; font-size: 16px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #C8D4E0; display: block; margin-bottom: 8px; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: 14.5px; margin-bottom: 8px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #93A3B4;
}

/* ------------------------------------------------------------ cart drawer */
.cart-backdrop { position: fixed; inset: 0; background: rgba(6, 33, 60, .45); z-index: 60; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 100%); background: var(--white);
  z-index: 61; display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(6, 33, 60, .2);
}
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; font-size: 21px; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--cream); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line-name { font-weight: 600; font-size: 15px; display: flex; align-items: flex-start; gap: 8px; }
.cart-line-price { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-ctl button { background: var(--white); border: 0; width: 30px; height: 30px; font-size: 17px; cursor: pointer; color: var(--navy); font-weight: 600; }
.qty-ctl button:hover { background: var(--cream-2); }
.qty-ctl span { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14.5px; }
.cart-totals div { display: flex; justify-content: space-between; }
.cart-totals .grand { font-weight: 700; font-size: 17px; padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--serif); }
.cart-empty { text-align: center; color: var(--muted); padding: 44px 20px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 54px; height: 54px;
  border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .42);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* --------------------------------------------------------------- checkout */
.checkout-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: start; }
.checkout-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 20px; }
.checkout-form legend { font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 700; padding: 0 8px; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.phone-input { display: flex; align-items: stretch; }
.phone-input span {
  display: grid; place-items: center; padding: 0 12px; background: var(--cream-2);
  border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 600; font-size: 15px;
}
.phone-input input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--cream); }
.radio-card input { margin-top: 3px; accent-color: var(--navy); width: 18px; height: 18px; }
.radio-body { display: flex; flex-direction: column; gap: 2px; }
.radio-body small { color: var(--muted); font-size: 13.5px; }
.fineprint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.order-summary { background: var(--cream); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.order-summary h3 { margin-bottom: 14px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 7px 0; }
.sum-line.grand { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-family: var(--serif); }

.alert { border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 18px; font-size: 14.5px; font-weight: 500; }
.alert-error { background: #FDECEA; color: #96281B; border: 1px solid #F5C6C0; }
.alert-warn { background: #FEF6E7; color: #8A6116; border: 1px solid #F5E0B0; }
.alert-info { background: #EAF3FB; color: #1B4F7E; border: 1px solid #C2DCF0; }

/* ------------------------------------------------------------ order page */
.order-page { max-width: 760px; margin-inline: auto; }
.order-hero { text-align: center; margin-bottom: 32px; }
.tick {
  width: 62px; height: 62px; border-radius: 50%; background: var(--veg); color: #fff;
  display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px;
}
.pay-box {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: var(--cream); border-radius: var(--radius); padding: 26px; margin-bottom: 20px;
}
.pay-box h2 { margin-bottom: 8px; }
.pay-qr { background: var(--white); padding: 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.status-track { display: flex; justify-content: space-between; margin: 34px 0; position: relative; gap: 6px; }
.status-track::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 9px; height: 2px; background: var(--line);
}
.track-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; z-index: 1; }
.track-step .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.track-step.done .dot { background: var(--gold); border-color: var(--gold); }
.track-step .label { font-size: 12px; text-align: center; color: var(--muted); font-weight: 500; }
.track-step.done .label { color: var(--navy); font-weight: 600; }

.receipt { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.receipt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.receipt-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.receipt-table .veg-dot { display: inline-block; vertical-align: -2px; margin-right: 5px; margin-top: 0; }
.receipt-table .qty { color: var(--muted); text-align: center; white-space: nowrap; }
.receipt-table .amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-table tfoot td { border-bottom: 0; padding: 5px 0; color: var(--muted); }
.receipt-table tfoot .grand td { font-weight: 700; font-size: 18px; color: var(--navy); padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--serif); }
.receipt-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.receipt-meta span { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.receipt-meta p { font-size: 14px; color: var(--muted); margin: 4px 0 0; font-weight: 400; }

.track-form { display: flex; gap: 10px; margin: 20px 0; }
.track-form input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 16px; font-family: var(--sans); }
.prose h2 { margin-top: 32px; font-size: 24px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; max-width: 300px; margin-inline: auto; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-box { grid-template-columns: 1fr; padding: 26px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .nav a:not(.active):not([href="/menu"]) { display: none; }
  .nav .tel { display: none; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 28px); }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 42px; }
  .cart-btn span:not(.cart-count) { display: none; }
  .nav { gap: 14px; font-size: 14px; }
  .section { padding: 42px 0; }
  .pay-box { grid-template-columns: 1fr; text-align: center; }
  .pay-qr { justify-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .status-track .label { font-size: 10.5px; }
  .card-grid { grid-template-columns: 1fr; }
  .menu-nav { top: 65px; }
}
