/* ==========================================================================
   Salaam Bombay — 2026 layout refresh
   Loads after the original theme CSS and overrides it. Colours and fonts are
   the theme's own (orange #E07415, gold #A59285, Josefin Sans + Muli/Mulish).
   ========================================================================== */

:root {
    --sb-orange: #E07415;
    --sb-orange-dark: #c4630f;
    --sb-amber: #FFBF29;
    --sb-gold: #A59285;
    --sb-gold-light: #e6ddd3;
    --sb-blue: #0D3B66;
    --sb-cream: #f7f3ee;
    --sb-sand: #efe9e1;
    --sb-ink: #2b2420;
    --sb-muted: #6b6058;
    --sb-line: #e6ddd2;
    --sb-white: #fff;

    --sb-head: 'Josefin Sans', 'Segoe UI', sans-serif;
    --sb-body: 'Mulish', 'Muli', 'Segoe UI', Roboto, sans-serif;

    --sb-radius: 18px;
    --sb-radius-sm: 12px;
    --sb-shadow: 0 18px 40px -22px rgba(43, 36, 32, 0.45);
    --sb-shadow-sm: 0 6px 20px -12px rgba(43, 36, 32, 0.35);

    --sb-header-h: 76px;
    --sb-max: 1200px;
    --sb-gutter: clamp(16px, 4vw, 40px);
}

@media (max-width: 1199.98px) {
    :root { --sb-header-h: 64px; }
}

/* ---------- Base ---------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
    font-family: var(--sb-body);
    color: var(--sb-ink);
    background: var(--sb-white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body p { font-family: var(--sb-body); font-weight: 400; }

body h1, body h2, body h3 { font-family: var(--sb-head); color: var(--sb-ink); }
body h4, body h5, body h6 { font-family: var(--sb-body); }

a { color: var(--sb-orange); }
a:hover { color: var(--sb-orange-dark); }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--sb-orange); outline-offset: 2px; }

#main { margin-top: 0 !important; padding: 0; }
body.sb-no-hero #main { padding-top: var(--sb-header-h); }

.sb-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--sb-ink);
    color: #fff;
    border-radius: 8px;
}
.sb-skip:focus { top: 12px; color: #fff; }

/* Leftover floating WPML switcher and old cookie bar overlap: keep tidy */
.wpml-ls-statics-footer,
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-shortcode_actions { display: none; }

/* ---------- Buttons ------------------------------------------------------- */

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--sb-head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sb-btn:hover { transform: translateY(-1px); }

.sb-btn--primary { background: var(--sb-orange); color: #fff !important; }
.sb-btn--primary:hover { background: var(--sb-orange-dark); }

.sb-btn--ghost { border-color: var(--sb-orange); color: var(--sb-orange) !important; background: transparent; }
.sb-btn--ghost:hover { background: var(--sb-orange); color: #fff !important; }

.sb-eyebrow {
    margin: 0 0 10px;
    font-family: var(--sb-head) !important;
    font-weight: 600 !important;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sb-orange);
}

/* ---------- Header -------------------------------------------------------- */

.sb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--sb-header-h);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 var(--sb-line);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* Blur only on wide screens: backdrop-filter makes the header the containing
   block for position:fixed children, which would clip the mobile menu panel. */
@supports (backdrop-filter: blur(8px)) {
    @media (min-width: 1200px) {
        .sb-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); }
    }
}
body.admin-bar .sb-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sb-header { top: 46px; } }

/* Transparent over a photo hero until the page is scrolled */
body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-header {
    background: linear-gradient(rgba(20, 15, 12, 0.6), rgba(20, 15, 12, 0));
    box-shadow: none;
    backdrop-filter: none;
}

.sb-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--sb-gutter);
}

.sb-brand { display: block; flex: 0 0 auto; margin: 0; padding: 0; }
.sb-brand img { display: block; height: 52px; width: auto; border-radius: 4px; }
@media (max-width: 1199.98px) { .sb-brand img { height: 42px; } }

.sb-nav { margin-left: auto; display: flex; align-items: center; }

.sb-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sb-nav__list > li { margin: 0; padding: 0; background: none !important; }

.sb-nav__list a {
    display: block;
    padding: 10px 12px;
    border-radius: 999px;
    font-family: var(--sb-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sb-ink) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}
.sb-nav__list a:hover { color: var(--sb-orange) !important; }
.sb-nav__list .current-menu-item > a,
.sb-nav__list .current_page_item > a { color: var(--sb-orange) !important; }

/* Language items that WPML adds to the menu */
.sb-nav__list .wpml-ls-item a { padding: 8px 7px; font-size: 13px; opacity: 0.7; }
.sb-nav__list .wpml-ls-current-language a { opacity: 1; color: var(--sb-orange) !important; }
.sb-nav__list .wpml-ls-item:first-of-type,
.sb-nav__list li:not(.wpml-ls-item) + .wpml-ls-item { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--sb-line); }

body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-nav__list a { color: #fff !important; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-nav__list .current-menu-item > a,
body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-nav__list .wpml-ls-current-language a { color: var(--sb-amber) !important; }
body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-nav__list li:not(.wpml-ls-item) + .wpml-ls-item { border-color: rgba(255, 255, 255, 0.4); }

.sb-header__cta { flex: 0 0 auto; padding: 11px 20px; }
.sb-nav__cta-mobile { display: none; }

.sb-burger {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.sb-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--sb-ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
body.sb-has-hero:not(.sb-scrolled):not(.sb-menu-open) .sb-burger span { background: #fff; }
body.sb-menu-open .sb-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.sb-menu-open .sb-burger span:nth-child(2) { opacity: 0; }
body.sb-menu-open .sb-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1199.98px) {
    .sb-header__inner { gap: 10px; }
    .sb-burger { display: flex; }
    .sb-header__cta { margin-left: auto; padding: 10px 16px; font-size: 13px; }

    .sb-nav {
        position: fixed;
        top: var(--sb-header-h);
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        margin: 0;
        padding: 12px var(--sb-gutter) 32px;
        overflow-y: auto;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    body.admin-bar .sb-nav { top: calc(var(--sb-header-h) + 46px); }
    body.sb-menu-open { overflow: hidden; }
    body.sb-menu-open .sb-nav { opacity: 1; visibility: visible; transform: none; }

    .sb-nav__list { flex-wrap: wrap; align-items: stretch; gap: 0; }
    .sb-nav__list > li { flex: 1 1 100%; }
    .sb-nav__list a {
        padding: 16px 4px;
        border-radius: 0;
        border-bottom: 1px solid var(--sb-line);
        font-size: 19px;
    }
    .sb-nav__list > li.wpml-ls-item { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
    .sb-nav__list > li.wpml-ls-item a { border: 0; padding: 18px 16px 0 0; font-size: 15px; }
    .sb-nav__list li:not(.wpml-ls-item) + .wpml-ls-item { margin-left: 0; padding-left: 0; border-left: 0; }

    .sb-nav__cta-mobile { display: flex; width: 100%; margin-top: 28px; padding: 16px; font-size: 16px; }
}

@media (max-width: 420px) {
    .sb-brand img { height: 36px; }
    .sb-header__cta { padding: 9px 13px; font-size: 12px; letter-spacing: 0.06em; }
}
@media (max-width: 340px) {
    .sb-header__cta { display: none; }
    .sb-burger { margin-left: auto; }
}

/* ---------- Hero slider (inc/slider.php) -------------------------------- */

.bombay-slider__caption {
    background: linear-gradient(180deg, rgba(20, 15, 12, 0.35) 0%, rgba(20, 15, 12, 0.55) 100%);
    padding-top: var(--sb-header-h);
}
.bombay-slider__headline { font-weight: 300; letter-spacing: 0.01em; margin-bottom: 0.8rem; }
.bombay-slider__subheadline { font-family: var(--sb-body); font-weight: 400; letter-spacing: 0.04em; }

.bombay-slider__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(1.6rem, 5vh, 3rem);
}
.bombay-slider__button {
    min-width: 0;
    padding: 16px 30px;
    border: 2px solid var(--sb-amber);
    border-radius: 999px;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.1em;
}
.bombay-slider__button + .bombay-slider__button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}
.bombay-slider__button:hover,
.bombay-slider__button:focus-visible { border-color: var(--sb-orange); }

@media (max-width: 767px) {
    .bombay-slider { height: 52vh; min-height: 340px; }
    .bombay-slider--tall { height: 86svh; min-height: 520px; }
    .bombay-slider__buttons { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
    .bombay-slider__arrow { display: none; }
}

/* ---------- Page hero (order page) -------------------------------------- */

.sb-page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(320px, 46vh, 460px);
    padding: calc(var(--sb-header-h) + 40px) var(--sb-gutter) 48px;
    background: var(--sb-ink) var(--hero) center / cover no-repeat;
    color: #fff;
}
.sb-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 12, 0.45), rgba(20, 15, 12, 0.75));
}
.sb-page-hero__inner { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; }
.sb-page-hero .sb-eyebrow { color: var(--sb-amber); }
.sb-page-hero__title {
    margin: 0 0 10px;
    color: #fff !important;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
}
.sb-page-hero__lead { margin: 0; max-width: 560px; font-size: 1.1rem; opacity: 0.9; }

/* ---------- Sections ------------------------------------------------------ */

.sb-section {
    max-width: var(--sb-max);
    margin: 0 auto;
    padding: clamp(56px, 8vw, 104px) var(--sb-gutter);
}

.sb-section__head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.sb-section__icon { display: block; width: 46px; height: 46px; margin: 0 auto 14px; }
.sb-section__title {
    margin: 0 0 10px;
    font-weight: 400;
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    line-height: 1.15;
    color: var(--sb-ink);
}
.sb-section__lead { margin: 0; font-size: 1.1rem; color: var(--sb-muted); }
.sb-section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 5vw, 48px); }

/* Full-bleed tinted band behind a centred section */
.sb-intro,
.sb-visit {
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
    background: var(--band);
}

/* ---------- Home: intro --------------------------------------------------- */

.sb-intro {
    --band: var(--sb-cream);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}
.sb-intro__mark { display: block; width: 64px; height: auto; margin-bottom: 18px; mix-blend-mode: multiply; }
.sb-intro__title {
    margin: 0 0 18px;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.2;
}
.sb-intro__lead { margin: 0 0 28px; font-size: 1.1rem; color: var(--sb-muted); }

.sb-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sb-facts li { padding: 16px; border-radius: var(--sb-radius-sm); background: #fff; box-shadow: var(--sb-shadow-sm); }
.sb-facts strong { display: block; font-family: var(--sb-head); font-weight: 600; font-size: 1.25rem; color: var(--sb-orange); }
.sb-facts span { display: block; font-size: 0.88rem; line-height: 1.35; color: var(--sb-muted); }

.sb-intro__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-intro__img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--sb-shadow);
}
.sb-intro__img--b { margin-top: 56px; }

@media (max-width: 860px) {
    .sb-intro { grid-template-columns: 1fr; }
    .sb-intro__media { order: -1; }
    .sb-intro__img { aspect-ratio: 4 / 5; }
    .sb-intro__img--b { margin-top: 32px; }
}
@media (max-width: 480px) {
    .sb-facts { grid-template-columns: 1fr; }
    .sb-facts li { display: flex; align-items: baseline; gap: 10px; }
}

/* ---------- Home: entry tiles -------------------------------------------- */

.sb-explore {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 0;
}
.sb-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    border-radius: var(--sb-radius);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: var(--sb-shadow-sm);
    isolation: isolate;
}
.sb-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: -2;
}
.sb-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 15, 12, 0) 35%, rgba(20, 15, 12, 0.82) 100%);
}
.sb-tile:hover .sb-tile__img { transform: scale(1.06); }
.sb-tile__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: block; }
.sb-tile__title { display: block; font-family: var(--sb-head); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.sb-tile__text { display: block; margin-top: 4px; font-size: 0.95rem; opacity: 0.88; }
.sb-tile__arrow {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sb-orange);
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}
.sb-tile:hover .sb-tile__arrow { transform: translateX(3px); }

@media (max-width: 860px) {
    .sb-explore { grid-template-columns: 1fr; gap: 14px; }
    .sb-tile { aspect-ratio: 16 / 8; }
}

/* ---------- Home: favourite dish cards ----------------------------------- */

.sb-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}
.sb-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sb-card:hover { transform: translateY(-4px); box-shadow: var(--sb-shadow); }
.sb-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: #1c1917; }
.sb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sb-card:hover .sb-card__media img { transform: scale(1.05); }
.sb-card__body { padding: 18px 20px 22px; }
.sb-card__title { margin: 0 0 6px; font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.sb-card__text { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--sb-muted); }

@media (max-width: 560px) {
    .sb-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sb-card__body { padding: 12px 12px 14px; }
    .sb-card__title { font-size: 1rem; }
    .sb-card__text { font-size: 0.82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Visit us (map) ---------------------------------------------- */

.sb-visit {
    --band: var(--sb-sand);
    display: grid;
    grid-template-columns: minmax(300px, 420px) 1fr;
    gap: 24px;
    max-width: var(--sb-max);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) var(--sb-gutter);
}
.sb-visit__card {
    padding: clamp(24px, 3.5vw, 40px);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--sb-shadow);
}
.sb-visit__title { margin: 0 0 18px; font-weight: 400; font-size: 2rem; }
.sb-visit__list { margin: 0 0 24px; padding: 0; list-style: none; }
.sb-visit__list li { padding: 10px 0; border-bottom: 1px solid var(--sb-line); }
.sb-visit__list li:last-child { border-bottom: 0; }
.sb-visit__label {
    display: block;
    font-family: var(--sb-head);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sb-gold);
}
.sb-visit__list a, .sb-contact__aside a { color: var(--sb-ink); text-decoration: none; }
.sb-visit__list a:hover, .sb-contact__aside a:hover { color: var(--sb-orange); }
.sb-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-visit__actions .sb-btn { padding: 12px 18px; font-size: 13px; }
.sb-visit__map { min-height: 380px; overflow: hidden; border-radius: 22px; box-shadow: var(--sb-shadow); background: var(--sb-gold-light); }
.sb-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

@media (max-width: 860px) {
    .sb-visit { grid-template-columns: 1fr; }
    .sb-visit__map, .sb-visit__map iframe { min-height: 300px; }
}

/* ---------- Footer -------------------------------------------------------- */

#footer.sb-footer {
    padding: clamp(48px, 6vw, 72px) var(--sb-gutter) 0;
    background: var(--sb-orange) !important;
    color: #fff;
}
.sb-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: var(--sb-max);
    margin: 0 auto;
}
.sb-footer p { margin: 0 0 6px; font-family: var(--sb-body); color: #fff; }
.sb-footer a { color: #fff !important; text-decoration: none; }
.sb-footer a:hover { text-decoration: underline; }
.sb-footer__brand img { display: block; width: 180px; height: auto; margin-bottom: 14px; border-radius: 4px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
.sb-footer__brand p { max-width: 240px; opacity: 0.92; }
.sb-footer__title {
    margin: 0 0 12px;
    font-family: var(--sb-head) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78) !important;
}
.sb-footer__title--spaced { margin-top: 22px; }
.sb-footer__cards { display: block; max-width: 220px; height: auto; margin: 4px 0 6px; padding: 6px 8px; border-radius: 8px; background: #fff; }
.sb-footer__small { font-size: 0.8rem; opacity: 0.85; }
.sb-footer__links { margin: 0; padding: 0; list-style: none; }
.sb-footer__links li { margin: 0 0 6px; padding: 0; background: none !important; }
.sb-footer__links .wpml-ls-item { display: none; }
.sb-footer__widgets { max-width: var(--sb-max); margin: 24px auto 0; }
.sb-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    max-width: var(--sb-max);
    margin: 40px auto 0;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    opacity: 0.9;
}

@media (max-width: 900px) { .sb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
    .sb-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .sb-footer__bottom { flex-direction: column; }
}

/* ---------- Gallery -------------------------------------------------------- */

.sb-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 12px;
}
.sb-gallery__item { display: block; overflow: hidden; border-radius: 14px; background: var(--sb-sand); }
.sb-gallery__item--wide { grid-column: span 2; }
.sb-gallery__item--tall { grid-row: span 2; }
.sb-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sb-gallery__item:hover img { transform: scale(1.05); }

@media (max-width: 860px) {
    .sb-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
}

.sb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 12, 10, 0.94);
}
.sb-lightbox.is-open { display: flex; }
body.sb-lightbox-open { overflow: hidden; }
.sb-lightbox__figure { margin: 0; text-align: center; }
.sb-lightbox__figure img { display: block; max-width: min(92vw, 1400px); max-height: 82vh; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.sb-lightbox__figure figcaption { margin-top: 12px; font-family: var(--sb-head); letter-spacing: 0.06em; color: #fff; }
.sb-lightbox__close,
.sb-lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}
.sb-lightbox__close:hover, .sb-lightbox__nav:hover { background: var(--sb-orange); }
.sb-lightbox__close { top: 16px; right: 16px; font-size: 1.8rem; }
.sb-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.sb-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ------------------------------------------------------- */

.sb-contact { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sb-contact .sb-section__title, .sb-contact .sb-section__lead { text-align: left; }
.sb-contact .sb-section__lead { margin-bottom: 28px; }
.sb-contact__aside { padding: 32px; border-radius: 22px; background: var(--sb-cream); }
.sb-contact__title { margin: 0 0 16px; font-weight: 400; font-size: 1.6rem; }
.sb-contact__aside p { margin: 0 0 16px; }
@media (max-width: 860px) { .sb-contact { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.wpcf7 form { max-width: 640px; text-align: left; }
.wpcf7 form p { margin: 0 0 18px; font-family: var(--sb-body); }
.wpcf7 label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--sb-ink); }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    display: block;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    padding: 14px 16px;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius-sm);
    background: #fff;
    font: inherit;
    color: var(--sb-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
    outline: none;
    border-color: var(--sb-orange);
    box-shadow: 0 0 0 4px rgba(224, 116, 21, 0.15);
}
.wpcf7 input[type="submit"] {
    display: block;
    height: auto;
    padding: 15px 34px;
    border: 0;
    border-radius: 999px;
    background: var(--sb-orange);
    color: #fff;
    font-family: var(--sb-head);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--sb-orange-dark); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* ---------- Order page (WooCommerce shop) ------------------------------- */

.sb-chips {
    position: sticky;
    top: var(--sb-header-h);
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--sb-line);
}
body.admin-bar .sb-chips { top: calc(var(--sb-header-h) + 32px); }
.sb-chips__track,
.sb-menu .mobile-buttons {
    display: flex;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px var(--sb-gutter);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sb-chips__track::-webkit-scrollbar,
.sb-menu .mobile-buttons::-webkit-scrollbar { display: none; }

.sb-chip,
.sb-menu .mobile-buttons button {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid var(--sb-line);
    border-radius: 999px;
    background: #fff;
    color: var(--sb-ink);
    font-family: var(--sb-head);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sb-chip:hover, .sb-chip.is-active,
.sb-menu .mobile-buttons button:hover,
.sb-menu .mobile-buttons button.is-active {
    border-color: var(--sb-orange);
    background: var(--sb-orange);
    color: #fff !important;
}

.sb-shop { max-width: 1120px; margin: 0 auto; padding: 16px var(--sb-gutter) clamp(56px, 8vw, 96px); }
.sb-shop .woocommerce-notices-wrapper:not(:empty) { margin-top: 20px; }
.sb-shop__section { padding-top: 36px; scroll-margin-top: calc(var(--sb-header-h) + 72px); }
.sb-shop__heading {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sb-gold-light);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2rem);
}
.sb-shop__intro { margin: -6px 0 18px; color: var(--sb-muted); }

.sb-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sb-dish {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius);
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.sb-dish:hover { border-color: var(--sb-gold-light); box-shadow: var(--sb-shadow-sm); }
.sb-dish__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.sb-dish__name {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.sb-dish__desc p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--sb-muted); }
.sb-dish__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 12px; }
.sb-dish__price { font-weight: 700; color: var(--sb-orange); white-space: nowrap; }
.sb-dish__price del { color: var(--sb-muted); font-weight: 400; margin-right: 4px; }
.sb-dish__photo { flex: 0 0 auto; align-self: center; width: 116px; height: 116px; object-fit: cover; border-radius: var(--sb-radius-sm); background: #1c1917; }

.woocommerce .sb-dish a.button,
.sb-dish .button {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 9px 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--sb-orange) !important;
    color: #fff !important;
    font-family: var(--sb-head) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.woocommerce .sb-dish a.button:hover { background: var(--sb-orange-dark) !important; }
.woocommerce .sb-dish a.button.loading { opacity: 0.6; }
.woocommerce .sb-dish a.button.added::after { margin-left: 6px; }
.sb-dish .added_to_cart { display: none !important; }

@media (max-width: 860px) { .sb-dishes { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
    .sb-dish { padding: 14px; gap: 12px; }
    .sb-dish__photo { width: 88px; height: 88px; }
}

/* Cart / checkout pages: no stale background image (it pointed at a deleted file) */
.woocommerce-checkout #main,
.woocommerce-cart #main { background-image: none !important; background: var(--sb-cream); padding-bottom: 64px; }
.woocommerce-cart #main > *, .woocommerce-checkout #main > *, .woocommerce-account #main > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    border-radius: 999px;
    font-family: var(--sb-head);
    font-weight: 600;
    letter-spacing: 0.06em;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #payment #place_order {
    background: var(--sb-orange) !important;
    color: #fff !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 14px;
    border: 1px solid var(--sb-line);
    border-radius: 10px;
    background: #fff;
}

/* ---------- Menu, drinks and lunch pages (legacy templates) ------------- */

.sb-menu { padding-bottom: clamp(40px, 6vw, 80px); background: var(--sb-cream); }
.sb-menu > .container-fluid:not(.project-image-holder),
.sb-menu .container-fluid.d-flex:not(.project-image-holder) { background-color: transparent !important; }
.sb-menu .container { max-width: 1140px; }
.sb-menu hr { display: none; }
.sb-menu .w-50, .sb-menu .w-75 { width: auto !important; max-width: 680px; }
.sb-menu [style*="margin-top: 150px"], .sb-menu [style*="margin-top:150px"] { margin-top: 12px !important; }
.sb-menu [style*="margin-top: 50px"], .sb-menu [style*="margin-top:50px"] { margin-top: 24px !important; }

/* Jump bar (moved to the top of .sb-menu by modern.js) */
.sb-menu .mobile-buttons {
    position: sticky !important;
    top: var(--sb-header-h);
    bottom: auto;
    z-index: 50;
    width: 100% !important;
    max-width: none;
    justify-content: safe center;
    background: rgba(247, 243, 238, 0.96);
    border-bottom: 1px solid var(--sb-line);
    font-size: inherit;
    text-align: left;
}
body.admin-bar .sb-menu .mobile-buttons { top: calc(var(--sb-header-h) + 32px); }

/* Page intro (icon + title + tagline) at the top of drinks / lunch */
.sb-menu .entry-icon { max-width: 56px !important; padding-top: 32px !important; }
.sb-menu h2.text-center { font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); }
.sb-menu h4.text-center { font-family: var(--sb-body); font-weight: 400; font-size: 1.1rem; color: var(--sb-muted); }

/* Category photo banners */
.sb-menu .project-image-holder {
    max-width: 1100px;
    height: clamp(180px, 26vw, 280px) !important;
    margin: 32px auto 12px !important;
    padding: 24px !important;
    border-radius: 22px;
    background-attachment: scroll !important;
    background-position: center !important;
    box-shadow: inset 0 0 0 2000px rgba(20, 15, 12, 0.42) !important;
    overflow: hidden;
    flex-direction: column;
    text-align: center;
}
.sb-menu .project-image-holder,
.sb-menu .project-image-holder * {
    font-family: var(--sb-head) !important;
    color: #fff !important;
    border: 0 !important;
}
.sb-menu .project-image-holder .section-text,
.sb-menu .project-image-holder h3 {
    margin: 0;
    font-weight: 400;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    letter-spacing: 0.12em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.sb-menu .project-image-holder h4,
.sb-menu .project-image-holder h5,
.sb-menu .project-image-holder p {
    max-width: 720px;
    margin: 10px auto 0;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem) !important;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: none;
}

/* Section headings ("Levesek", "Ásványvíz", ...) */
.sb-menu .menu-item-heading.menu-item-heading__no-borders,
.sb-menu .pt-4.col-12 > h3.menu-item-heading {
    position: relative;
    margin: 28px 0 8px;
    padding-bottom: 14px;
    border: 0 !important;
    font-family: var(--sb-head);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    color: var(--sb-ink);
    text-align: center;
    scroll-margin-top: calc(var(--sb-header-h) + 80px);
}
.sb-menu .menu-item-heading.menu-item-heading__no-borders::after,
.sb-menu .pt-4.col-12 > h3.menu-item-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    margin-left: -28px;
    border-radius: 3px;
    background: var(--sb-orange);
}
.sb-menu [id] { scroll-margin-top: calc(var(--sb-header-h) + 80px); }

/* Dish / drink entries become cards (transparent border = gutter) */
.sb-menu [class*="col-"]:has(> .menu-item-heading__title),
.sb-menu .menu-item {
    padding: 18px 20px !important;
    border: 7px solid transparent;
    border-radius: 24px;
    background: #fff;
    background-clip: padding-box;
}
.sb-menu .d-md-flex.flex-row { align-items: stretch; }

.sb-menu .menu-item-heading__title {
    margin: 0 0 4px;
    font-family: var(--sb-head) !important;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sb-ink);
}
.sb-menu .menu-item-heading__no { margin-left: 4px; font-weight: 400; font-size: 0.78rem; color: var(--sb-gold); }
.sb-menu .menu-item-heading__price {
    margin: 2px 0 6px;
    font-family: var(--sb-body) !important;
    font-weight: 700;
    font-size: 1rem;
    color: var(--sb-orange);
}
.sb-menu .menu-item-heading__description {
    margin: 0;
    font-family: var(--sb-body) !important;
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--sb-muted);
    text-transform: none;
}
.sb-menu .menu-item-heading__title.lightorange { color: var(--sb-orange); }

@media (max-width: 767.98px) {
    .sb-menu .d-block.d-md-flex { padding-top: 0 !important; }
    .sb-menu [class*="col-"]:has(> .menu-item-heading__title),
    .sb-menu .menu-item { border-width: 5px 0; }
    .sb-menu .project-image-holder { border-radius: 16px; margin: 20px 12px 8px !important; width: auto; }
}

/* ---------- Side cart & cookie bar polish -------------------------------- */

.xoo-wsc-basket { box-shadow: var(--sb-shadow); }
#cookie-notice .cn-button { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Banner sub-text written inside the heading (e.g. "Grillezett ételek") */
.sb-menu .project-image-holder h3 span {
    display: block;
    max-width: 640px;
    margin: 12px auto 0;
    font-family: var(--sb-body) !important;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem) !important;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: none;
}
