/* CurbCommand tenant sites — themed via CSS variables set inline per tenant */
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.15; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.t-muted { color: var(--muted); } .t-center { text-align: center; }

.t-nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 5vw; position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); z-index: 10; border-bottom: 1px solid var(--panel); }
.t-brand { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.3rem; color: var(--text); display: inline-flex; gap: .5rem; align-items: center; }
.t-brand img { height: 34px; border-radius: 8px; }
.t-brand:hover { text-decoration: none; }
.t-nav nav { display: flex; gap: 1.3rem; align-items: center; }
.t-nav nav a { color: var(--text); font-weight: 500; }
.t-announce { background: var(--accent); color: #fff; text-align: center; padding: .5rem 1rem; font-weight: 600; }

.t-btn { display: inline-block; padding: .6rem 1.3rem; border-radius: 10px; background: var(--accent); border: 1px solid var(--accent); color: #fff; font-weight: 700; cursor: pointer; font-size: 1rem; }
.t-btn:hover { filter: brightness(1.1); text-decoration: none; }
.t-btn-ghost { background: transparent; color: var(--text); border-color: var(--muted); }
.t-btn-lg { padding: .85rem 1.7rem; font-size: 1.1rem; }
.t-btn-sm { padding: .3rem .8rem; font-size: .85rem; }

.t-hero { text-align: center; padding: 6rem 5vw; background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); background-size: cover; background-position: center; }
.t-hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); margin: .4rem 0; }
.t-tagline { font-size: 1.25rem; color: var(--muted); }
.t-hero-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.t-status { display: inline-block; padding: .25rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--panel); }
.t-status.open { color: #86efac; } .t-status.closed { color: var(--muted); }
.t-stars { color: #fbbf24; margin-top: 1rem; font-weight: 600; }

.t-section { padding: 3.5rem 5vw; max-width: 1100px; margin: 0 auto; }
.t-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.t-about p { font-size: 1.15rem; max-width: 48rem; margin: 0 auto; text-align: center; color: var(--muted); }

.t-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.t-dish { background: var(--panel); border-radius: 14px; padding: 1.2rem 1.4rem; }
.t-dish-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.t-dish h3 { margin: 0; } .t-dish p { color: var(--muted); margin: .4rem 0 0; }
.t-price { color: var(--accent); font-weight: 800; white-space: nowrap; }

.t-find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.t-hours { border-collapse: collapse; margin-top: .5rem; }
.t-hours td { padding: .25rem 1.2rem .25rem 0; }
.t-hours .today td { color: var(--accent); font-weight: 700; }
.t-hours-h { margin-top: 1.6rem; }
.t-stops { list-style: none; padding: 0; display: grid; gap: .8rem; }
.t-stops li { background: var(--panel); border-radius: 10px; padding: .7rem 1rem; }

.t-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.t-review { background: var(--panel); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 0; }
.t-review cite { color: var(--muted); font-style: normal; font-size: .9rem; }

.t-catering { background: var(--panel); border-radius: 18px; margin: 2rem auto; }
.t-form { display: grid; gap: .7rem; margin-top: 1rem; max-width: 640px; }
.t-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
input, textarea, select { padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--muted); background: var(--bg); color: var(--text); font: inherit; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--accent); }

.t-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem 5vw; border-top: 1px solid var(--panel); color: var(--muted); flex-wrap: wrap; }
.t-powered a { color: var(--accent); }

.t-page { padding: 3rem 5vw; max-width: 1000px; margin: 0 auto; }
.t-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.t-menu-section h2 { border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: .2rem; }
.t-menu-list { display: grid; gap: .8rem; }
.t-menu-item { display: flex; justify-content: space-between; gap: 1.5rem; background: var(--panel); border-radius: 12px; padding: 1rem 1.3rem; }
.t-menu-item h3 { margin: 0 0 .2rem; } .t-menu-item p { margin: 0; color: var(--muted); }
.t-menu-item.sold-out { opacity: .55; }
.t-86 { font-size: .75rem; color: #fca5a5; border: 1px solid #7f1d1d; padding: .05rem .5rem; border-radius: 999px; vertical-align: middle; }
.t-tags { margin-top: .4rem; display: flex; gap: .4rem; }
.t-tag { font-size: .72rem; background: var(--bg); border: 1px solid var(--muted); color: var(--muted); border-radius: 999px; padding: .05rem .55rem; }
.t-add { display: grid; gap: .4rem; justify-items: end; align-content: center; }

.t-order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.t-cart { position: sticky; top: 5rem; background: var(--panel); border-radius: 16px; padding: 1.4rem; }
.t-cart-lines { display: grid; gap: .5rem; margin: .8rem 0; }
.t-cart-line { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.t-cart-line button { background: none; border: 1px solid var(--muted); color: var(--text); border-radius: 6px; width: 22px; height: 22px; cursor: pointer; line-height: 1; }
.t-cart-totals { border-top: 1px solid var(--muted); padding-top: .7rem; margin-bottom: 1rem; display: grid; gap: .25rem; }
.t-cart-totals div { display: flex; justify-content: space-between; }
.t-cart-totals .grand { font-weight: 800; font-size: 1.15rem; color: var(--accent); }
.t-label { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.t-tips { display: flex; gap: .5rem; }
.t-tips button { flex: 1; padding: .4rem; border-radius: 8px; border: 1px solid var(--muted); background: var(--bg); color: var(--text); cursor: pointer; }
.t-tips button.sel { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.t-paychoice { display: grid; gap: .3rem; }
.t-paychoice input { width: auto; }
.t-paychoice label { display: flex; gap: .5rem; align-items: center; }
.t-flash { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); border: 1px solid var(--accent); border-radius: 10px; padding: .6rem .8rem; font-size: .88rem; }
.t-error { color: #fca5a5; min-height: 1.2rem; }

.t-status-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; max-width: 700px; margin: 2rem auto; }
.t-step { background: var(--panel); border-radius: 10px; padding: 1rem .6rem; color: var(--muted); border: 1px solid transparent; }
.t-step.done { color: var(--text); border-color: var(--muted); }
.t-step.now { border-color: var(--accent); color: var(--accent); font-weight: 800; }

@media (max-width: 820px) {
  .t-find-grid, .t-order-grid { grid-template-columns: 1fr; }
  .t-cart { position: static; }
  .t-nav nav { gap: .7rem; font-size: .9rem; }
  .t-status-track { grid-template-columns: 1fr 1fr; }
}
