:root {
    --ink: #f6ead7;
    --muted: #c8b18c;
    --line: rgba(208, 161, 84, 0.5);
    --paper: #141414;
    --page: #11100e;
    --page-2: #1a1511;
    --gold: #c99c53;
    --gold-soft: #ead0a0;
    --brown: #352217;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #141414;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
}

.hero {
    min-height: 82vh;
    display: grid;
    grid-template-rows: auto 1fr;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(9, 8, 7, .2), rgba(9, 8, 7, .96)),
        linear-gradient(90deg, rgba(9, 8, 7, .96), rgba(53, 34, 23, .82)),
        url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22%;
    background: linear-gradient(180deg, transparent, var(--paper));
    pointer-events: none;
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px clamp(18px, 4vw, 54px);
}

.brand,
.map-link,
.primary-action,
.secondary-action {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-soft);
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-soft);
    font-family: Georgia, serif;
    font-size: 23px;
}

.map-link {
    padding: 10px 13px;
    border: 1px solid var(--line);
    background: rgba(9, 8, 7, .48);
    border-radius: 4px;
    color: var(--gold-soft);
    font-size: 14px;
    backdrop-filter: blur(12px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 36px));
    align-self: center;
    margin: 0 auto;
    padding: 8vh 0 15vh;
}

.kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

h1 {
    max-width: 760px;
    color: var(--gold-soft);
    font-size: clamp(54px, 9vw, 112px);
    line-height: .95;
    text-shadow: 0 8px 34px rgba(0, 0, 0, .5);
}

.intro {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(246, 234, 215, .82);
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 4px;
    font-weight: 800;
}

.primary-action {
    background: var(--gold);
    color: #130f0c;
}

.secondary-action {
    border: 1px solid var(--line);
    color: var(--gold-soft);
}

.controls {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    gap: 14px;
    padding: 18px clamp(16px, 4vw, 54px);
    background: #141414;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.search-wrap {
    display: grid;
    gap: 8px;
    width: min(720px, 100%);
}

label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #11100e;
    color: var(--ink);
    padding: 0 15px;
    font: inherit;
    outline: none;
}

input::placeholder {
    color: rgba(234, 208, 160, .55);
}

input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 156, 83, .18);
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.category-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #15110d;
    color: var(--gold-soft);
    padding: 0 13px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.category-tabs button.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #130f0c;
}

.menu-shell {
    width: min(980px, calc(100% - 28px));
    margin: 0 auto;
    padding: 48px 0 36px;
}

.section-heading {
    display: none;
}

.menu-sections {
    display: grid;
    gap: 42px;
}

.menu-section {
    width: min(794px, 100%);
    min-height: 1123px;
    margin: 0 auto;
    padding: 58px 52px 42px;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 150px;
    background:
        linear-gradient(90deg, rgba(201, 156, 83, .12), transparent 18%, transparent 82%, rgba(201, 156, 83, .10)),
        linear-gradient(180deg, #171310 0%, #0e0d0b 100%);
    border: 1px solid rgba(201, 156, 83, .72);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
    page-break-after: always;
}

.menu-section:before,
.menu-section:after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.menu-section:before {
    top: 28px;
}

.menu-section:after {
    bottom: 28px;
}

.menu-section header {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0 0 38px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.menu-section header:before {
    content: "Mirvarim Restoran";
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.menu-section h3 {
    color: var(--gold-soft);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    text-transform: uppercase;
}

.count {
    color: var(--muted);
    font-size: 13px;
}

.items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 38px;
    row-gap: 0;
    align-content: start;
}

.item {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
    padding: 13px 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(201, 156, 83, .42);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.item>div {
    min-width: 0;
}

.item h4 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.item p {
    grid-column: 1 / -1;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42;
}

.price {
    align-self: start;
    color: var(--gold-soft);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.empty-state {
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 4px;
    color: var(--muted);
    background: #15110d;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 28px clamp(16px, 4vw, 54px);
    color: var(--muted);
}

footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .hero {
        min-height: 64vh;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-inner {
        padding-bottom: 10vh;
    }

    .menu-shell {
        width: calc(100% - 12px);
        padding-top: 18px;
    }

    .menu-section {
        width: min(794px, calc(100vw - 12px));
        min-height: min(1123px, calc((100vw - 12px) * 1.414));
        padding: clamp(22px, 5.4vw, 58px) clamp(14px, 5vw, 52px) clamp(18px, 4.4vw, 42px);
    }

    .menu-section:before,
    .menu-section:after {
        left: clamp(10px, 3.5vw, 28px);
        right: clamp(10px, 3.5vw, 28px);
    }

    .menu-section header {
        margin-bottom: clamp(16px, 5vw, 38px);
        padding-bottom: clamp(10px, 3vw, 20px);
    }

    .menu-section h3 {
        font-size: clamp(18px, 7vw, 42px);
    }

    .count {
        font-size: clamp(8px, 2.2vw, 13px);
    }

    .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(12px, 4.4vw, 38px);
    }

    .item {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: clamp(5px, 1.9vw, 14px);
        padding: clamp(7px, 2.3vw, 13px) 0 clamp(7px, 2vw, 12px);
    }

    .item h4 {
        font-size: clamp(9px, 2.9vw, 17px);
    }

    .item p {
        font-size: clamp(7px, 2.15vw, 13px);
        line-height: 1.34;
        margin-top: clamp(3px, 1.4vw, 7px);
    }

    .price {
        font-size: clamp(8px, 2.35vw, 15px);
    }
}


/* Canva decorative ornaments */
.menu-section {
    isolation: isolate;
}

.menu-section::before,
.menu-section::after {
    z-index: 0;
}

.menu-section> :not(.decor-corner):not(.decor-divider):not(.service-badge) {
    position: relative;
    z-index: 2;
}

.menu-section .decor-corner,
.menu-section .decor-divider,
.decor-corner {
    width: clamp(78px, 17%, 142px);
    height: auto;
    opacity: .96;
}

.decor-top-left {
    top: 18px;
    left: 18px;
}

.decor-top-right {
    top: 18px;
    right: 18px;
}

.decor-bottom-left {
    bottom: 18px;
    left: 18px;
}

.decor-bottom-right {
    bottom: 18px;
    right: 18px;
}

.decor-divider {
    left: 50%;
    width: clamp(84px, 18%, 148px);
    height: auto;
    transform: translateX(-50%);
}

.decor-divider-top {
    top: 83px;
}

.decor-divider-bottom {
    top: 158px;
}

.menu-section header {
    position: relative;
    z-index: 1;
}

.menu-section header:before {
    margin-top: 4px;
}

@media (max-width: 760px) {
    .decor-corner {
        width: clamp(44px, 17vw, 118px);
    }

    .decor-top-left {
        top: clamp(8px, 2.2vw, 18px);
        left: clamp(8px, 2.2vw, 18px);
    }

    .decor-top-right {
        top: clamp(8px, 2.2vw, 18px);
        right: clamp(8px, 2.2vw, 18px);
    }

    .decor-bottom-left {
        bottom: clamp(8px, 2.2vw, 18px);
        left: clamp(8px, 2.2vw, 18px);
    }

    .decor-bottom-right {
        bottom: clamp(8px, 2.2vw, 18px);
        right: clamp(8px, 2.2vw, 18px);
    }

    .decor-divider {
        width: clamp(54px, 18vw, 130px);
    }

    .decor-divider-top {
        top: clamp(46px, 11vw, 83px);
    }

    .decor-divider-bottom {
        top: clamp(92px, 21vw, 158px);
    }
}


/* Per-page service badge */
.service-badge {
    position: absolute;
    left: 50%;
    bottom: clamp(22px, 4.2%, 48px);
    width: clamp(190px, 43%, 340px);
    height: auto;
    transform: translateX(-50%);
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.service-badge img {
    display: block;
    width: 100%;
    height: auto;
}

.service-badge span {
    position: absolute;
    color: #ffffff;
    font-size: clamp(13px, 2.05vw, 20px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.menu-section {
    padding-bottom: clamp(96px, 13%, 150px);
}

@media (max-width: 760px) {
    .service-badge {
        bottom: clamp(14px, 4vw, 32px);
        width: clamp(118px, 43vw, 260px);
    }

    .service-badge span {
        font-size: clamp(8px, 3vw, 16px);
    }

    .menu-section {
        padding-bottom: clamp(56px, 16vw, 118px);
    }
}


/* Correct fixed Canva ornament positions */
.menu-section .decor-corner,
.menu-section .decor-divider {
    position: absolute !important;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.decor-corner {
    width: clamp(92px, 22%, 174px);
    height: auto;
    opacity: .96;
}

.decor-top-left {
    top: 0;
    left: 0;
}

.decor-top-right {
    top: 0;
    right: 0;
}

.decor-bottom-left {
    bottom: 0;
    left: 0;
}

.decor-bottom-right {
    bottom: 0;
    right: 0;
}

.decor-divider {
    left: 50%;
    width: clamp(74px, 15%, 120px);
    height: auto;
    transform: translateX(-50%);
}

.decor-divider-top {
    top: clamp(36px, 4.6%, 52px);
}

.decor-divider-bottom {
    top: clamp(130px, 13.2%, 150px);
}

.menu-section header {
    padding-top: 12px;
    margin-bottom: 28px;
}

.service-badge {
    z-index: 2;
    bottom: clamp(20px, 3.2%, 36px);
    width: clamp(178px, 35%, 300px);
}

@media (max-width: 760px) {
    .decor-corner {
        width: clamp(58px, 22vw, 142px);
    }

    .decor-top-left {
        top: 0;
        left: 0;
    }

    .decor-top-right {
        top: 0;
        right: 0;
    }

    .decor-bottom-left {
        bottom: 0;
        left: 0;
    }

    .decor-bottom-right {
        bottom: 0;
        right: 0;
    }

    .decor-divider {
        width: clamp(48px, 15vw, 100px);
    }

    .decor-divider-top {
        top: clamp(22px, 6vw, 46px);
    }

    .decor-divider-bottom {
        top: clamp(78px, 20vw, 128px);
    }

    .service-badge {
        bottom: clamp(12px, 3.2vw, 24px);
        width: clamp(112px, 35vw, 230px);
    }
}


/* Requested cleanup: hide counts and straight page lines */
.count {
    display: none !important;
}

.menu-section::before,
.menu-section::after {
    display: none !important;
}

.menu-section header {
    border-bottom: 0 !important;
}

.service-badge {
    background: transparent;
}


/* First page cover image */
.cover-hero {
    min-height: auto;
    display: grid;
    place-items: center;
    padding: clamp(10px, 2vw, 22px) 0 clamp(18px, 3vw, 34px);
    background: #141414;
    overflow: visible;
}

.cover-hero::after {
    display: none;
}

.cover-page {
    display: block;
    width: min(794px, calc(100vw - 12px));
    height: auto;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

@media (max-width: 760px) {
    .cover-hero {
        min-height: auto;
        padding-top: 6px;
        padding-bottom: 14px;
    }

    .cover-page {
        width: calc(100vw - 8px);
    }
}


/* Hide category scrollbar while keeping horizontal scroll */
.category-tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}


/* Full Canva page rebuild: group headings */
.menu-group {
    display: contents;
}

.group-title {
    grid-column: 1 / -1;
    margin: 18px 0 8px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 2.6vw, 25px);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(201, 156, 83, .36);
    padding-bottom: 6px;
}

.menu-group[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .group-title {
        font-size: clamp(10px, 3.5vw, 20px);
        margin: clamp(8px, 2.4vw, 16px) 0 clamp(4px, 1.4vw, 8px);
        padding-bottom: clamp(3px, 1vw, 6px);
    }
}

.group-heading {
    grid-column: 1 / -1;
    color: var(--gold);
    font-size: clamp(11px, 1.6vw, 16px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 14px 0 4px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(201, 156, 83, .34)
}

@media(max-width:760px) {
    .group-heading {
        font-size: clamp(7px, 2.3vw, 12px);
        margin: clamp(7px, 2vw, 12px) 0 2px;
        padding-bottom: 3px
    }
}

/* Merged sections can grow beyond original A4 page height */
.menu-section {
    overflow: visible !important;
    height: auto;
}


/* Stronger visual style for menu subheadings */
.group-heading {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-width: min(330px, 72%);
    margin: clamp(18px, 2.4vw, 28px) 0 clamp(8px, 1.2vw, 14px);
    padding: clamp(6px, .8vw, 9px) clamp(18px, 2.4vw, 30px);
    border: 1px solid rgba(201, 156, 83, .74);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(201, 156, 83, .06), rgba(201, 156, 83, .18), rgba(201, 156, 83, .06));
    color: var(--gold-soft);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 760px) {
    .group-heading {
        min-width: min(230px, 74%);
        margin: clamp(10px, 3.4vw, 20px) 0 clamp(5px, 1.8vw, 10px);
        padding: clamp(4px, 1.4vw, 7px) clamp(10px, 3.8vw, 22px);
        font-size: clamp(9px, 3.2vw, 16px);
    }
}


/* Refined service fee badge typography */
.service-badge {
    width: clamp(196px, 36%, 318px);
}

.service-badge span {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    width: 82%;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(14px, 1.82vw, 19px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .42), 0 0 10px rgba(201, 156, 83, .18);
}

@media (max-width: 760px) {
    .service-badge {
        width: clamp(118px, 36vw, 244px);
    }

    .service-badge span {
        font-size: clamp(8px, 2.55vw, 15px);
        transform: translate(-50%, -53%);
    }
}


/* Responsive title zone: prevent dividers and headings from colliding */
.menu-section header {
    min-height: clamp(132px, 18vw, 172px);
    display: grid;
    place-items: center;
    align-content: center;
    gap: clamp(7px, 1.25vw, 12px);
    padding-top: clamp(34px, 5.8vw, 58px);
    margin-bottom: clamp(18px, 2.8vw, 34px);
}

.menu-section header:before {
    order: 1;
    margin: 0;
    font-size: clamp(10px, 1.35vw, 14px);
    line-height: 1;
}

.menu-section h3 {
    order: 2;
    max-width: 74%;
    font-size: clamp(28px, 5.6vw, 54px);
    line-height: .92;
    text-align: center;
    text-wrap: balance;
}

.decor-divider {
    left: 50%;
    width: clamp(68px, 14%, 118px);
    height: auto;
    transform: translateX(-50%);
}

.decor-divider-top {
    top: clamp(34px, 4.6vw, 50px);
}

.decor-divider-bottom {
    top: clamp(150px, 16.4vw, 184px);
}

@media (max-width: 760px) {
    .menu-section header {
        min-height: clamp(86px, 26vw, 140px);
        gap: clamp(4px, 1.2vw, 8px);
        padding-top: clamp(24px, 7vw, 42px);
        margin-bottom: clamp(12px, 3vw, 24px);
    }

    .menu-section header:before {
        font-size: clamp(7px, 2.15vw, 11px);
    }

    .menu-section h3 {
        max-width: 70%;
        font-size: clamp(18px, 7.6vw, 36px);
        line-height: .9;
    }

    .decor-divider {
        width: clamp(44px, 14vw, 84px);
    }

    .decor-divider-top {
        top: clamp(18px, 6vw, 34px);
    }

    .decor-divider-bottom {
        top: clamp(92px, 26.5vw, 142px);
    }
}


/* Keep main menu titles on one responsive line */
.menu-section h3 {
    max-width: 86%;
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(24px, 4.9vw, 54px);
    line-height: .95;
}

@media (max-width: 760px) {
    .menu-section h3 {
        max-width: 86%;
        white-space: nowrap;
        text-wrap: nowrap;
        font-size: clamp(12px, 5.4vw, 32px);
        line-height: .95;
    }
}

@media (max-width: 420px) {
    .menu-section h3 {
        font-size: clamp(10px, 5.15vw, 22px);
    }
}


/* Robust title layout: dividers are in-flow and titles auto-fit by script */
.menu-section .decor-divider {
    display: none !important;
}

.menu-section header:before {
    content: none !important;
    display: none !important;
}

.menu-title-block {
    position: relative;
    z-index: 2;
    min-height: 0 !important;
    display: grid !important;
    justify-items: center;
    align-content: start;
    gap: clamp(4px, .9vw, 9px);
    padding-top: clamp(28px, 5.2vw, 58px) !important;
    margin-bottom: clamp(16px, 2.8vw, 34px) !important;
    border-bottom: 0 !important;
}

.title-divider {
    position: static !important;
    display: block;
    width: clamp(54px, 13%, 110px);
    height: auto;
    transform: none !important;
    pointer-events: none;
    user-select: none;
}

.restaurant-label {
    color: var(--gold-soft);
    font-size: clamp(8px, 1.25vw, 13px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-section h3 {
    max-width: none !important;
    width: max-content;
    margin: 0;
    color: var(--gold-soft);
    font-size: var(--fit-title-size, 42px);
    line-height: .9 !important;
    text-align: center;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow: visible;
}

@media (max-width: 760px) {
    .menu-title-block {
        gap: clamp(2px, 1vw, 6px);
        padding-top: clamp(18px, 6.5vw, 34px) !important;
        margin-bottom: clamp(10px, 3vw, 22px) !important;
    }

    .title-divider {
        width: clamp(38px, 13vw, 82px);
    }

    .restaurant-label {
        font-size: clamp(5px, 1.9vw, 10px);
    }
}


/* Tight title top spacing after in-flow divider layout */
.menu-section {
    padding-top: clamp(12px, 2.6vw, 28px) !important;
}

@media (max-width: 760px) {
    .menu-section {
        padding-top: clamp(6px, 1.8vw, 14px) !important;
    }
}


/* Final robust title fitting and compact spacing */
.menu-section .decor-divider {
    display: none !important;
}

.menu-title-block {
    position: relative;
    z-index: 2;
    display: grid !important;
    justify-items: center;
    align-content: start;
    gap: clamp(3px, .75vw, 8px) !important;
    min-height: 0 !important;
    padding-top: clamp(6px, 1.4vw, 16px) !important;
    margin-bottom: clamp(14px, 2.6vw, 30px) !important;
    border: 0 !important;
}

.menu-title-block::before,
.menu-title-block::after {
    content: none !important;
    display: none !important;
}

.title-divider {
    position: static !important;
    display: block !important;
    width: clamp(54px, 12%, 106px);
    height: auto;
    transform: none !important;
}

.restaurant-label {
    color: var(--gold-soft);
    font-size: clamp(7px, 1.05vw, 12px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-title-block h3 {
    display: block;
    max-width: none !important;
    width: auto !important;
    margin: 0;
    color: var(--gold-soft);
    font-size: var(--fit-title-size, 32px) !important;
    line-height: .92 !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow: visible !important;
}

.menu-section {
    padding-top: clamp(8px, 1.6vw, 18px) !important;
}

@media (max-width: 760px) {
    .menu-title-block {
        gap: clamp(2px, .75vw, 5px) !important;
        padding-top: clamp(3px, 1vw, 8px) !important;
        margin-bottom: clamp(8px, 2.4vw, 18px) !important;
    }

    .title-divider {
        width: clamp(34px, 12vw, 78px);
    }

    .restaurant-label {
        font-size: clamp(4.5px, 1.65vw, 9px);
    }

    .menu-section {
        padding-top: clamp(3px, 1vw, 8px) !important;
    }
}


/* Restore Canva-style absolute title ornaments with safe center title area */
.menu-section .title-divider,
.menu-section .restaurant-label {
    display: none !important;
}

.menu-section .decor-divider {
    position: absolute !important;
    display: block !important;
    left: 50%;
    width: clamp(58px, 12%, 104px);
    height: auto;
    transform: translateX(-50%) !important;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.decor-divider-top {
    top: clamp(34px, 4.6vw, 50px) !important;
}

.decor-divider-bottom {
    top: clamp(132px, 13.8vw, 158px) !important;
}

.menu-section header {
    position: relative;
    z-index: 2;
    min-height: clamp(132px, 17vw, 166px) !important;
    display: grid !important;
    justify-items: center;
    align-content: center;
    gap: clamp(6px, 1vw, 10px);
    padding-top: clamp(30px, 5vw, 48px) !important;
    margin-bottom: clamp(16px, 2.6vw, 32px) !important;
    border: 0 !important;
    text-align: center;
}

.menu-section header:before {
    content: "Mirvarim Restoran" !important;
    display: block !important;
    margin: 0;
    color: var(--gold-soft);
    font-size: clamp(7px, 1.05vw, 12px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-section h3,
.menu-title-block h3 {
    max-width: none !important;
    width: auto !important;
    margin: 0;
    color: var(--gold-soft);
    font-size: var(--fit-title-size, clamp(22px, 4.2vw, 50px)) !important;
    line-height: .9 !important;
    text-align: center;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow: visible !important;
}

.menu-section {
    padding-top: clamp(10px, 1.8vw, 20px) !important;
}

@media (max-width: 760px) {
    .menu-section .decor-divider {
        width: clamp(40px, 12vw, 78px);
    }

    .decor-divider-top {
        top: clamp(18px, 5.3vw, 32px) !important;
    }

    .decor-divider-bottom {
        top: clamp(84px, 21vw, 120px) !important;
    }

    .menu-section header {
        min-height: clamp(92px, 24vw, 132px) !important;
        padding-top: clamp(18px, 5.8vw, 34px) !important;
        margin-bottom: clamp(10px, 2.6vw, 22px) !important;
    }

    .menu-section header:before {
        font-size: clamp(4.5px, 1.55vw, 9px);
    }

    .menu-section h3 {
        font-size: var(--fit-title-size, clamp(10px, 4.7vw, 26px)) !important;
    }
}


/* Full-width italic menu descriptions */
.item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.item>div {
    display: contents;
}

.item h4 {
    grid-column: 1;
    min-width: 0;
}

.item .price,
.price {
    grid-column: 2;
    justify-self: end;
    align-self: start;
}

.item p {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    margin: 7px 0 0;
    color: var(--muted);
    font-style: italic;
    line-height: 1.42;
    overflow-wrap: normal;
    word-break: normal;
}

.item p:empty {
    display: none;
}

@media (max-width: 760px) {
    .item p {
        margin-top: clamp(3px, 1.4vw, 7px);
        line-height: 1.34;
    }
}


/* Dynamic menu data layout */
.menu-group {
    grid-column: 1 / -1;
    display: grid;
    min-width: 0;
}

.group-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 38px;
    row-gap: 0;
    align-items: start;
}

.item.unavailable .price {
    color: #ff5b65;
    font-size: clamp(11px, 1.45vw, 14px);
    letter-spacing: 0;
}

.item.seasonal .price {
    color: #f0a13b;
    font-size: clamp(11px, 1.45vw, 14px);
    letter-spacing: 0;
}

@media (max-width: 760px) {
    .group-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(12px, 5vw, 38px);
    }
}