@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");

:root {
    --menu-mobile-columns: 2;
    --color-white: #ffffff;
    --color-cream: #fbfff7;
    --color-mint: #edf8dc;
    --color-lime: #b6df73;
    --color-lime-dark: #7aa52e;
    --color-lilac: #efe7fb;
    --color-lilac-strong: #b796dc;
    --color-ink: #2b2430;
    --color-muted: #6d6670;
    --color-line: #e8e2ed;
    --color-danger: #d84b4b;
    --shadow-sm: 0 8px 24px rgba(43, 36, 48, 0.08);
    --shadow-md: 0 18px 46px rgba(43, 36, 48, 0.12);
    --radius: 8px;
    --transition: 0.2s ease;
    --font-heading: "Poiret One", Georgia, "Times New Roman", serif;
}

html {
    scrollbar-color: #7f4fb0 #edf8dc;
    scrollbar-width: thin;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

* {
    scrollbar-color: #7f4fb0 rgba(237, 248, 220, 0.9);
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

*::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(237, 248, 220, 0.9);
    box-shadow: inset 0 0 0 1px rgba(122, 165, 46, 0.18);
}

*::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 3px solid rgba(237, 248, 220, 0.9);
    border-radius: 999px;
    background: linear-gradient(180deg, #9b6bc8, #6f3fa1);
    box-shadow: inset 0 0 0 1px rgba(43, 36, 48, 0.22), 0 2px 8px rgba(43, 36, 48, 0.16);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8b58bd, #573083);
}

*::-webkit-scrollbar-thumb:active {
    background: #442467;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--color-white);
    color: var(--color-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open .site-header {
    backdrop-filter: none;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 74px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--color-ink);
    text-decoration: none;
}

.site-logo img {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.site-logo__text {
    display: grid;
    gap: 2px;
    min-width: 0;
    line-height: 1.05;
}

.site-logo__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0;
}

.site-logo__tagline {
    color: var(--color-lilac-strong);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.site-nav a {
    padding: 10px 6px;
    border-radius: var(--radius);
    color: var(--color-muted);
    font-size: 1.04rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    background: transparent;
    color: var(--color-ink);
}

.site-nav a.active {
    color: var(--color-lime-dark);
}

.header-phone {
    color: var(--color-ink);
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--color-lime-dark);
}

.header-contacts {
    display: grid;
    gap: 5px;
    justify-items: end;
    color: var(--color-muted);
    font-size: 0.78rem;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-ink);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 1700;
    border-color: rgba(183, 150, 220, 0.55);
    background: rgba(255, 255, 255, 0.92);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: min(720px, calc(100vh - 78px));
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #202020;
}

.hero--compact {
    min-height: 460px;
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.04) brightness(0.98);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(22, 16, 26, 0.72), rgba(22, 16, 26, 0.22) 58%, rgba(22, 16, 26, 0.36));
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 88px 0 64px;
    color: var(--color-white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: var(--radius);
    background: rgba(237, 248, 220, 0.18);
    color: #f3ffe4;
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.hero h1,
.page-title {
    max-width: 780px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5.7rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero p {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-lime);
    color: var(--color-ink);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover,
.link-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn--secondary,
.link-button--secondary {
    background: var(--color-lilac);
}

.btn--submit {
    width: 100%;
    background: var(--color-lime);
}

.section {
    position: relative;
    padding: 74px 0;
}

.section[id] {
    scroll-margin-top: 96px;
}

.page-closed {
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: center;
    padding: 70px 0;
    background: linear-gradient(180deg, #fffaf0, #edf7f8);
}

.page-closed__card {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(0, 59, 70, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.page-closed__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 59, 70, 0.16);
    border-radius: 999px;
    background: #e7f4f6;
    color: #003b46;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page-closed__card h1 {
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    max-width: 620px;
    margin: 0 auto;
}

.page-closed__card p {
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.page-closed__period {
    display: grid;
    gap: 6px;
    max-width: 460px;
    margin: 24px auto 0;
    padding: 16px 18px;
    border: 1px solid rgba(102, 165, 173, 0.35);
    border-radius: 8px;
    background: #f7fbfc;
}

.page-closed__period-label {
    color: #467077;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page-closed__period-value {
    color: #003b46;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
}

.section--soft {
    background: linear-gradient(180deg, var(--color-cream), var(--color-white));
}

.decor-word {
    position: relative;
    overflow: hidden;
}

.decor-word::before {
    content: attr(data-decor);
    position: absolute;
    top: 28px;
    right: max(16px, calc((100vw - 1180px) / 2));
    z-index: 0;
    color: rgba(43, 36, 48, 0.055);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 13rem);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0;
    white-space: nowrap;
    pointer-events: none;
}

.decor-word--hero::before {
    top: auto;
    right: max(16px, calc((100vw - 1180px) / 2));
    bottom: 20px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.13);
    font-size: clamp(5.5rem, 18vw, 16rem);
}

.decor-word--vertical::before {
    top: 38px;
    right: max(10px, calc((100vw - 1180px) / 2 - 34px));
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(4.5rem, 10vw, 9rem);
    letter-spacing: 0.08em;
}

.decor-word--left::before,
.decor-word--left-vertical::before {
    right: auto;
    left: max(10px, calc((100vw - 1180px) / 2 - 34px));
}

.decor-word--left-vertical::before {
    top: 38px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(4.5rem, 10vw, 9rem);
    letter-spacing: 0.08em;
}

.decor-word--hero.decor-word--vertical::before {
    top: 28px;
    bottom: auto;
    color: rgba(255, 255, 255, 0.13);
}

.decor-word > .container,
.decor-word > .hero__content,
.decor-dots > .container {
    position: relative;
    z-index: 1;
}

.decor-word > .hero__content {
    z-index: 2;
}

.decor-word:not(.hero) > *,
.decor-dots > * {
    position: relative;
    z-index: 1;
}

.decor-dots {
    position: relative;
    overflow: hidden;
}

.decor-dots::after {
    content: "";
    position: absolute;
    right: max(20px, calc((100vw - 1180px) / 2));
    bottom: 18px;
    z-index: 0;
    width: min(220px, 32vw);
    aspect-ratio: 1 / 1;
    background: url("/img/bg/about-dots.png") center / contain no-repeat;
    opacity: 0.34;
    pointer-events: none;
}

.decor-dots--special::after {
    background-image: url("/img/bg/special-dots.png");
}

.decor-dots--left::after {
    right: auto;
    left: max(20px, calc((100vw - 1180px) / 2));
}

.page-frame {
    position: relative;
    overflow: visible;
}

.page-frame > * {
    position: relative;
    z-index: 1;
}

.page-frame::before,
.page-frame::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.page-frame--home::after,
.page-frame--menu::after,
.page-frame--delivery::after {
    width: min(220px, 15vw);
    aspect-ratio: 1 / 1;
    background: url("/img/bg/special-dots.png") center / contain no-repeat;
    opacity: 0.34;
}

.page-frame--home::after {
    top: 760px;
    left: max(8px, calc((100vw - 1180px) / 2 - 112px));
}

.page-frame--menu::after,
.page-frame--delivery::after {
    right: max(8px, calc((100vw - 1180px) / 2 - 112px));
}

.page-frame--menu::after {
    top: 154px;
}

.page-frame--delivery::after {
    top: 34px;
}

.page-frame--banket::before,
.page-frame--delivery::before,
.decor-side-word {
    position: absolute;
    left: max(10px, calc((100vw - 1180px) / 2 - 34px));
    top: 24px;
    z-index: 0;
    color: rgba(43, 36, 48, 0.055);
    font-family: var(--font-heading);
    font-size: clamp(4.4rem, 9vw, 8.5rem);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    pointer-events: none;
}

.page-frame--banket::before {
    content: "БАНКЕТ";
    top: 520px;
}

.page-frame--delivery::before {
    content: "ДОСТАВКА";
    top: 38px;
}

.section__head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.42fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.section-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
}

.section-title::after,
.category-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-lime), var(--color-lilac-strong));
}

.section-text {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.feature-grid,
.hall-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.hall-card,
.contact-card,
.info-panel,
.cart-info__card,
.cart-sidebar,
.product-card,
.cart-items,
.modal__content {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.feature-card,
.contact-card,
.info-panel {
    padding: 24px;
}

.feature-card,
.hall-card,
.contact-card,
.info-panel,
.rules-panel {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover,
.hall-card:hover,
.contact-card:hover,
.info-panel:hover,
.rules-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(183, 150, 220, 0.58);
    box-shadow: var(--shadow-md);
}

.feature-card h3,
.hall-card h3,
.contact-card h3,
.info-panel h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p,
.hall-card p,
.contact-card p,
.info-panel p {
    color: var(--color-muted);
}

.hall-card {
    overflow: hidden;
}

.hall-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03) brightness(0.99);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.hall-card:hover img {
    transform: scale(1.025);
}

.hall-card__body {
    padding: 18px;
}

.gallery-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 34%);
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 14px;
    scroll-snap-type: x proximity;
}

.gallery-strip img,
.gallery-grid img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03) brightness(0.99);
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s ease, filter 0.45s ease, box-shadow var(--transition);
}

.gallery-strip img:hover,
.gallery-grid img:hover {
    transform: translateY(-2px);
    filter: saturate(1.03) contrast(1.04);
    box-shadow: var(--shadow-md);
}

.gallery-strip img {
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-grid img {
    aspect-ratio: 1 / 1;
}

.gallery-luxe {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.gallery-luxe__item {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-cream);
    box-shadow: var(--shadow-sm);
}

.gallery-luxe__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03) brightness(0.99);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-luxe__item:hover img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.02);
}

.gallery-luxe__item--wide {
    grid-column: span 8;
}

.gallery-luxe__item--medium {
    grid-column: span 5;
}

.gallery-luxe__item--small {
    grid-column: span 4;
}

.gallery-luxe__item--tall {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 574px;
}

.gallery-luxe__caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(43, 36, 48, 0.54);
    color: var(--color-white);
    backdrop-filter: blur(12px);
}

.gallery-luxe__caption strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.1;
}

.rules-panel {
    max-width: 960px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.rules-panel ol {
    display: grid;
    gap: 16px;
    padding-left: 22px;
    color: var(--color-muted);
}

.rules-panel li::marker {
    color: var(--color-lime-dark);
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
}

.split img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 5 / 4;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03) brightness(0.99);
    transition: transform 0.45s ease, filter 0.45s ease, box-shadow var(--transition);
}

.split img:hover {
    transform: translateY(-2px);
    filter: saturate(1.02) contrast(1.04);
    box-shadow: var(--shadow-md);
}

.callout {
    padding: 34px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-mint), var(--color-lilac));
}

.callout h2 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
}

.map-frame {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    padding: 56px 0 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(183, 150, 220, 0.18), transparent 28%),
        linear-gradient(135deg, #2b2430 0%, #241f28 58%, #303321 100%);
    color: var(--color-white);
}

/*.site-footer::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100vw - 1180px) / 2));
    bottom: 26px;
    width: min(190px, 26vw);
    aspect-ratio: 1 / 1;
    background: url("/img/bg/special-dots.png") center / contain no-repeat;
    opacity: 0.16;
    pointer-events: none;
}*/

.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 28px;
}

.site-footer__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
}

.site-footer h2 {
    margin-bottom: 12px;
    color: var(--color-lime);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.1;
}

.site-footer p,
.site-footer a,
.site-footer__bottom {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.site-footer a:hover {
    color: var(--color-white);
    transform: translateX(2px);
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

.delivery-page,
.menu-page {
    --order-block-sticky-top: 8px;
    padding: 34px 0 40px;
    background: linear-gradient(180deg, var(--color-cream), var(--color-white) 320px);
}

.menu-header,
.delivery-intro {
    margin-bottom: 28px;
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-mint), var(--color-lilac));
}

.menu-header__title,
.delivery-intro h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
}

.menu-header__subtitle,
.delivery-intro p {
    max-width: 740px;
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.categories-fullwidth,
.menu-items-fullwidth,
.recommended-fullwidth {
    width: 100%;
    margin-bottom: 36px;
}

.menu-page .categories-fullwidth {
    position: sticky;
    top: 10px;
    z-index: 80;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.categories__wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: thin;
}

.category-btn {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-muted);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--color-lime);
    background: var(--color-mint);
    color: var(--color-ink);
}

.menu-items__grid,
.recommended__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-card__image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-mint);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03) brightness(0.99);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.025);
    filter: saturate(1.03) contrast(1.04);
}

.product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px;
}

.product-card__title {
    min-height: 2.6em;
    color: var(--color-ink);
    font-size: 0.98rem;
    line-height: 1.3;
}

.product-card__description {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 7px 0;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.8rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__weight,
.product-card__nutrition {
    display: none;
}

.product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: auto 0 12px;
    color: var(--color-ink);
    font-size: 1.12rem;
    font-weight: 850;
}

.price-description {
    padding: 3px 8px;
    border-radius: var(--radius);
    background: var(--color-lilac);
    color: var(--color-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.product-card__actions {
    display: flex;
    justify-content: center;
}

.quantity-control,
.cart-item__quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: var(--radius);
    background: var(--color-mint);
}

.delivery-page .cart-item__quantity {
    gap: 4px;
    padding: 2px;
}

.delivery-page .cart-item__quantity-btn {
    width: 22px;
    height: 22px;
    font-size: 0.82rem;
}

.delivery-page .cart-item__quantity-value {
    min-width: 16px;
    font-size: 0.76rem;
}

.quantity-btn,
.cart-item__quantity-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
}

.quantity-btn:disabled,
.cart-item__quantity-btn:disabled,
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.quantity-value,
.cart-item__quantity-value {
    min-width: 20px;
    text-align: center;
    font-weight: 800;
}

.category-header {
    position: relative;
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-bottom: 10px;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.5rem;
}

.floating-cart {
    position: fixed;
    right: 18px;
    bottom: 30%;
    z-index: 600;
}

.floating-cart__btn {
    position: relative;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: var(--color-lime);
    color: var(--color-ink);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.cart-icon {
    font-size: 1.7rem;
}

.cart-count,
.header__cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-lilac-strong);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 850;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 36, 48, 0.56);
    backdrop-filter: blur(6px);
}

.modal__content {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    max-height: min(92vh, 640px);
    overflow: auto;
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-line);
}

.modal__title {
    font-size: 1.15rem;
}

.modal__close {
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.modal__body {
    padding: 14px 16px 16px;
}

.cart-summary {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
}

.cart-summary__row,
.cart-info__row,
.delivery-info__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.cart-summary__row,
.cart-info__row--total {
    font-weight: 850;
}

.form__group {
    margin-bottom: 10px;
}

.form__label {
    display: block;
    margin-bottom: 4px;
    color: var(--color-ink);
    font-weight: 750;
}

.form__input {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font: inherit;
}

.form__input:focus {
    border-color: var(--color-lilac-strong);
    outline: 3px solid rgba(183, 150, 220, 0.24);
}

.form__textarea {
    min-height: 58px;
    resize: vertical;
}

.form__radio-group,
.form__promo-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form__radio-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.form__radio-label input {
    accent-color: var(--color-lime-dark);
}

.btn--promo {
    background: var(--color-lilac);
}

.delivery-page .cart-promo {
    margin-bottom: 6px;
}

.delivery-page .form__promo-wrapper {
    flex-wrap: nowrap;
    gap: 5px;
}

.delivery-page .form__input--promo {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 0.78rem;
}

.delivery-page .btn--promo,
.delivery-page .cart-checkout-actions .btn {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 0.76rem;
    line-height: 1.15;
}

.form__input--promo {
    flex: 1 1 170px;
}

.form__promo-message {
    margin-top: 6px;
    font-size: 0.9rem;
}

.form__promo-message.success {
    color: var(--color-lime-dark);
}

.form__promo-message.error,
.btn-clear-cart,
.cart-item__remove {
    color: var(--color-danger);
}

.btn-clear-cart {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    background: var(--color-white);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.cart-checkout-actions {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto;
    gap: 5px;
}

.btn--clear {
    border: 1px solid var(--color-danger);
    background: var(--color-white);
    color: var(--color-danger);
}

.order-summary-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
    gap: 8px;
    align-items: start;
    margin-bottom: 8px;
}

.cart-info__card,
.cart-sidebar {
    padding: 18px;
}

.delivery-page .cart-info__card,
.delivery-page .cart-sidebar {
    padding: 6px;
}

.cart-info__title {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-info__row {
    margin-bottom: 2px;
    font-size: 0.78rem;
}

.cart-info__row--discount {
    color: var(--color-lime-dark);
}

.delivery-info {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: var(--radius);
    background: var(--color-mint);
}

.delivery-progress {
    margin-top: 6px;
}

.delivery-progress__text {
    margin-bottom: 3px;
    color: var(--color-muted);
    font-size: 0.74rem;
}

.delivery-progress__bar {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-line);
}

.delivery-progress__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-lime), var(--color-lilac-strong));
}

.cart-items {
    max-height: 13vh;
    overflow: auto;
    padding: 4px 6px;
    margin-bottom: 6px;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid var(--color-line);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item__info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.cart-item__title {
    overflow: hidden;
    min-width: 0;
    color: var(--color-ink);
    font-weight: 800;
    font-size: 0.76rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item__price,
.cart-item__weight {
    flex: 0 0 auto;
    color: var(--color-muted);
    font-size: 0.68rem;
    line-height: 1.2;
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item__total {
    min-width: 56px;
    text-align: right;
    font-size: 0.76rem;
    font-weight: 800;
}

.cart-item__remove {
    border: 0;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.empty-cart {
    padding: 22px;
    color: var(--color-muted);
    text-align: center;
}

.collapsible-header {
    margin-bottom: 6px;
    padding: 5px 8px;
    border: 1px solid rgba(183, 150, 220, 0.42);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(43, 36, 48, 0.08);
}

.collapsible-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.collapsible-header__title {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-weight: 850;
    font-size: 0.86rem;
    line-height: 1.15;
}

.collapsible-header__meta,
.collapsible-header__progress {
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15;
}

.collapsible-header__progress {
    color: var(--color-lime-dark);
}

.collapsible-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.collapsible-checkout-btn {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-lime);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 850;
    cursor: pointer;
}

.collapsible-checkout-btn:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.collapsible-icon-btn,
.collapsible-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 26px;
    padding: 4px 7px;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-lilac);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.collapsible-icon-btn {
    width: 28px;
    padding: 0;
    font-size: 1rem;
}

.collapsible-block.collapsed .collapsible-body {
    display: none;
}

.collapsible-block.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.delivery-page .collapsible-block {
    position: sticky;
    top: var(--order-block-sticky-top);
    z-index: 90;
    margin-bottom: 8px;
    padding: 6px;
    border: 1px solid rgba(183, 150, 220, 0.75);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #efe7fb 0%, #e8dcf7 100%);
    box-shadow: 0 16px 38px rgba(91, 62, 126, 0.22);
    backdrop-filter: blur(12px);
}

.delivery-page .collapsible-block .cart-info__card,
.delivery-page .collapsible-block .cart-sidebar {
    border-color: rgba(183, 150, 220, 0.38);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 22px rgba(43, 36, 48, 0.08);
}

body.delivery-cart-fullscreen {
    overflow: hidden;
}

.delivery-page .collapsible-block.cart-fullscreen {
    position: fixed;
    inset: 12px;
    top: 12px;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 24px);
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.delivery-page .collapsible-block.cart-fullscreen .collapsible-body {
    display: block;
    min-height: 0;
    overflow: auto;
}

.delivery-page .collapsible-block.cart-fullscreen .order-summary-layout {
    grid-template-columns: minmax(210px, 0.32fr) minmax(0, 0.68fr);
}

.delivery-page .collapsible-block.cart-fullscreen .cart-items {
    max-height: min(54vh, 520px);
}

.delivery-page .collapsible-block.cart-fullscreen .cart-item__title {
    white-space: normal;
}

.blockcategory {
    position: sticky;
    top: calc(var(--order-block-sticky-top, 8px) + var(--order-block-sticky-height, 0px) + 8px);
    z-index: 80;
    width: auto;
    margin: 0 0 22px calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 8px max(12px, calc((100vw - 1180px) / 2 + 16px));
    border: 1px solid rgba(122, 165, 46, 0.38);
    border-right: 0;
    border-left: 0;
    background: linear-gradient(180deg, #edf8dc 0%, #dff0c4 100%);
    box-shadow: 0 12px 28px rgba(79, 118, 29, 0.15);
    backdrop-filter: blur(10px);
}

.blockcategory .categories__wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2px 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.blockcategory .category-btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 32px;
    padding: 7px 12px;
    border-color: rgba(122, 165, 46, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-ink);
    font-size: 0.84rem;
    line-height: 1.15;
    box-shadow: 0 4px 12px rgba(43, 36, 48, 0.05);
}

.blockcategory .category-btn:hover,
.blockcategory .category-btn.active {
    border-color: var(--color-lime-dark);
    background: var(--color-lime);
    color: var(--color-ink);
}

.toast-notification {
    position: fixed;
    left: 50%;
    top: 118px;
    z-index: 1200;
    width: min(520px, calc(100% - 32px));
    min-height: 58px;
    padding: 13px 16px;
    border: 1px solid rgba(183, 150, 220, 0.38);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    transform: translate(-50%, 0);
    box-shadow:
        0 24px 64px rgba(43, 36, 48, 0.2),
        0 8px 18px rgba(43, 36, 48, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    animation: toastIn 0.22s ease-out;
    backdrop-filter: blur(12px);
}

.toast-notification::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--color-lime);
}

.toast-notification__mark {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 999px;
    background: var(--color-lime);
    box-shadow: 0 0 0 5px rgba(182, 223, 115, 0.22);
}

.toast-notification--muted::before,
.toast-notification--muted .toast-notification__mark {
    background: var(--color-lilac-strong);
}

.toast-notification--muted .toast-notification__mark {
    box-shadow: 0 0 0 5px rgba(183, 150, 220, 0.2);
}

.toast-notification--hide {
    opacity: 0;
    transform: translate(-50%, -8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 1040px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 64px;
    }

    .site-logo img {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .site-logo {
        grid-column: 1;
        grid-row: 1;
        gap: 8px;
    }

    .site-logo__name {
        font-size: 1.55rem;
    }

    .site-logo__tagline {
        font-size: 0.68rem;
    }

    .nav-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .site-nav {
        display: none;
    }

    .site-nav.is-open {
        display: grid;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        z-index: 1600;
        align-content: center;
        justify-items: center;
        gap: clamp(6px, 1.4vh, 12px);
        padding: 15vh 22px;
        overflow: auto;
        background:
            radial-gradient(circle at 50% 18%, rgba(237, 248, 220, 0.96), rgba(237, 248, 220, 0) 36%),
            linear-gradient(160deg, rgba(251, 255, 247, 0.99) 0%, rgba(239, 231, 251, 0.99) 58%, rgba(223, 240, 196, 0.99) 100%);
        backdrop-filter: blur(18px);
        box-shadow: inset 0 0 0 1px rgba(183, 150, 220, 0.28);
    }

    .site-nav.is-open::before {
        display: none;
    }

    .site-nav.is-open a {
        display: block;
        width: min(100%, 560px);
        margin: 0 auto;
        padding: 2px 10px;
        background: transparent;
        color: var(--color-ink);
        font-size: clamp(1.55rem, 5.6vh, 3rem);
        font-weight: 300;
        line-height: 1;
        text-align: center;
        letter-spacing: 0;
    }

    .site-nav.is-open a:hover,
    .site-nav.is-open a.active {
        background: transparent;
        color: var(--color-lime-dark);
    }

    .header-contacts {
        display: grid;
        grid-column: 2;
        grid-row: 1;
        justify-items: end;
        gap: 2px;
        min-width: 0;
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .header-contacts span,
    .header-contacts a {
        overflow: hidden;
        max-width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0;
        font-size: 0.88rem;
    }

    .section__head,
    .split,
    .order-summary-layout,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .hall-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-items__grid,
    .recommended__grid,
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-luxe__item,
    .gallery-luxe__item--wide,
    .gallery-luxe__item--medium,
    .gallery-luxe__item--small,
    .gallery-luxe__item--tall {
        grid-column: span 6;
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 10px;
        padding: 7px 0;
    }

    .site-logo img {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .site-logo__name {
        font-size: 1.85rem;
        line-height: 0.95;
    }

    .site-logo__tagline {
        font-size: 0.78rem;
        font-weight: 650;
    }

    .nav-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .header-contacts {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-items: start;
        gap: 1px;
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .header-phone {
        min-height: 24px;
        font-size: 0.98rem;
    }

    .floating-cart {
        bottom: 200px;
    }

    .delivery-page {
        --order-block-sticky-top: 5px;
    }

    .decor-word::before {
        top: 18px;
        right: 12px;
        font-size: clamp(3.8rem, 22vw, 7rem);
        opacity: 0.72;
    }

    .decor-word--hero::before {
        right: 12px;
        bottom: 12px;
    }

    .decor-word--vertical::before {
        writing-mode: horizontal-tb;
        transform: none;
        top: 16px;
        right: 12px;
        font-size: clamp(3.2rem, 18vw, 5.5rem);
        letter-spacing: 0;
    }

    .decor-word--left::before,
    .decor-word--left-vertical::before {
        left: 12px;
        right: auto;
    }

    .decor-word--left-vertical::before,
    .page-frame--banket::before,
    .page-frame--delivery::before,
    .decor-side-word {
        writing-mode: horizontal-tb;
        transform: none;
        top: 16px;
        left: 12px;
        font-size: clamp(3.2rem, 18vw, 5.5rem);
        letter-spacing: 0;
    }

    .page-frame--home::after,
    .page-frame--menu::after,
    .page-frame--delivery::after {
        width: 136px;
        opacity: 0.22;
    }

    .page-frame--home::after {
        top: 650px;
        left: 12px;
    }

    .page-frame--menu::after,
    .page-frame--delivery::after {
        right: 12px;
    }

    .decor-dots::after {
        width: 136px;
        right: 12px;
        bottom: 10px;
        opacity: 0.22;
    }

    .decor-dots--left::after {
        left: 12px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero,
    .hero--compact {
        min-height: 520px;
    }

    .hero__content {
        padding: 68px 0 44px;
    }

    .section {
        padding: 52px 0;
    }

    .feature-grid,
    .hall-grid,
    .contact-grid,
    .menu-items__grid,
    .recommended__grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-strip {
        grid-auto-columns: minmax(230px, 82%);
    }

    .menu-header,
    .delivery-intro,
    .callout {
        padding: 22px;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .cart-item__controls {
        justify-content: flex-end;
    }

    .delivery-page .collapsible-block,
    .menu-page .categories-fullwidth {
        top: var(--order-block-sticky-top);
    }

    .order-summary-layout {
        grid-template-columns: minmax(112px, 0.88fr) minmax(0, 1.12fr);
        gap: 6px;
    }

    .delivery-page .cart-info__card,
    .delivery-page .cart-sidebar {
        padding: 5px;
    }

    .cart-items {
        max-height: 11vh;
        padding: 3px 5px;
    }

    .cart-item__title,
    .cart-info__row,
    .cart-item__total {
        font-size: 0.72rem;
    }

    .cart-item__price,
    .cart-item__weight,
    .delivery-progress__text,
    .delivery-info__row {
        font-size: 0.64rem;
    }

    .cart-checkout-actions {
        grid-template-columns: 1fr auto;
    }

    .cart-checkout-actions .btn {
        min-height: 28px;
        padding: 5px 7px;
        font-size: 0.72rem;
    }

    .blockcategory {
        padding: 6px 12px;
    }

    .blockcategory .categories__wrapper {
        gap: 6px;
    }

    .blockcategory .category-btn {
        min-height: 28px;
        padding: 5px 9px;
        font-size: 0.76rem;
    }

    .collapsible-icon-btn,
    .collapsible-toggle {
        min-height: 24px;
    }

    .delivery-page .collapsible-header {
        margin-bottom: 4px;
        padding: 6px 8px;
    }

    .delivery-page .collapsible-header__content {
        gap: 8px;
    }

    .delivery-page .collapsible-header__title {
        gap: 1px;
        font-size: 0.78rem;
        white-space: normal;
    }

    .delivery-page .collapsible-header__meta,
    .delivery-page .collapsible-header__progress {
        font-size: 0.62rem;
    }

    .delivery-page .collapsible-actions {
        gap: 4px;
    }

    .delivery-page .collapsible-checkout-btn {
        display: inline-flex;
    }

    .collapsible-icon-btn {
        width: 26px;
    }

    .delivery-page .collapsible-block.cart-fullscreen {
        inset: 5px;
        top: 5px;
        max-height: calc(100vh - 10px);
    }

    .delivery-page .collapsible-block.cart-fullscreen .order-summary-layout {
        grid-template-columns: 1fr;
    }

    .delivery-page .collapsible-block.cart-fullscreen .cart-items {
        max-height: 42vh;
    }

    .form__promo-wrapper {
        gap: 6px;
    }

    .form__input--promo {
        flex-basis: 110px;
    }

    .btn--promo {
        min-height: 28px;
        padding: 5px 7px;
        font-size: 0.72rem;
    }

    .modal {
        align-items: flex-start;
        padding: 8px;
    }

    .toast-notification {
        top: auto;
        bottom: 28px;
        width: min(440px, calc(100% - 24px));
        min-height: 54px;
        padding: 12px 14px;
        font-size: 0.92rem;
        box-shadow:
            0 22px 58px rgba(43, 36, 48, 0.24),
            0 8px 18px rgba(43, 36, 48, 0.12),
            0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    }

    .toast-notification--hide {
        transform: translate(-50%, 8px);
    }

    .modal__content {
        max-height: calc(100vh - 16px);
    }

    .modal__header {
        padding: 10px 12px;
    }

    .modal__body {
        padding: 10px 12px 12px;
    }

    .form__radio-group {
        gap: 6px 10px;
    }

    .form__label,
    .form__radio-label,
    .form__input {
        font-size: 0.9rem;
    }

    .btn--modal-submit {
        min-height: 40px;
        padding: 9px 12px;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .site-header__inner {
        gap: 5px 8px;
    }

    .site-logo img {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .site-logo {
        gap: 6px;
    }

    .site-logo__name {
        font-size: 1.72rem;
    }

    .site-logo__tagline {
        max-width: none;
        overflow: visible;
        font-size: 0.7rem;
        text-overflow: clip;
        white-space: nowrap;
    }

    .header-contacts {
        font-size: 0.76rem;
    }

    .header-phone {
        min-height: 22px;
        padding: 0;
        font-size: 0.92rem;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .feature-grid,
    .hall-grid,
    .contact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-luxe {
        grid-template-columns: 1fr;
    }

    .gallery-luxe__item,
    .gallery-luxe__item--wide,
    .gallery-luxe__item--medium,
    .gallery-luxe__item--small,
    .gallery-luxe__item--tall {
        grid-column: 1;
        min-height: 240px;
    }

    .rules-panel {
        padding: 22px;
    }

    .menu-items__grid,
    .recommended__grid {
        grid-template-columns: repeat(var(--menu-mobile-columns), minmax(0, 1fr));
    }

    .product-card__content {
        padding: 9px;
    }

    .product-card__title {
        font-size: 0.84rem;
    }

    .product-card__description {
        display: none;
    }

    .product-card__price {
        font-size: 0.92rem;
    }

    .price-description {
        font-size: 0.62rem;
    }

    .delivery-page .collapsible-block {
        max-height: none;
    }

    .order-summary-layout {
        grid-template-columns: 1fr;
    }

    .cart-info__card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 8px;
    }

    .cart-info__title,
    .delivery-info,
    .delivery-progress {
        grid-column: 1 / -1;
    }

    .cart-items {
        max-height: 10vh;
    }
}
