/* ===== HomeMaker Foods ===== */
:root {
  --dark: #120d08;
  --dark-2: #1c140d;
  --gold: #e9a23b;
  --gold-2: #f5bd5c;
  --cream: #fbf3e4;
  --cream-2: #f3e6cd;
  --ink: #2a1d12;
  --muted: #7a6a58;
  --line: #e6d6b8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 8px 26px rgba(40, 24, 8, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; font-weight: 600; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.script { font-family: 'Caveat', cursive; font-size: 1.5rem; color: var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1604; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; font-size: .92rem; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(233, 162, 59, .35); }
.btn-sm { padding: .5rem 1.15rem; font-size: .84rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }

/* Header */
.site-header { background: var(--dark); color: #f4e9d6; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(233, 162, 59, .18); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: #fff; }
.logo small { font-size: .6rem; letter-spacing: .3em; color: var(--gold); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; }
.main-nav a:not(.btn) { opacity: .85; padding: .3rem 0; border-bottom: 2px solid transparent; }
.main-nav a:not(.btn):hover, .main-nav a.active { opacity: 1; color: var(--gold); border-color: var(--gold); }
.nav-small { font-size: .8rem !important; }
.cart-badge { background: #2a1604; color: var(--gold-2); border-radius: 999px; font-size: .7rem; padding: 0 .45rem; min-width: 1.2rem; text-align: center; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.burger i { display: block; width: 24px; height: 2px; background: var(--gold); }

/* Placeholders */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%;
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 75% 48%), hsl(calc(var(--h) - 8) 70% 20%) 70%); }
.ph span { font-size: 3rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(900px 300px at 85% 30%, rgba(233, 162, 59, .28), transparent 60%), linear-gradient(120deg, #0d0905, #26180c); color: #fff; padding: 3.2rem 0 2.8rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: #d9c7a8; font-size: .95rem; margin-top: .4rem; }

/* Home hero */
.hero { background: radial-gradient(700px 420px at 78% 45%, rgba(233, 162, 59, .35), transparent 62%), linear-gradient(120deg, #0b0704, #26170a); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding-block: 4.5rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.hero h1 em { color: var(--gold); font-style: normal; display: block; }
.hero p { color: #d9c7a8; max-width: 440px; margin: 1.1rem 0 1.7rem; }
.hero-art { font-size: clamp(9rem, 22vw, 15rem); text-align: center; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); transform: rotate(-8deg); }

/* Feature strip */
.features { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.5rem; }
.feat { display: flex; align-items: center; gap: .7rem; justify-content: center; font-size: .82rem; }
.feat .ico { font-size: 1.6rem; }
.feat b { display: block; font-size: .85rem; }
.feat small { color: var(--muted); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { color: var(--muted); max-width: 420px; font-size: .86rem; }
.link-arrow { color: var(--gold); font-weight: 500; font-size: .86rem; }
.link-arrow:hover { text-decoration: underline; }

/* Menu cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.02rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.card .desc { color: var(--muted); font-size: .78rem; margin: .25rem 0 .7rem; flex: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 600; color: #8a4b05; font-size: 1.02rem; }
.add-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--gold); color: #2a1604; font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.add-btn:hover { transform: scale(1.15) rotate(90deg); }
.add-btn.added { background: #5c9b4a; color: #fff; }

/* Menu page */
.tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.6rem 0 .6rem; }
.tab { padding: .45rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); cursor: pointer; font-size: .82rem; font-family: inherit; color: var(--ink); }
.tab.active, .tab:hover { background: var(--gold); border-color: var(--gold); color: #2a1604; font-weight: 500; }
.menu-cat { margin-top: 2rem; }
.menu-cat h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Promo banner */
.promo { background: linear-gradient(110deg, #1a0f06, #3a2410); color: #fff; }
.promo .container { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; min-height: 190px; gap: 1rem; }
.promo-art { font-size: 6rem; text-align: center; }
.promo h2 { font-size: 1.7rem; margin: .3rem 0 1rem; }
.promo .eyebrow { color: var(--gold); }

/* About */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.split .visual { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.checklist { list-style: none; margin: 1.3rem 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: center; }
.checklist .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); border: 1px solid var(--line); }
.prose p { margin-bottom: 1rem; color: #4a3b2c; }
.stats { background: var(--dark); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-block: 2rem; }
.stats b { display: block; font-family: 'Playfair Display', serif; font-size: 2.1rem; color: var(--gold); }
.stats span { font-size: .8rem; color: #cdbb9d; }

/* Gallery */
.gallery { columns: 3; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery figure:nth-child(3n+1) { height: 260px; }
.gallery figure:nth-child(3n+2) { height: 200px; }
.gallery figure:nth-child(3n) { height: 320px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1.4rem .9rem .6rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-size: .8rem; opacity: 0; transition: opacity .2s; }
.gallery figure:hover figcaption { opacity: 1; }
.quote { text-align: center; padding: 2.5rem 0 1rem; }
.quote p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; }

/* Blog */
.post-card .thumb { aspect-ratio: 16/10; }
.post-card .date { font-size: .72rem; color: var(--muted); }
.article { max-width: 720px; margin-inline: auto; }
.article .cover { aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.6rem; }
.article h1 { font-size: 2.2rem; margin-bottom: .3rem; }
.article .meta { color: var(--muted); font-size: .82rem; margin-bottom: 1.4rem; }
.article p { margin-bottom: 1.1rem; font-size: 1rem; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
label { display: block; font-size: .78rem; font-weight: 500; margin-bottom: .25rem; color: #5a4733; }
input, textarea, select { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fffdf8; font-family: inherit; font-size: .9rem; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 1rem; }
.alert { padding: .8rem 1rem; border-radius: 10px; margin: 1rem 0 0; font-size: .88rem; }
.alert-success { background: #e4f3dc; color: #2f5c1f; border: 1px solid #bfe0ae; }
.alert-error { background: #fbe3df; color: #8b2a1a; border: 1px solid #f0b9b0; }
.hp { position: absolute; left: -9999px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.2rem; }
.info-list { list-style: none; display: grid; gap: 1.1rem; margin: 1rem 0 1.6rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list .ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; }
.info-list small { display: block; color: var(--muted); font-size: .72rem; }
.map-box { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.4fr .6fr; background: var(--white); box-shadow: var(--shadow); }
.map-fake { min-height: 190px; background: repeating-linear-gradient(35deg, #ece0c6 0 18px, #f3e9d2 18px 36px); display: grid; place-items: center; text-align: center; padding: 1rem; }
.map-hours { padding: 1.4rem; }

/* Footer */
.site-footer { background: var(--dark); color: #cdbb9d; margin-top: 0; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-block: 2.6rem 1.6rem; }
.site-footer h4 { color: var(--gold); font-family: 'Poppins', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .7rem; }
.site-footer p { margin-bottom: .35rem; }
.site-footer a:hover { color: var(--gold); }
.f-brand p { margin-top: .8rem; max-width: 240px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .76rem; }
.f-links { display: flex; gap: 1.1rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 90px); background: #2a1604; color: var(--gold-2); padding: .7rem 1.3rem; border-radius: 999px; box-shadow: var(--shadow); transition: transform .3s; z-index: 99; font-size: .86rem; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero .container, .split, .contact-grid, .promo .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .features .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .map-box { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: flex-start; padding: 1.2rem 4%; gap: 1rem; display: none; border-bottom: 1px solid rgba(233, 162, 59, .2); }
  body.nav-open .main-nav { display: flex; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .gallery { columns: 1; }
  .gallery figure { height: 220px !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 1rem; }
}

/* ===== Phase 2: cart, checkout, auth, reservations ===== */
.inline-form { display: inline; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; opacity: .85; padding: .3rem 0; }
.link-btn:hover { color: var(--gold); opacity: 1; }
.link-btn.muted { color: var(--muted); font-size: .82rem; text-decoration: underline; }
.hint { color: var(--muted); font-size: .8rem; margin-top: .6rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

.checkout-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2rem; align-items: start; }
.co-title { font-size: 1.5rem; margin-bottom: 1rem; }
.cart-list { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem 1.1rem; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto 80px 28px; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph span { font-size: 1.7rem; }
.cart-info small { display: block; color: var(--muted); font-size: .76rem; }
.qty { display: inline-flex; align-items: center; gap: .15rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty form { display: inline; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--cream-2); cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); }
.qty button:hover { background: var(--gold); }
.qty span { min-width: 26px; text-align: center; font-weight: 500; font-size: .9rem; }
.cart-line { text-align: right; font-weight: 600; }
.rm { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: #a8442f; cursor: pointer; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; }
.summary { background: var(--dark); color: #f4e9d6; border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.summary h3 { color: var(--gold); margin-bottom: 1rem; }
.sum-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.sum-row.total { border: 0; font-size: 1.2rem; font-weight: 600; color: var(--gold-2); margin-top: .3rem; }
.summary .hint { color: #cdbb9d; }
.free { color: #8fd17a; }
.empty-cart { text-align: center; padding: 3rem 1rem; }
.empty-cart h2 { margin: .6rem 0 .4rem; }
.empty-cart p { color: var(--muted); margin-bottom: 1.3rem; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .3rem; }
.pay { margin: 0; cursor: pointer; }
.pay input { position: absolute; opacity: 0; width: 0; }
.pay span { display: block; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf8; font-size: .88rem; color: var(--ink); }
.pay input:checked + span { border-color: var(--gold); background: #fff3dc; font-weight: 500; }
.pay input:focus-visible + span { outline: 2px solid var(--gold); }

.auth-card { max-width: 440px; margin-inline: auto; }
.thanks { text-align: center; margin-bottom: 1.8rem; }
.thanks h1 { font-size: 2.2rem; margin: .8rem 0 .4rem; }
.tick { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e4f3dc; color: #2f7a1f; font-size: 2rem; }
.order-no { margin-top: .6rem; font-weight: 500; }
.status { display: inline-block; padding: .1rem .7rem; border-radius: 999px; font-size: .78rem; background: #fff3dc; color: #8a5a10; border: 1px solid #f0d49b; }
.status-delivered { background: #e4f3dc; color: #2f5c1f; border-color: #bfe0ae; }
.status-cancelled { background: #fbe3df; color: #8b2a1a; border-color: #f0b9b0; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.tbl .r { text-align: right; }
.tbl .grand td { font-weight: 600; font-size: 1.05rem; border-bottom: 0; color: var(--ink); }
.lbl { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .two-col, .pay-options { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 52px 1fr auto 24px; }
  .cart-thumb { width: 52px; height: 52px; }
  .cart-line { grid-column: 2 / 4; text-align: left; }
}

/* ===== Phase 3: FAQ ===== */
.faq { background: #fff; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { margin-top: .6rem; color: var(--muted); }
.prose h3 { margin: 1.4rem 0 .4rem; font-size: 1.2rem; }
