/* ============================================
   AFC - extra pages (/menu, /party-packs)
   Uses the colour variables from styles.css
   ============================================ */
.pg-body { background: var(--bg-darkest); color: var(--white); }
.pg-body [hidden] { display: none !important; }

/* header */
.pg-header { position: sticky; top: 0; z-index: 900; background: rgba(26,0,0,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--white-10); }
.pg-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.pg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.pg-logo img { width: 52px; height: auto; }
.pg-logo span { font-family: 'Anton', var(--font-display); letter-spacing: 0.06em; font-size: 14px; line-height: 1.1; text-transform: uppercase; }
.pg-nav { display: flex; align-items: center; gap: 22px; }
.pg-nav a { color: var(--white-90); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.pg-nav a:hover, .pg-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--menu-price); }
.pg-nav-order { background: #fff; color: var(--on-white); border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 800; font-size: 15px; cursor: pointer; }
.pg-nav-order:hover { background: var(--menu-price); }
.pg-nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.pg-nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; }

/* hero */
.pg-hero { padding: 56px 0 34px; background: linear-gradient(180deg, var(--bg-dark), var(--bg-darkest)); }
.pg-crumbs { font-size: 13px; color: var(--white-50); margin-bottom: 18px; }
.pg-crumbs a { color: var(--white-70); }
.pg-h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 52px); line-height: 1.12; margin: 12px 0 14px; }
.pg-lede { color: var(--white-90); font-size: 1.08rem; line-height: 1.7; max-width: 760px; }
.pg-lede a { color: var(--menu-price); }
.pg-hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.pg-hero-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,201,60,0.35); }
.pg-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* category nav */
.pg-catnav { position: sticky; top: 72px; z-index: 800; background: var(--bg-darkest); border-bottom: 1px solid var(--white-10); }
.pg-catnav-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.pg-catnav-inner::-webkit-scrollbar { display: none; }
.pg-catnav a { flex: 0 0 auto; color: var(--white-90); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 1px solid var(--white-20); border-radius: 999px; }
.pg-catnav a:hover { background: #fff; color: var(--on-white); }

/* menu */
.pg-menu { padding: 30px 0 70px; }
.pg-cat { scroll-margin-top: 140px; background: var(--bg-card); border: 1px solid var(--white-10); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 26px; box-shadow: var(--shadow); }
.pg-cat-head { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.pg-cat-head img { width: 130px; height: 104px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.pg-h2 { font-family: 'Anton', var(--font-display); font-size: clamp(26px, 3.4vw, 34px); letter-spacing: 0.03em; color: #fff; margin: 0 0 6px; text-transform: uppercase; }
.pg-h3 { color: var(--menu-name); font-size: 1.08rem; font-weight: 800; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.pg-note { color: var(--white-70); font-size: 0.93rem; margin: 0 0 6px; }
.pg-subs { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 4px 34px; }
.pg-items { list-style: none; margin: 0; padding: 0; }
.pg-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--white-10); }
.pg-item-name { color: var(--menu-name); font-weight: 700; }
.pg-item-dots { flex: 1; border-bottom: 2px dotted rgba(255,201,60,0.3); transform: translateY(-4px); min-width: 12px; }
.pg-item-price { color: var(--menu-price); font-weight: 800; white-space: nowrap; }
.pg-add { flex-shrink: 0; min-width: 76px; min-height: 36px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 13.5px;
          background: linear-gradient(135deg, var(--btn-gold-1), var(--btn-gold-2)); color: var(--btn-gold-text); box-shadow: 0 2px 0 var(--btn-gold-edge); }
.pg-add:hover { filter: brightness(1.06); }
.pg-add.added { background: var(--green); color: #fff; box-shadow: none; }
.pg-add:disabled { background: var(--white-10); color: var(--white-50); box-shadow: none; cursor: not-allowed; }
.pg-item.is-soldout .pg-item-name, .pg-item.is-soldout .pg-item-price { opacity: 0.5; text-decoration: line-through; }

.pg-cta { text-align: center; padding: 34px 20px; border: 1px dashed rgba(255,201,60,0.45); border-radius: var(--radius-lg); margin-top: 10px; }
.pg-cta p { color: var(--white-90); margin: 6px 0 18px; }
.pg-why { margin-bottom: 26px; }
.pg-why-list { color: var(--white-90); line-height: 1.9; padding-left: 20px; }
.pg-faq { margin-bottom: 26px; display: flex; flex-direction: column; gap: 12px; }

/* footer */
.pg-footer { border-top: 1px solid var(--white-10); padding: 44px 0 90px; background: var(--bg-dark); }
.pg-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pg-footer-title { font-size: 1rem; font-weight: 800; color: var(--menu-name); margin: 0 0 10px; }
.pg-footer p { color: var(--white-70); margin: 0 0 6px; line-height: 1.6; }
.pg-footer a { color: var(--white-90); }
.pg-copy { text-align: center; color: var(--white-50); font-size: 13px; margin-top: 26px; }

/* cart bar + toast */
.pg-cartbar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 950; max-width: 560px; margin: 0 auto;
              display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px;
              background: #fff; color: var(--on-white); border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.pg-cartbar-btn { border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; cursor: pointer;
                  background: linear-gradient(135deg, var(--btn-gold-1), var(--btn-gold-2)); color: var(--btn-gold-text); }
body.pg-has-cart #chatbot-fab { bottom: 90px !important; }
.pg-toast { position: fixed; left: 50%; top: 86px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; z-index: 1000;
            background: var(--green); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: all 0.25s ease; }
.pg-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
    .pg-nav-toggle { display: block; }
    .pg-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
              background: var(--bg-darkest); border-bottom: 1px solid var(--white-10); padding: 8px 16px 16px; }
    .pg-nav.open { display: flex; }
    .pg-nav a { padding: 14px 4px; border-bottom: 1px solid var(--white-10); }
    .pg-nav-order { margin-top: 12px; }
    .pg-hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pg-cat { padding: 18px 14px; }
    .pg-cat-head img { width: 88px; height: 70px; }
    .pg-subs { grid-template-columns: 1fr; }
    .pg-item { flex-wrap: nowrap; }
    .pg-item-name { font-size: 0.95rem; }
}
