/* =========================================================
   EMBER – takeaway and food truck website template
   EDIT YOUR COLOURS AND FONTS HERE. Everything else follows.
   ========================================================= */
:root {
  --dark: #1c1917;       /* header button, headings, dark band */
  --paper: #fff8ef;      /* page background */
  --card: #ffffff;       /* cards and boxes */
  --line: #f0dfc8;       /* lines and borders */
  --accent: #e2552d;     /* main buttons */
  --on-accent: #ffffff;  /* text on main buttons */
  --accent-2: #b8411f;   /* small labels */
  --ink: #221d1a;        /* body text */
  --muted: #6d625a;      /* secondary text */
  --muted-on-dark: #c9bcb0;
  --font-head: "Archivo", "Arial Black", sans-serif; --head-weight: 800;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 16px; --btn-radius: 12px;
}
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-body); color-scheme: light; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

/* ---------- Header ---------- */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px max(20px, 5vw); border-bottom: 1px solid var(--line); background: var(--paper); }
.logo { font: var(--head-weight) 21px/1 var(--font-head); color: var(--dark); text-decoration: none; white-space: nowrap; }
.logo i { color: var(--accent); font-style: normal; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .nav-btn { background: var(--dark); color: var(--paper); padding: 10px 16px; border-radius: var(--btn-radius); white-space: nowrap; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 36px max(20px, 5vw); border-bottom: 1px solid var(--line); }
.kicker { font: 500 13px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.intro h1 { font-size: 32px; line-height: 1.15; color: var(--dark); margin-top: 12px; max-width: 22ch; }
.lede { font-size: 17px; color: var(--muted); max-width: 48ch; margin-top: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); border: 0; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(.95); }
.btn[disabled], .btn[aria-disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius); border: 1.5px solid var(--dark); color: var(--dark); font-weight: 600; text-decoration: none; background: transparent; cursor: pointer; font-size: 16px; }
.open-now { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; color: var(--dark); }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 4px rgba(47,158,98,.15); }
.open-now.closed .dot { background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.14); }
.art { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* ---------- Sections ---------- */
.section { padding: 48px max(20px, 5vw); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { font-size: 28px; color: var(--dark); }
.section-head p { color: var(--muted); max-width: 52ch; }
.dark-band { background: var(--dark); color: var(--paper); }
.dark-band h2, .dark-band h3 { color: var(--paper); }
.dark-band .section-head p, .dark-band .muted { color: var(--muted-on-dark); }

/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs button { font: 500 15px/1 var(--font-body); padding: 10px 16px; border-radius: var(--btn-radius); border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: var(--paper); }
.dark-band .tabs button { color: var(--paper); border-color: rgba(255,255,255,.2); }
.dark-band .tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* price list */
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list h3 { font-size: 18px; color: var(--dark); }
.price-list .price { font: 500 16px/1.4 var(--font-mono); color: var(--dark); white-space: nowrap; }
.price-list p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.small { font-size: 14px; color: var(--muted); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 19px; color: var(--dark); }
.card p { color: var(--muted); font-size: 15px; }

/* visit + hours */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.visit h2 { font-size: 28px; margin-bottom: 14px; }
address { font-style: normal; font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.visit .small { margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours caption { text-align: left; font: 500 12.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-family: var(--font-mono); }
.hours tr.today th, .hours tr.today td { font-weight: 600; color: var(--dark); }
.dark-band .hours th, .dark-band .hours td { border-color: rgba(255,255,255,.14); }
.dark-band .hours tr.today th, .dark-band .hours tr.today td { color: var(--paper); }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 760px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 14.5px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--font-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; min-height: 90px; }
.form button { justify-self: start; }
.opt-note { font-weight: 400; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); max-width: 560px; }
.form-error { color: #b42318; font-weight: 500; margin-top: 10px; }

/* questions */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--dark); }
.faq details p { margin-top: 8px; color: var(--muted); }

/* contact strip (Lite) */
.contact-strip { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px max(20px, 5vw); font-size: 14px; color: var(--muted); }
.footer a { color: inherit; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .intro, .visit { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav a:not(.nav-btn) { display: none; }
  .intro h1 { font-size: 28px; }
  .section { padding: 40px 20px; }
  .form { grid-template-columns: 1fr; }
  .section-head h2, .visit h2 { font-size: 25px; }
}

/* ---------- Ember extras ---------- */
.price-list li { grid-template-columns: 1fr auto; }
.price-list .al { display: block; font: 500 12.5px/1.5 var(--font-mono); color: var(--accent-2); margin-top: 2px; }
.add { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font: 600 14px/1 var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--dark); background: transparent; color: var(--dark); cursor: pointer; transition: background .15s, color .15s; }
.add:hover, .add.added { background: var(--dark); color: var(--paper); }
.key { margin-top: 20px; font: 400 13px/1.6 var(--font-mono); color: var(--muted); }
.btn-ghost.on-dark { border-color: var(--paper); color: var(--paper); }
.dark-band .hours th { font-size: 15px; padding-right: 16px; }
/* order basket */
.basket-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; border: 0; border-radius: 999px; background: var(--dark); color: var(--paper); font: 500 15.5px/1 var(--font-body); padding: 16px 22px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); cursor: pointer; white-space: nowrap; }
.basket-bar #basket-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; margin-right: 6px; }
.basket { position: fixed; right: 0; top: 0; bottom: 0; width: min(400px, 100%); z-index: 50; background: var(--paper); border-left: 1px solid var(--line); box-shadow: -20px 0 40px -20px rgba(0,0,0,.35); padding: 22px; display: grid; align-content: start; gap: 12px; overflow-y: auto; transform: translateX(105%); transition: transform .25s; }
.basket.open { transform: none; }
.basket-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.basket-head button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.basket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.basket li { display: grid; grid-template-columns: 34px 1fr auto 32px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.basket li .q { font-family: var(--font-mono); color: var(--accent-2); }
.basket li button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; }
.basket-total { display: flex; justify-content: space-between; font-size: 17px; padding: 6px 0; }
.basket label { display: grid; gap: 6px; font-weight: 500; font-size: 14.5px; }
.basket input, .basket select { font: 400 16px/1.4 var(--font-body); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.basket #basket-wa { background: #1f8f4e; }
