/* NEGOCIOWEBPRO - RESTAURANT V2 UNIFIED BRANDING */

body.nwp-restaurant-modern.nwp-unified-branding {
    --nwp-brand-primary: #211916;
    --nwp-brand-secondary: #e8ad55;
    --nwp-brand-on-primary: #ffffff;
    --nwp-brand-on-secondary: #000000;
}

/* HEADER */

body.nwp-unified-branding
.site-header.nwp-signature-header {
    background: var(--nwp-brand-primary) !important;
    background-image: none !important;
    border-bottom-color: var(--nwp-brand-secondary) !important;
    color: var(--nwp-brand-on-primary) !important;
}

body.nwp-unified-branding
.nwp-signature-header .nwp-signature-name,
body.nwp-unified-branding
.nwp-signature-header .nwp-signature-subtitle,
body.nwp-unified-branding
.nwp-signature-header #siteNav a {
    color: var(--nwp-brand-on-primary) !important;
}

body.nwp-unified-branding
.nwp-signature-header .nwp-signature-subtitle {
    opacity: .85;
}

body.nwp-unified-branding
.nwp-signature-header #publicMenuBtn {
    background: transparent !important;
    color: var(--nwp-brand-on-primary) !important;
    border-color: currentColor !important;
}

/* HERO AND CAROUSEL */

body.nwp-unified-branding
#home.hero.nwp-signature-carousel {
    background: var(--nwp-brand-primary) !important;
    border-bottom-color: var(--nwp-brand-secondary) !important;
}

body.nwp-unified-branding
#home .nwp-signature-carousel-intro,
body.nwp-unified-branding
#home .nwp-signature-carousel-controls {
    background: var(--nwp-brand-primary) !important;
    color: var(--nwp-brand-on-primary) !important;
}

body.nwp-unified-branding
#home .nwp-signature-carousel-intro #heroTitle,
body.nwp-unified-branding
#home .nwp-signature-carousel-intro #heroSubtitle,
body.nwp-unified-branding
#home .nwp-signature-carousel-welcome {
    color: var(--nwp-brand-on-primary) !important;
}

body.nwp-unified-branding
#home .nwp-signature-carousel-intro #heroSubtitle {
    opacity: .9;
}

body.nwp-unified-branding
#home .nwp-sc-arrow,
body.nwp-unified-branding
#home .nwp-sc-pause {
    color: var(--nwp-brand-on-primary) !important;
    border-color: currentColor !important;
    background: transparent !important;
}

body.nwp-unified-branding
#home .nwp-sc-dot {
    background: var(--nwp-brand-on-primary) !important;
    opacity: .4;
}

body.nwp-unified-branding
#home .nwp-sc-dot.is-active {
    background: var(--nwp-brand-secondary) !important;
    outline: 1px solid var(--nwp-brand-on-primary);
    opacity: 1;
}

/* PRIMARY ACTIONS */

body.nwp-unified-branding
#home #ctaButton,

body.nwp-restaurant-modern.nwp-unified-branding
#publicLeadForm button[type=submit],

body.nwp-restaurant-modern.nwp-unified-branding
#publicLeadForm input[type=submit],

body.nwp-restaurant-modern.nwp-unified-branding
#publicLeadForm button:not([type]) {

    background: var(--nwp-brand-secondary) !important;
    background-image: none !important;

    color: var(--nwp-brand-on-secondary) !important;

    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-weight: 800;
}

/* CONTACT SURFACE */

body.nwp-restaurant-modern.nwp-unified-branding
#contact {
    background: var(--nwp-brand-primary) !important;
    background-image: none !important;
    border-top-color: var(--nwp-brand-secondary) !important;
    color: var(--nwp-brand-on-primary) !important;
}

body.nwp-unified-branding
#contact > h2,

body.nwp-unified-branding
#contact > p,

body.nwp-unified-branding
#contact #nwpContactDescription,

body.nwp-unified-branding
#contact #publicLeadForm [role=status] {

    color: var(--nwp-brand-on-primary) !important;
}

/* Keep light fields and information cards legible. */

body.nwp-unified-branding
#publicLeadForm input:not([type=hidden]):not([type=submit]):not([type=checkbox]),

body.nwp-unified-branding
#publicLeadForm textarea,

body.nwp-unified-branding
#publicLeadForm select {

    background: #ffffff !important;
    color: #242424 !important;
}

body.nwp-unified-branding
#publicLeadForm input:focus,

body.nwp-unified-branding
#publicLeadForm textarea:focus,

body.nwp-unified-branding
#publicLeadForm select:focus {

    outline: 2px solid var(--nwp-brand-secondary);
    outline-offset: 3px;
}

body.nwp-unified-branding
#contact .nwp-cl-map-card,

body.nwp-unified-branding
#contact .nwp-cl-call,

body.nwp-unified-branding
#contact .nwp-cl-social {

    background: #ffffff !important;
    color: #222222 !important;
}

/* Social and navigation service colors remain official. */

body.nwp-unified-branding
#contact .nwp-cl-social-link {
    background: var(--network-color) !important;
    color: #ffffff !important;
}

body.nwp-unified-branding
#contact .nwp-cl-directions {
    background: #1769df !important;
    color: #ffffff !important;
}

/* NEUTRAL CONTENT SECTIONS */

body.nwp-unified-branding #about,
body.nwp-unified-branding #hoursSection,
body.nwp-unified-branding #menuSection,
body.nwp-unified-branding #gallery,
body.nwp-unified-branding #testimonials,
body.nwp-unified-branding #services {

    background: #ffffff !important;
    color: #242424 !important;
    border-color: #e8e5e0 !important;
}

body.nwp-unified-branding #about h2,
body.nwp-unified-branding #hoursSection h2,
body.nwp-unified-branding #menuSection h2,
body.nwp-unified-branding #gallery h2,
body.nwp-unified-branding #testimonials h2,
body.nwp-unified-branding #services h2 {

    color: #242424 !important;
}

/* MOBILE NAVIGATION */

@media(max-width:900px){

    body.nwp-unified-branding
    .nwp-signature-header #siteNav {

        background: var(--nwp-brand-primary) !important;
        color: var(--nwp-brand-on-primary) !important;
    }
}


/* NWP CLASSIC OVERLAY FIX - STEP 73 */

body.nwp-unified-branding
#home.hero.nwp-signature-carousel.nwp-classic-overlay {

    display: grid !important;

    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto auto;

    gap: 0 !important;

    position: relative;
    isolation: isolate;

    height: auto !important;
    min-height: 0 !important;

    padding: 0 !important;
}

/* Image and controls become independent grid items. */

body.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-stage {

    display: contents !important;
}

/* Promotional image occupies the full first row. */

body.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-image {

    grid-area: 1 / 1 / 2 / 2;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 8;

    object-fit: cover !important;
    object-position: center !important;

    max-height: 650px;

    margin: 0 !important;

    align-self: stretch;

    z-index: 1;
}

/* Text is layered over the SAME grid row.
   Override the solid Unified Branding background. */

body.nwp-restaurant-modern.nwp-unified-branding
#home.hero.nwp-signature-carousel.nwp-classic-overlay
.nwp-signature-carousel-intro {

    grid-area: 1 / 1 / 2 / 2;

    position: relative !important;

    align-self: stretch;
    justify-self: stretch;

    display: flex !important;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    min-width: 0;

    height: auto !important;

    box-sizing: border-box;

    padding: 28px 22px !important;
    margin: 0 !important;

    gap: 14px;

    background: rgba(0,0,0,.48) !important;

    color: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;

    pointer-events: none;

    z-index: 3;
}

/* Keep text readable regardless of branding palette. */

body.nwp-restaurant-modern.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-intro #heroTitle,

body.nwp-restaurant-modern.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-intro #heroSubtitle,

body.nwp-restaurant-modern.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-welcome {

    color: #ffffff !important;

    opacity: 1 !important;

    text-shadow: 0 2px 12px rgba(0,0,0,.85) !important;
}

body.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-intro #heroTitle {

    font-size: clamp(30px,5vw,56px) !important;
    line-height: 1.12;
}

body.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-intro #ctaButton {

    pointer-events: auto;

    background: var(--nwp-brand-secondary) !important;

    color: var(--nwp-brand-on-secondary) !important;

    box-shadow: 0 6px 20px rgba(0,0,0,.25) !important;
}

/* Controls remain beneath the image and text. */

body.nwp-unified-branding
#home.nwp-classic-overlay
.nwp-signature-carousel-controls {

    grid-area: 2 / 1 / 3 / 2;

    position: relative;

    background: var(--nwp-brand-primary) !important;

    z-index: 5;
}

@media(max-width:767px){

    body.nwp-unified-branding
    #home.nwp-classic-overlay
    .nwp-signature-carousel-image {

        aspect-ratio: 4 / 5;

        max-height: none;

        object-fit: cover !important;
    }

    body.nwp-unified-branding
    #home.nwp-classic-overlay
    .nwp-signature-carousel-intro #heroTitle {

        font-size: clamp(28px,7.5vw,42px) !important;
    }

    body.nwp-unified-branding
    #home.nwp-classic-overlay
    .nwp-signature-carousel-intro #heroSubtitle {

        font-size: 15px !important;

        line-height: 1.5;
    }
}

/* END NWP CLASSIC OVERLAY FIX */
