/*
  v690 Customer Branding + Footer Integrity
  Customer/public surfaces only. No order, payment, table-session, cart or staff behavior.

  The configured Branding palette is the single visual source of truth. Brand-heavy
  surfaces are deliberately darkened before using white text so light theme colors do
  not create unreadable controls. Light cards/backgrounds keep the configured customer
  background/card colors.
*/
:root{
  --customer-brand-v690:var(--customer-theme-color,var(--brand,#7a1f2b));
  --customer-accent-v690:var(--customer-text-color,var(--ink,#7a1f2b));
  --customer-bg-v690:var(--customer-bg,#fffaf4);
  --customer-card-v690:var(--customer-card-bg,#fff);
  --customer-ink-v690:var(--customer-text-color,var(--ink,#111827));
  --customer-muted-v690:#64748b;
  --customer-line-v690:rgba(15,23,42,.12);
  --customer-brand-action-v690:#5b2430;
  --customer-footer-bg-v690:#1f1a1a;
  --customer-footer-text-v690:#fff;
  --customer-footer-muted-v690:#eee7e3;
  --customer-brand-soft-v690:#fff6f4;
}
@supports (color:color-mix(in srgb,#000,#fff)){
  :root{
    --customer-muted-v690:color-mix(in srgb,var(--customer-ink-v690),transparent 42%);
    --customer-line-v690:color-mix(in srgb,var(--customer-ink-v690),transparent 88%);
    --customer-brand-action-v690:color-mix(in srgb,var(--customer-brand-v690),#111827 60%);
    --customer-footer-bg-v690:color-mix(in srgb,var(--customer-brand-v690),#111827 72%);
    --customer-footer-muted-v690:color-mix(in srgb,#fff,var(--customer-footer-bg-v690) 18%);
    --customer-brand-soft-v690:color-mix(in srgb,var(--customer-brand-v690),#fff 91%);
  }
}

/* Main order storefront: align footer with the configured customer brand instead of a fixed brown. */
body.shop-page{background-color:var(--customer-bg-v690)!important;color:var(--customer-ink-v690)}
body.shop-page .customer-public-footer-v662{
  background:var(--customer-footer-bg-v690)!important;
  color:var(--customer-footer-text-v690)!important;
  border-top:1px solid rgba(255,255,255,.14);
}
body.shop-page .customer-public-footer-v662>div>span,
body.shop-page .customer-public-footer-v662 .footer-ownership-v672>span{color:var(--customer-footer-muted-v690)!important}
body.shop-page .customer-public-footer-v662 a,
body.shop-page .customer-public-footer-v662 nav a,
body.shop-page .customer-public-footer-v662 strong{color:var(--customer-footer-text-v690)!important}

/* Public menu/about/catering/contact pages use the same branding palette as /order. */
body.public-page-v667{
  background:var(--customer-bg-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.public-page-v667 .public-header-v662{
  background:var(--customer-card-v690)!important;
  border-bottom-color:var(--customer-line-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.public-page-v667 .public-brand-v662 small,
body.public-page-v667 .category-grid-v662 small,
body.public-page-v667 .menu-grid-v662 p,
body.public-page-v667 .public-info-v671>article p{color:var(--customer-muted-v690)!important}
body.public-page-v667 .public-header-v662 nav .order,
body.public-page-v667 .button{
  background:var(--customer-brand-action-v690)!important;
  border-color:var(--customer-brand-action-v690)!important;
  color:#fff!important;
}
body.public-page-v667 .public-hero-v662{
  background:linear-gradient(135deg,var(--customer-brand-action-v690),var(--customer-footer-bg-v690))!important;
  color:#fff!important;
}
body.public-page-v667 .public-hero-v662 .eyebrow,
body.public-page-v667 .public-hero-v662>p{color:#fff!important}
body.public-page-v667 .category-grid-v662>a,
body.public-page-v667 .menu-grid-v662 article,
body.public-page-v667 .item-detail-v662,
body.public-page-v667 .information-grid-v662>article,
body.public-page-v667 .information-grid-v662>aside{
  background:var(--customer-card-v690)!important;
  border-color:var(--customer-line-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.public-page-v667 .price,
body.public-page-v667 .text-link{color:var(--customer-brand-action-v690)!important}
body.public-page-v667 .public-footer-v662{
  background:var(--customer-footer-bg-v690)!important;
  color:#fff!important;
}
body.public-page-v667 .public-footer-v662>div>span,
body.public-page-v667 .public-footer-v662 .footer-ownership-v672>span{color:var(--customer-footer-muted-v690)!important}
body.public-page-v667 .public-footer-v662 a,
body.public-page-v667 .public-footer-v662 strong{color:#fff!important}

/* Technology-provider credit: never inherit an unreadable strong-color from a different footer surface. */
.customer-public-footer-v662 .technology-credit-v672,
.public-footer-v662 .technology-credit-v672{
  min-height:42px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#fff!important;
}
.customer-public-footer-v662 .technology-credit-v672 strong,
.public-footer-v662 .technology-credit-v672 strong{color:inherit!important}
.customer-public-footer-v662 .technology-credit-v672 img,
.public-footer-v662 .technology-credit-v672 img,
.reservation-ownership-v672 .technology-credit-v672 img{
  width:30px;
  height:30px;
  padding:3px;
  background:#fff!important;
  border:1px solid rgba(15,23,42,.1);
  border-radius:8px;
  object-fit:contain;
}

/* Reservation page: it was still orange/hardcoded and its light footer inherited white provider text. */
body.reserve-v49{
  background:linear-gradient(145deg,var(--customer-bg-v690),var(--customer-brand-soft-v690))!important;
  color:var(--customer-ink-v690)!important;
}
body.reserve-v49 .reserve-card-v49{
  background:var(--customer-card-v690)!important;
  border-color:var(--customer-line-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.reserve-v49 .reserve-brand-v49>div,
body.reserve-v49 #reserve-form-v49 button{background:var(--customer-brand-action-v690)!important;color:#fff!important}
body.reserve-v49 .reserve-card-v49 header span,
body.reserve-v49 .back-v49{color:var(--customer-brand-action-v690)!important}
body.reserve-v49 .reserve-brand-v49 small,
body.reserve-v49 .reserve-card-v49 p{color:var(--customer-muted-v690)!important}
body.reserve-v49 #reserve-form-v49 label{color:var(--customer-ink-v690)!important}
body.reserve-v49 #reserve-form-v49 input,
body.reserve-v49 #reserve-form-v49 textarea{
  background:var(--customer-card-v690)!important;
  color:var(--customer-ink-v690)!important;
  border-color:var(--customer-line-v690)!important;
}
.reservation-ownership-v672{
  color:var(--customer-ink-v690)!important;
  border-top:1px solid var(--customer-line-v690);
}
.reservation-ownership-v672>a{color:var(--customer-ink-v690)!important}
.reservation-ownership-v672 .technology-credit-v672{
  min-height:42px;
  padding:6px 10px;
  border:1px solid var(--customer-line-v690);
  border-radius:12px;
  background:var(--customer-brand-soft-v690);
  color:var(--customer-ink-v690)!important;
}
.reservation-ownership-v672 .technology-credit-v672 strong{color:var(--customer-ink-v690)!important}

/* Customer login/account: replace legacy orange-only palette with current Branding settings. */
body.customer-page-v115{
  background:var(--customer-bg-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.customer-page-v115 .customer-card-v115,
body.customer-page-v115 .metric-v115,
body.customer-page-v115 .item-v115{
  background:var(--customer-card-v690)!important;
  border-color:var(--customer-line-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.customer-page-v115 .customer-top-v115 p,
body.customer-page-v115 .muted-v115,
body.customer-page-v115 .metric-v115 span{color:var(--customer-muted-v690)!important}
body.customer-page-v115 .btn-v115,
body.customer-page-v115 .customer-account-pill-v115.orange,
body.customer-page-v115 .coupon-row-v121 button{
  background:var(--customer-brand-action-v690)!important;
  color:#fff!important;
}
body.customer-page-v115 .btn-soft-v115,
body.customer-page-v115 .customer-account-pill-v115.light,
body.customer-page-v115 .coupon-card-v120,
body.customer-page-v115 .coupon-box-v121{
  background:var(--customer-brand-soft-v690)!important;
  color:var(--customer-ink-v690)!important;
  border-color:var(--customer-line-v690)!important;
}
body.customer-page-v115 .form-v115 input,
body.customer-page-v115 .form-v115 textarea{
  background:var(--customer-card-v690)!important;
  color:var(--customer-ink-v690)!important;
  border-color:var(--customer-line-v690)!important;
}

/* Compliance/privacy surfaces already use variables; connect those variables to Branding. */
body.compliance-page-v228{
  --customer-bg:var(--customer-bg-v690);
  --customer-card-bg:var(--customer-card-v690);
  --customer-text:var(--customer-ink-v690);
  --customer-muted:var(--customer-muted-v690);
  --customer-primary:var(--customer-brand-action-v690);
  --customer-surface:var(--customer-brand-soft-v690);
  --customer-border:var(--customer-line-v690);
  --customer-on-primary:#fff;
}

/* Tracking / confirmation: standardize page background and primary action palette without touching order state logic. */
body.track-v42,
body.confirmation-page-v20{
  background-color:var(--customer-bg-v690)!important;
  color:var(--customer-ink-v690)!important;
}
body.track-v42 .track-footer-v42 a,
body.track-v42 .track-footer-v42 button,
body.confirmation-page-v20 .confirm-actions-v20 a{
  border-color:var(--customer-line-v690)!important;
}

@media(max-width:620px){
  .customer-public-footer-v662 .footer-ownership-v672,
  .public-footer-v662 .footer-ownership-v672,
  .reservation-ownership-v672{gap:12px}
  .technology-credit-v672{max-width:100%;white-space:normal}
}
