/*
 * TipJarLive (Encore for restaurants) on the shared layout: the bar, the
 * footer and body type on every tipjarlive.com page that uses layouts/app.
 * Loaded only for the tipjarlive brand (config/brands.php 'stylesheet', read
 * by partials/brand-styles), and every rule is scoped to it besides.
 *
 * Palette: oxblood #140A0B, surfaces #1E1012 / #2A1618, crimson #C8102E,
 * deep #901A1D, rose #FF8A93, cream #FFF1E6, muted #B9A3A0, lines #3A2224.
 * Type: Bricolage Grotesque (headlines), Figtree (text).
 */

body[data-brand="tipjarlive"] {
    font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---- The bar (partials/brand-nav). Its styles are inline, hence !important. ---- */
body[data-brand="tipjarlive"] .hp-sticky-nav {
    --hp-accent: #C8102E;
    background: rgba(20, 10, 11, .88) !important;
    border-bottom: 1px solid rgba(255, 241, 230, .07) !important;
    font-family: "Figtree", system-ui, sans-serif;
}
body[data-brand="tipjarlive"] .hp-sticky-nav > a:first-child { gap: 9px !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav > a:first-child img:first-child { height: 30px !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav img[src*="logo-text"] { height: 21px !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav-links { gap: 26px !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav-links > a {
    color: #B9A3A0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
}
body[data-brand="tipjarlive"] .hp-sticky-nav-links > a:hover { color: #FFF1E6 !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav-links > a.hp-nav-cta {
    background: #C8102E !important;
    color: #fff !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 999px !important;
    padding: 9px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 30px -10px rgba(200, 16, 46, .8);
}
body[data-brand="tipjarlive"] .hp-sticky-nav-links > a.hp-nav-cta:hover { background: #901A1D !important; }
body[data-brand="tipjarlive"] .hp-sticky-nav .hp-nav-dropdown { background: #1E1012; border-color: #3A2224; }

@media (max-width: 900px) {
    body[data-brand="tipjarlive"] .hp-sticky-nav-links { gap: 16px !important; }
}
@media (max-width: 600px) {
    body[data-brand="tipjarlive"] .hp-sticky-nav > a:first-child { gap: 6px !important; }
    body[data-brand="tipjarlive"] .hp-sticky-nav > a:first-child img:first-child { height: 25px !important; }
    body[data-brand="tipjarlive"] .hp-sticky-nav img[src*="logo-text"] { height: 17px !important; }
    body[data-brand="tipjarlive"] .hp-sticky-nav-links { gap: 12px !important; }
    body[data-brand="tipjarlive"] .hp-sticky-nav-links > a { font-size: 13px !important; }
    body[data-brand="tipjarlive"] .hp-sticky-nav-links > a.hp-nav-cta { padding: 8px 12px !important; font-size: 12.5px !important; }
}
@media (max-width: 360px) {
    body[data-brand="tipjarlive"] .hp-sticky-nav img[src*="logo-text"] { display: none; }
}

/* ---- Footer (layouts/app) ---- */
body[data-brand="tipjarlive"] .footer { background: #1E1012 !important; border-top-color: #3A2224 !important; }
body[data-brand="tipjarlive"] .footer h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.01em; }
body[data-brand="tipjarlive"] .footer a,
body[data-brand="tipjarlive"] .footer p { color: #B9A3A0 !important; }
body[data-brand="tipjarlive"] .footer a:hover { color: #FFF1E6 !important; }
