/* Shared navigation, kept separate from the shop's product and checkout controls. */
body.sj-site .sj-site-header {
    --sj-ink: #172f38;
    --sj-deep: #102832;
    --sj-gold: #e1c796;
    background: #fcfaf5;
    border-bottom-color: #dbd4c7;
}
body.sj-site .sj-site-header-inner {
    column-gap: clamp(16px, 2.25vw, 36px);
}
body.sj-site .sj-site-header .sj-site-wordmark {
    font-weight: 730;
    letter-spacing: -.045em;
}
body.sj-site .sj-site-header .sj-site-wordmark small {
    font-weight: 610;
    color: #536165;
}
body.sj-site .sj-site-header .wp-block-navigation__container {
    gap: clamp(12px, 1.55vw, 26px);
}
body.sj-site .sj-site-header .wp-block-navigation-item__content {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #263e45;
    font-size: 13px;
    font-weight: 640;
    line-height: 1.4;
}
body.sj-site .sj-site-header .wp-block-navigation-item__content[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #967447;
}
body.sj-site .sj-site-header .sj-nav-book > a {
    padding: 9px 14px;
    color: #203b43;
    background: transparent;
    border-color: #b3b5a8;
    border-radius: 4px;
}
body.sj-site .sj-site-header .wp-block-navigation-item__content[href*="/bestil-take-away/"] {
    padding: 9px 15px;
    border: 1px solid #193842;
    border-radius: 4px;
    background: #193842;
    color: #fff;
}
body.sj-site .sj-site-header .sj-site-cart a {
    width: 44px;
    min-height: 44px;
    border: 1px solid #d5d4c9;
    border-radius: 50%;
    background: #fffefa;
}
body.sj-site .sj-site-header .sj-site-cart .cart-count {
    top: -2px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border: 1px solid #fcfaf5;
    background: #193842;
    line-height: 16px;
}
body.sj-site .sj-site-header .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
body.sj-site .sj-site-header .sj-language-switch { gap: 1px; }
body.sj-site .sj-site-header .sj-language-switch a {
    min-width: 31px;
    padding: 0 4px;
    font-weight: 650;
}
body.sj-site .sj-site-header :is(a, button):focus-visible,
body.sj-site:not(.sj-site-commerce) .sj-site-main :is(a, button):focus-visible,
body.sj-site .sj-site-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #785622;
}

/* The same colors carry the homepage through the existing editorial sections. */
body.sj-site:not(.sj-site-commerce) {
    --sj-ink: #172f38;
    --sj-deep: #102832;
    --sj-gold: #e1c796;
    --sj-line: #dcd6ca;
    --sj-muted: #526064;
    --sj-paper: #fcfaf5;
    --sj-stone: #f0ede4;
}
body.sj-site .sj-site-hero::after {
    background: linear-gradient(90deg, rgba(8,26,32,.84) 0%, rgba(13,29,36,.62) 37%, rgba(19,33,35,.16) 77%);
}
body.sj-site .sj-site-hero .sj-site-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(56px, 6.2vw, 90px);
    font-weight: 525;
    line-height: 1.01;
    letter-spacing: -.066em;
    color: #fffdf5;
}
body.sj-site .sj-site-hero-copy .sj-site-kicker {
    margin-bottom: 18px !important;
    color: #eed8ad;
    font-size: 11px;
    letter-spacing: .17em;
}
body.sj-site .sj-site-hero-copy .sj-site-lead {
    max-width: 38ch;
    color: #fffdf7;
    font-size: clamp(15px, 1.14vw, 17px);
    line-height: 1.65;
}
body.sj-site .sj-site-hero-copy .sj-site-promotion {
    color: #eee3cc;
    font-size: 12px;
    line-height: 1.6;
}
body.sj-site:not(.sj-site-commerce) .sj-site-actions .wp-block-button__link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 680;
}
body.sj-site .sj-site-hero-copy .sj-site-actions .wp-block-button__link {
    background: #e8cd98;
    border-color: #e8cd98;
    color: #182b31;
}
body.sj-site .sj-site-hero-copy .sj-site-actions .sj-site-secondary .wp-block-button__link {
    background: rgba(11,29,34,.34);
    border-color: #f2ead7a8;
    color: #fff;
}
body.sj-site :is(.sj-site-introduction, .sj-site-dining, .sj-site-visit) .sj-site-wrap,
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-main > .sj-site-wrap {
    padding-block: clamp(52px, 6.1vw, 87px);
}
body.sj-site :is(.sj-site-introduction, .sj-site-dining, .sj-site-visit) .sj-site-heading,
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-main > .sj-site-wrap .sj-site-heading {
    font-size: clamp(34px, 3.9vw, 57px);
    line-height: 1.08;
    font-weight: 530;
    letter-spacing: -.052em;
    text-wrap: balance;
}
body.sj-site :is(.sj-site-introduction, .sj-site-dining, .sj-site-visit) :is(.sj-site-lead, .sj-site-copy p),
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-main > .sj-site-wrap .sj-site-lead {
    max-width: 59ch;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.78;
}
body.sj-site :is(.sj-site-introduction, .sj-site-visit) .sj-site-kicker,
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-main > .sj-site-wrap .sj-site-kicker {
    color: #74572f;
    font-size: 11px;
}
body.sj-site .sj-site-dining { background: #102d36; }
body.sj-site .sj-site-dining :is(.sj-site-lead, .sj-site-price-caption) { color: #e6e2d9; }
body.sj-site .sj-site-dining .sj-site-price { border-color: #8f8977; }
body.sj-site .sj-site-dining .sj-site-price-day { color: #efdfbf; font-size: 13px; }
body.sj-site .sj-site-dining .sj-site-price-value { font-variant-numeric: lining-nums tabular-nums; }
body.sj-site .sj-site-visit .sj-site-contact-line,
body.sj-site .sj-site-visit .sj-site-hour-row p { font-size: 14px; }
body.sj-site .sj-site-visit .sj-site-hour-value { font-weight: 650; }
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-wide-photo {
    max-width: 1280px;
    margin-bottom: clamp(38px, 5vw, 72px) !important;
}
body.sj-site:is(.page-id-18, .page-id-52740) .sj-site-wide-photo img {
    height: clamp(245px, 35vw, 480px);
    border-radius: 3px;
}

/* Keep the native footer information readable on the darker surface. */
body.sj-site .sj-site-footer {
    background: #102832;
    color: #e8e7de;
}
body.sj-site .sj-site-footer-inner {
    padding-top: clamp(44px, 5vw, 72px);
}
body.sj-site .sj-site-footer .sj-site-footer-title {
    font-size: clamp(32px, 3.7vw, 50px);
    line-height: 1.12;
}
body.sj-site .sj-site-footer .sj-site-kicker {
    color: #e3c38d;
    font-weight: 650;
}
body.sj-site .sj-site-footer h3 {
    margin-bottom: 13px;
    color: #f6eddb;
    font-size: 15px;
}
body.sj-site .sj-site-footer :is(p, a, .sj-site-hour-row p) {
    color: #dedfd6;
    font-size: 13px;
}
body.sj-site .sj-site-footer a:hover { color: #fff; }
body.sj-site .sj-site-footer-bottom :is(p, a) { font-size: 12px; }
body.sj-site .sj-site-footer :is(.sj-site-footer-head, .sj-site-footer-bottom, .sj-site-hour-row) {
    border-color: #ffffff29;
}

@media (hover: hover) {
    body.sj-site .sj-site-header .wp-block-navigation-item__content:hover {
        color: #77572f;
        text-decoration: underline;
        text-underline-offset: 5px;
    }
    body.sj-site .sj-site-header .wp-block-navigation-item__content[href*="/bestil-take-away/"]:hover {
        color: #fff;
        background: #28505a;
    }
    body.sj-site .sj-site-header .sj-site-cart a:hover { border-color: #697e80; }
    body.sj-site .sj-site-hero-copy .sj-site-actions .wp-block-button__link:hover {
        background: #f3dfb6;
        border-color: #f3dfb6;
        color: #132a31;
    }
    body.sj-site .sj-site-hero-copy .sj-site-actions .sj-site-secondary .wp-block-button__link:hover {
        background: #fffaf0;
        border-color: #fffaf0;
        color: #132a31;
    }
}
@media (max-width: 1050px) {
    body.sj-site .sj-site-header-inner { column-gap: 10px; }
    body.sj-site .sj-site-header .is-menu-open .wp-block-navigation__container {
        width: 100%;
        align-items: stretch;
        gap: 5px;
    }
    body.sj-site .sj-site-header .is-menu-open .wp-block-navigation-item__content {
        min-height: 48px;
    }
    body.sj-site .sj-site-header .is-menu-open .wp-block-navigation-item__content[href*="/bestil-take-away/"] {
        background: #e8cd98;
        border-color: #e8cd98;
        color: #172f38 !important;
    }
    body.sj-site .sj-site-header .is-menu-open .sj-nav-book > a {
        background: transparent;
        border-color: #d2bf99;
        color: #fff !important;
    }
}
@media (max-width: 780px) {
    body.sj-site .sj-site-hero::after {
        background: linear-gradient(90deg, rgba(8,26,32,.82), rgba(13,29,36,.55) 75%, rgba(13,29,36,.47));
    }
    body.sj-site .sj-site-hero .sj-site-hero-copy h1 { font-size: clamp(44px, 8vw, 58px); }
    body.sj-site .sj-site-hero-copy .sj-site-kicker { margin-bottom: 12px !important; }
    body.sj-site .sj-site-hero-copy .sj-site-lead { font-size: 15px; }
}
@media (max-width: 480px) {
    body.sj-site .sj-site-header-inner { padding: 8px 12px; column-gap: 6px; }
    body.sj-site .sj-site-header .sj-site-brand { min-width: 0; }
    body.sj-site .sj-site-header .sj-site-wordmark small { font-size: 7px; }
    body.sj-site .sj-site-header .sj-language-switch a { min-width: 32px; }
    body.sj-site .sj-site-header .sj-site-cart a { min-width: 44px; }
    body.sj-site:not(.sj-site-commerce) .sj-site-actions .wp-block-button__link { padding-inline: 15px; }
    body.sj-site .sj-site-footer a[href^="mailto:"] { font-size: 12px; }
}
body.sj-site .sj-site-header .b2b-opening-banner {
    --b2b-opening-open-bg: #183541;
    --b2b-opening-open-fg: #fffaf0;
}
body.sj-site .sj-site-header .b2b-opening-status.is-open .b2b-opening-dot { background: #a4d5bd; }
@media (max-width: 550px) {
    body.sj-site .sj-ny-hero .sj-ny-promo { grid-template-columns: minmax(0, 1fr) 96px; }
    body.sj-site .sj-ny-promo .sj-ny-poster > span { white-space: nowrap; font-size: 11px; }
}
