/* Customer-wide theme to match homepage look (non-admin) */

#cust-root {
  --ink-900: #f3ede4;
  --ink-850: #ece5da;
  --ink-800: #f7f1e8;
  --ink-750: #efe7dc;
  --ink-700: #ffffff;
  --ink-650: #fbf7f1;
  --ink-600: #eadfce;
  --line: rgba(28, 20, 16, 0.14);
  --line-soft: rgba(28, 20, 16, 0.09);
  --brand-400: #9f2e42;
  --brand-500: #8d2437;
  --brand-600: #7a2836;
  --brand-700: #66212e;
  --brand-glow: rgba(122, 40, 54, 0.12);
  --cream: #1c1410;
  --cream-2: #2f241d;
  --sand: #6f6156;
  --muted: #7f7063;
  --faint: #9a8b7b;
}

#cust-root {
  background: var(--ink-900);
  color: var(--cream);
}

#cust-root main {
  background: var(--ink-900);
}

/* Do not disrupt homepage bespoke styles */
#cust-root[data-page="home"] main,
#cust-root[data-page="menu"] main,
#cust-root[data-page="gallery"] main,
#cust-root[data-page="about"] main,
#cust-root[data-page="promos"] main,
#cust-root[data-page="giftcards"] main,
#cust-root[data-page="contact"] main,
#cust-root[data-page="error404"] main,
#cust-root[data-page="offline"] main {
  background: transparent;
}

/* Buttons */
#cust-root .btn-gold,
#cust-root .nm-btn--primary {
  background: var(--brand-600);
  color: #fff;
  border: 1px solid rgba(122, 40, 54, 0.55);
  box-shadow: 0 8px 22px rgba(122, 40, 54, 0.2);
}

#cust-root .btn-gold:hover,
#cust-root .nm-btn--primary:hover {
  background: #6a2230;
}

#cust-root .btn-ghost,
#cust-root .nm-btn--outline {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-600);
  border: 1px solid rgba(122, 40, 54, 0.35);
}

#cust-root .btn-ghost:hover,
#cust-root .nm-btn--outline:hover {
  background: #fff;
  color: #5b1d28;
  border-color: rgba(122, 40, 54, 0.5);
}

/* Unified customer header — solid at top, glassy when scrolled */
#cust-root #cust-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(243, 237, 228, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 10px 30px rgba(28, 20, 16, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

#cust-root #cust-header.is-scrolled {
  background: rgba(243, 237, 228, 0.42) !important;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(28, 20, 16, 0.08) !important;
  box-shadow: none;
}

#cust-root #cust-header .cust-navlinks a {
  color: rgba(28, 20, 16, 0.76);
  font-family: var(--font-body);
  font-size: var(--type-body-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
}

#cust-root #cust-header .cust-navlinks a:hover,
#cust-root #cust-header .cust-navlinks a.active {
  color: var(--brand-600);
  background: rgba(122, 40, 54, 0.08);
}

#cust-root #cust-header .btn-ghost,
#cust-root #cust-header #cust-cart-btn,
#cust-root #cust-header .cust-burger {
  color: var(--brand-600) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(122, 40, 54, 0.28) !important;
  box-shadow: none;
}

#cust-root #cust-header .btn-ghost:hover,
#cust-root #cust-header #cust-cart-btn:hover,
#cust-root #cust-header .cust-burger:hover {
  color: #5b1d28 !important;
  background: #fff !important;
  border-color: rgba(122, 40, 54, 0.45) !important;
}

#cust-root #cust-header .btn-gold {
  background: var(--brand-600) !important;
  color: #fff !important;
  border: 1px solid rgba(122, 40, 54, 0.55) !important;
  box-shadow: 0 8px 22px rgba(122, 40, 54, 0.2) !important;
}

#cust-root #cust-header .btn-gold:hover {
  background: #6a2230 !important;
}

#cust-root #cust-header #cust-cart-btn,
#cust-root #cust-header .cust-burger {
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
}

#cust-root #cust-header #cust-cart-btn {
  display: grid;
  border-radius: 999px;
}

#cust-root #cust-header .cust-burger {
  display: none;
  border-radius: 10px;
}

@media (max-width: 1080px) {
  #cust-root #cust-header .cust-burger {
    display: grid !important;
  }
}

#cust-root .cust-navlinks a {
  color: rgba(28, 20, 16, 0.76);
}

#cust-root .cust-navlinks a:hover,
#cust-root .cust-navlinks a.active {
  color: var(--brand-600);
  background: rgba(122, 40, 54, 0.08);
}

#cust-root #cust-cart-btn,
#cust-root .cust-burger {
  color: var(--brand-600);
  border-color: rgba(122, 40, 54, 0.28);
  background: rgba(255, 255, 255, 0.88);
}

/* Common cards/panels */
#cust-root .cust-card,
#cust-root .cust-click-card,
#cust-root .cust-dish-card,
#cust-root .cust-review-card,
#cust-root .cust-promo,
#cust-root .cust-order-summary,
#cust-root .cust-panel,
#cust-root .cust-foot-card,
#cust-root .cust-hub-card {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(28, 20, 16, 0.06);
}

/* Menu page dark sticky bar override */
#cust-root .cust-menu-sticky {
  background: rgba(243, 237, 228, 0.96) !important;
  border-bottom: 1px solid var(--line) !important;
}

#cust-root .cust-dish-card-media,
#cust-root .cust-dish-card-media .cust-img-frame {
  background: #efe6d9 !important;
}

/* Inputs/forms */
#cust-root .cust-inp,
#cust-root input,
#cust-root select,
#cust-root textarea {
  background-color: #fff;
  color: var(--cream);
  border-color: var(--line);
}

#cust-root .cust-inp:focus,
#cust-root input:focus,
#cust-root select:focus,
#cust-root textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(122, 40, 54, 0.1);
}

#cust-root .eyebrow {
  color: var(--brand-600);
}

#cust-root .cust-page-head,
#cust-root .cust-page-head h1,
#cust-root .cust-page-head h2,
#cust-root .cust-page-head p {
  color: var(--cream) !important;
}

/* Footer consistency */
#cust-root #cust-footer,
#cust-root .nm-foot,
#cust-root .cust-site-end {
  background: var(--ink-900);
  color: var(--cream);
}

#cust-root .cust-foot-col a,
#cust-root .nm-foot__col a {
  color: var(--muted);
}

#cust-root .cust-foot-col a:hover,
#cust-root .nm-foot__col a:hover {
  color: var(--brand-600);
}

/* Home-style CTA + footer on all customer pages */
#cust-root .nm-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

#cust-root .nm-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-eyebrow);
  font-weight: var(--type-weight-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

#cust-root .nm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--type-btn);
  font-weight: var(--type-weight-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

#cust-root .nm-btn--primary {
  background: var(--brand-600);
  color: #fff;
  border: 1px solid rgba(122, 40, 54, 0.55);
  box-shadow: 0 8px 24px rgba(122, 40, 54, 0.25);
}

#cust-root .nm-btn--outline {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-600);
  border: 1.5px solid rgba(122, 40, 54, 0.35);
}

#cust-root .nm-foot {
  background: var(--ink-900);
  color: var(--cream);
  border-top: 1px solid var(--line);
}

#cust-root .nm-foot__cta {
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
  background:
    linear-gradient(0deg, rgba(28, 20, 16, 0.28), rgba(28, 20, 16, 0.28)),
    url('/images/footer.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#cust-root .nm-foot__cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

#cust-root .nm-foot__cta h2 {
  margin-top: 10px;
  max-width: 700px;
  font-family: var(--font-heading);
  font-size: var(--type-h2);
  line-height: var(--type-leading-heading);
  color: var(--brand-600);
}

#cust-root .nm-foot__cta p {
  margin-top: 12px;
  max-width: 620px;
  font-size: var(--type-body);
  line-height: var(--type-leading-body);
  color: rgba(46, 15, 22, 0.8);
}

#cust-root .nm-foot__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cust-root .nm-foot__main {
  padding: 56px 0 32px;
}

#cust-root .nm-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

#cust-root .nm-foot__brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

#cust-root .nm-foot__col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

#cust-root .nm-foot__col a,
#cust-root .nm-foot__col p {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
}

#cust-root .nm-foot__hours {
  margin-top: 8px;
}

#cust-root .nm-foot__hours-note {
  font-size: 13px;
  opacity: 0.85;
}

#cust-root .nm-foot__phone {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
}

#cust-root .nm-foot__phone:hover {
  color: var(--brand-600);
}

#cust-root .nm-foot__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

#cust-root .nm-foot__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}

#cust-root .nm-foot__base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

#cust-root .nm-foot__base p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

#cust-root .nm-foot__credit {
  margin-top: 8px;
}

#cust-root .nm-foot__credit a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cust-root .nm-foot__credit a:hover {
  color: var(--cream);
}

#cust-root .nm-foot .cust-logo [style*="brand-500"] {
  color: var(--brand-600) !important;
}

#cust-root .nm-foot .cust-logo [style*="cream"] {
  color: var(--cream) !important;
}

@media (max-width: 960px) {
  #cust-root .nm-foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  #cust-root .nm-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cust-root .nm-foot__grid {
    grid-template-columns: 1fr;
  }

  #cust-root .nm-foot__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  #cust-root .nm-foot__cta-actions {
    flex-direction: column;
    width: 100%;
  }

  #cust-root .nm-foot__cta-actions .nm-btn {
    width: 100%;
  }
}

/* Contact page — keep select chevron visible after global input styles */
#cust-root[data-page="contact"] select.ct-inp {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 50px;
  padding-right: 44px;
  cursor: pointer;
  background-color: #fff;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

#cust-root[data-page="contact"] select.ct-inp:focus {
  background-color: #fff;
  background-image: var(--select-chevron);
}
