/* ============================================================
   HOTDOGRAY — 1:1 UI 復刻自參考圖 El Máximo（哥倫比亞烤雞店菜單頁）
   顏色直接取樣參考圖實際像素值（Ray 要求 UI／顏色／字型完全一致，內容可不同）：
   頂條金黃 #F3CD3C／主色紅橘 #FF3F04／卡片米色 #FAEFD3
   ============================================================ */

:root {
  --white: #FFFFFF;
  --cream: #FAEFD3;        /* 卡片區米色，取樣參考圖 */
  --ink: #241C14;
  --ink-dim: #6B5D4C;
  --line: #E9DFC4;
  --primary: #FF3F04;      /* 主紅橘，取樣參考圖 hero/價目表底色 */
  --primary-deep: #C22C00; /* 深紅橘，陰影／hover 用 */
  --primary-soft: #FFE2D6;
  --accent: #F3CD3C;       /* 金黃，取樣參考圖頂條/跑馬燈 */
  --accent-deep: #D9A61E;  /* 深金黃，火焰漸層／hover 用 */
  --f-serif: "Noto Serif TC", "Georgia", serif;
  --f-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-heading: "Huninn", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; /* 台灣圓體，中文標題用，比 Noto Sans TC 更有個性 */
  --f-display: "Alfa Slab One", "Huninn", "Noto Sans TC", serif; /* 西部粗體招牌字 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 25px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); line-height: 1.8; font-size: 1.05rem; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--f-heading); font-weight: 700; letter-spacing: .01em; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
p { color: var(--ink-dim); margin: 0 0 1em; font-size: 1.05rem; }
strong { color: var(--ink); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.eyebrow { font-family: var(--f-sans); font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); font-weight: 700; display: block; margin-bottom: 14px; }

/* ---------- Nav：金黃頂條，三欄（導覽／置中 Logo／CTA），比照參考圖頂條 ---------- */
.site-nav { position: sticky; top: 0; z-index: 500; background: var(--accent); border-bottom: 3px solid var(--primary); }
.site-nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; justify-self: center; }
.logo .word { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; color: var(--primary); letter-spacing: .01em; text-shadow: 1px 1px 0 rgba(255,255,255,.35); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .86rem; justify-self: start; }
.nav-links a { text-decoration: none; color: var(--primary-deep); font-weight: 700; letter-spacing: .01em; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }
.nav-cta { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.25; }
.nav-cta .hint { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--primary-deep); }
.nav-cta .big { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; color: var(--primary); }
@media (max-width: 760px) { .nav-links { display: none; } .site-nav .wrap { grid-template-columns: auto 1fr; } .logo { justify-self: start; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: .92rem;
  padding: 15px 30px; background: var(--primary); color: var(--white); border: 2px solid var(--primary); border-radius: 8px;
  letter-spacing: .01em; transition: all .15s ease; }
.btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn.alt { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: var(--cream); color: var(--primary); border-color: var(--primary); }
.btn.ghost:hover { background: var(--primary); color: var(--white); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost.light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.ghost.light:hover { background: var(--cream); color: var(--primary-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }
.btn-stack .btn { width: 100%; }

/* ---------- Hero（內頁通用：菜單／部落格）---------- */
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--primary); overflow: hidden; min-height: 76vh; }
.hero .ring, .hero .ring.r2 { display: none; }
.hero .inner { position: relative; z-index: 2; padding: 40px 0; }
.hero .mascot-stage { width: 190px; height: 190px; margin: 0 auto 26px; border-radius: 50%; background: var(--white);
  border: 4px solid var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,.35); display: grid; place-items: center; font-size: 90px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .2em;
  color: var(--accent); text-shadow: 3px 3px 0 var(--primary-deep); letter-spacing: .01em; }
.hero .tagline { font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 1.15rem; color: var(--cream); margin-bottom: 18px; }
.hero .desc { max-width: 460px; margin: 0 auto 34px; color: var(--cream); }
.hero strong { color: inherit; }
.hero .btn-row { justify-content: center; }

/* ---------- Hero（首頁：疊字招牌 + 紅白格紋托盤照，比照參考圖 EL BEST / POLLO 版型）---------- */
.hero-home { min-height: auto; padding: 0; text-align: left; }
.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 56px 0 50px; }
.hero-copy { flex: 1 1 380px; }
.rule-line { width: 220px; height: 3px; background: var(--cream); margin: 14px 0; box-shadow: 0 7px 0 var(--cream); }
.stack-title { margin: 0; }
.stack-title .line { display: block; font-family: var(--f-display); font-weight: 400; line-height: .96;
  font-size: clamp(2.6rem, 7.4vw, 5.2rem); color: var(--accent); text-shadow: 4px 4px 0 var(--primary-deep); letter-spacing: .01em; }
.stack-title .line.with-mascot { display: flex; align-items: center; gap: 16px; }
.h1-mascot { border-radius: 50%; box-shadow: 0 6px 14px rgba(0,0,0,.35); border: 3px solid var(--cream); flex: none; }
.flourish { font-family: var(--f-serif); font-style: italic; font-weight: 700; color: var(--accent-deep);
  font-size: clamp(1.3rem, 3vw, 1.9rem); transform: rotate(-3deg); display: inline-block; margin: 6px 0 4px; }
.hero-home .sub { color: var(--cream); font-size: .96rem; max-width: 380px; margin: 0 0 22px; }
.hero-media { flex: 0 0 300px; position: relative; }
.checker-frame { position: relative; padding: 16px; border-radius: 18px; transform: rotate(-4deg); overflow: hidden;
  aspect-ratio: 3 / 4; background: repeating-conic-gradient(var(--cream) 0% 25%, var(--primary) 0% 50%) 0 0/40px 40px;
  box-shadow: 0 26px 54px rgba(0,0,0,.4); }
.checker-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 26px rgba(0,0,0,.3); }
.sticker-float { position: absolute; width: 128px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.sticker-float.since { bottom: -30px; right: -34px; transform: rotate(-10deg); }
@media (max-width: 860px) {
  .hero-flex { flex-direction: column-reverse; text-align: center; padding: 44px 0 40px; }
  .hero-home { text-align: center; }
  .stack-title .line, .stack-title .line.with-mascot { justify-content: center; }
  .rule-line { margin-left: auto; margin-right: auto; }
  .hero-home .sub { margin-left: auto; margin-right: auto; }
  .hero-media { flex-basis: auto; width: 74%; max-width: 320px; }
}

/* ---------- 跑馬燈（單一金黃底、紅字，跟 Nav 同色系，簡單清楚不融在一起）---------- */
.marquee-bar {
  overflow: hidden;
  background: var(--accent);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.marquee-bar .track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-bar .seg { display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; letter-spacing: .04em; color: var(--primary); white-space: nowrap; }
.marquee-bar .seg img { width: 18px; height: 18px; margin: 0 4px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-16.6667%); } }
@media (prefers-reduced-motion: reduce) { .marquee-bar .track { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.cream { background: var(--cream); }
.section-head { max-width: 560px; margin: 0 auto 46px; text-align: center; }
.section-head p { font-size: .88rem; }
.section-head h2 { display: inline-block; border-bottom: 5px double var(--primary); padding-bottom: 8px; }
.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 780px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } .grid.menu-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 品項卡片（左對齊、照片右上角圓形徽章、雙按鈕，比照參考圖 Pollo 卡片）---------- */
.panel { background: var(--white); border-radius: 10px; overflow: hidden; padding: 30px; }
.story-card { text-align: center; border-top: 5px solid var(--primary); box-shadow: 0 10px 22px rgba(36,28,20,.08); }
.story-card .icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-soft);
  display: grid; place-items: center; font-size: 26px; border: 3px solid var(--accent); }
.story-card h3 { font-size: 1.35rem; display: inline-block; border-bottom: 3px double var(--primary); padding-bottom: 4px; }
.card { text-align: left; position: relative; background: transparent; }
.card .thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--primary-soft); margin-bottom: 18px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card.no-photo { background: var(--white); border-radius: 14px; padding: 26px 26px 28px; box-shadow: 0 10px 22px rgba(36,28,20,.1); border-top: 5px solid var(--primary); }
.card.no-photo h3 { margin-top: 0; }
.card .badge { position: absolute; top: -12px; right: -10px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--primary-deep); display: grid; place-items: center; text-align: center; line-height: 1.1;
  font-family: var(--f-display); font-size: .62rem; letter-spacing: .01em; transform: rotate(8deg);
  border: 3px solid var(--white); box-shadow: 0 8px 16px rgba(0,0,0,.3); z-index: 3; }
.card h3 { font-size: 1.5rem; display: inline-block; border-bottom: 5px double var(--primary); padding-bottom: 6px; margin-bottom: 12px; color: var(--primary); }
.card .desc { font-size: 1.05rem; color: var(--ink-dim); margin-bottom: 18px; min-height: 2.6em; }
.card .price-line { font-weight: 900; color: var(--primary-deep); font-size: .95rem; margin: -8px 0 14px; }
.card .thumb.placeholder { display: grid; place-items: center; font-size: 64px; background: var(--primary-soft); }

/* ---------- 分類分隔標籤（招牌品項：熱狗／Walking Taco／炸物／厚片吐司，跨整個 grid 寬度）---------- */
.cat-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 8px 0 -4px; }
.cat-divider:first-child { margin-top: 0; }
.cat-divider::before, .cat-divider::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.cat-divider span { font-family: var(--f-display); color: var(--primary); font-size: 1.15rem; white-space: nowrap; letter-spacing: .02em; }

/* ---------- 側欄面板（加料／飲料，各自獨立一欄，字放大）---------- */
.side-panel { grid-column: 1 / -1; background: var(--primary); color: var(--cream); border-radius: 14px;
  padding: 34px 40px; max-width: 640px; margin: 10px auto; }
.side-panel h3 { font-family: var(--f-display); font-weight: 400; color: var(--cream); text-align: center; font-size: 1.6rem;
  letter-spacing: .04em; margin-bottom: 22px; }
.side-panel h3 .dot { color: var(--accent); margin: 0 10px; font-weight: 900; }
.price-row { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px dotted rgba(250,239,211,.45); font-size: 1.3rem; }
.price-row .name { font-weight: 700; white-space: nowrap; }
.price-row .leader { flex: 1; border-bottom: 2px dotted rgba(250,239,211,.55); transform: translateY(-4px); }
.price-row .amt { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--accent); white-space: nowrap; }

/* ---------- 飲料獨立區塊（頁面最下方）---------- */
.price-band { background: var(--primary); }
.side-panel.standalone { margin: 0 auto; }

/* ---------- Menu table (完整菜單頁) ---------- */
.menu-cat { margin-bottom: 46px; }
.menu-cat h2 { font-size: 1.6rem; display: inline-block; border-bottom: 5px double var(--primary); padding-bottom: 6px; margin-bottom: 18px; }
table.menu-table { width: 100%; border-collapse: collapse; }
table.menu-table th, table.menu-table td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); }
table.menu-table th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-deep); font-weight: 900;
  background: var(--primary-soft); }
table.menu-table td.price { text-align: right; color: var(--primary); font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.menu-note { font-size: .85rem; color: var(--ink-dim); margin-top: 10px; }

/* ---------- Hours / Directions ---------- */
.hours-band { background: var(--ink); color: var(--cream); text-align: center; }
.hours-band .wrap { max-width: 640px; }
.hours-band h2 { color: var(--white); }
.hours-band .hrs { font-size: 1.5rem; font-family: var(--f-serif); color: var(--accent); margin-bottom: 6px; }
.hours-band p { color: #cabfae; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 22px 4px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); font-size: 1.3rem; color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 4px 22px; color: var(--ink-dim); }

/* ---------- Blog ---------- */
.post-card { display: block; text-decoration: none; padding: 30px; margin-bottom: 18px; border-top: 5px solid var(--primary); background: var(--white); border-radius: 10px; }
.post-card .meta { font-size: .78rem; color: var(--ink-dim); margin-bottom: 8px; letter-spacing: .04em; }
.post-card h3 { color: var(--ink); font-size: 1.15rem; }
.post-card p { margin: 8px 0 0; }
.breadcrumb { font-size: .82rem; color: var(--ink-dim); margin-bottom: 26px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
article.post h2 { margin-top: 1.6em; font-size: 1.2rem; color: var(--ink); }
article.post figure { margin: 26px 0; }
article.post figcaption { font-size: .82rem; color: var(--ink-dim); margin-top: 8px; text-align: center; }
article.post a { color: var(--primary); text-decoration: underline; }
.cta-box { margin-top: 44px; text-align: center; background: var(--white); border-radius: 10px; padding: 30px; }

/* ---------- 分隔線：單條紅白方格帶（取代原本的火焰剪影，簡化成一條就好）---------- */
.flame-divider { position: relative; height: 46px; overflow: visible;
  background-color: var(--primary);
  background-image: conic-gradient(var(--white) 90deg, transparent 90deg 180deg, var(--white) 180deg 270deg, transparent 270deg);
  background-size: 23px 23px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.flame-divider .flames { display: none; }
.flame-divider .badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  background: var(--white); z-index: 2;
}

/* ---------- Footer：單一芥末黃底 ---------- */
footer { padding: 56px 0 30px; background: var(--accent); border-top: none; color: var(--ink); }
footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-bottom: 40px; }
footer h4 { font-family: var(--f-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 14px; }
footer .word { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); text-shadow: 1px 1px 0 rgba(255,255,255,.35); }
footer a { text-decoration: none; color: var(--ink); }
footer a:hover { color: var(--primary); }
footer .flinks { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
footer .bottom { border-top: 1px solid rgba(36,28,20,.18); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--ink-dim); }
@media (max-width: 780px) { footer .grid { grid-template-columns: 1fr 1fr; } }
