

/* Start:/local/templates/shpinat/template_styles.css?1774436811570*/
/* =============================================
   ПОДКЛЮЧЕНИЕ СТИЛЕЙ — Кафе «Шпинат»
   Порядок важен: desktop → mobile → мобильная шапка
============================================= */
@import url("/local/templates/shpinat/styles/style.css");           /* Desktop стили (без media-запросов) */
@import url("/local/templates/shpinat/styles/mobile.css");          /* Адаптив: контент страниц */
@import url("/local/templates/shpinat/styles/mobile_header.css");   /* Адаптив: мобильная шапка (burger, slide-nav, overlay) */


/* End */


/* Start:/local/templates/shpinat/styles/style.css?177431243129003*/
/* =============================================
   DESKTOP СТИЛИ — Кафе «Шпинат»
   Только desktop / base стили. Мобилка — в mobile.css
============================================= */

@font-face {
    font-family: 'NauryzRedKeds';
    src: url('/local/templates/shpinat/fonts/NauryzRedKeds.ttf') format('truetype'),
         local('NauryzRedKeds'), local('Nauryz Red Keds');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.brand-font {
    font-family: 'NauryzRedKeds', 'Caveat', cursive;
    font-style: normal;
}

:root {
    --green:        #005B56;
    --beige:        #F4EBE1;
    --pink:         #FF91C6;
    --green-dark:   #003d39;
    --beige-light:  #FAF5F0;
    --white:        #FFFFFF;
    --text-muted:   rgba(0, 91, 86, 0.55);

    --font-display: 'Jost', sans-serif;
    --font-body:    'Jost', sans-serif;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--beige);
    color: var(--green);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* =============================================
   УТИЛИТЫ
============================================= */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    color: var(--green);
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary  { background: var(--green); color: var(--beige); border-color: var(--green); }
.btn-primary:hover {
    background: var(--pink); color: var(--green); border-color: var(--pink);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,145,198,0.35);
}
.btn-outline  { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--beige); transform: translateY(-3px); }
.btn-ghost    { background: rgba(255,255,255,0.15); color: var(--beige); border-color: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--pink); color: var(--green); border-color: var(--pink); transform: translateY(-3px); }

/* =============================================
   HEADER (DESKTOP)
============================================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500; /* ниже Bitrix admin-панели (~99999) */
    padding: 0 5% 0 7%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(224, 208, 193, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,91,86,0.12);
    transition: background var(--transition), box-shadow var(--transition);
    overflow: visible;
}

/* Bitrix admin-панель ~ 41px — сдвигаем шапку вниз */
body.bx-admin-logged-in header,
body.bx-toolbar-showed header {
    top: 41px;
}

/* Якорные ссылки */
section[id] {
    scroll-margin-top: 120px;
}
body.bx-admin-logged-in section[id],
body.bx-toolbar-showed section[id] {
    scroll-margin-top: 161px;
}

.logo {
    font-family: var(--font-display);
    font-size: 2.3rem;
    color: var(--green);
    letter-spacing: 2px;
    transition: color var(--transition);
}
.logo span      { color: var(--pink); }
.logo:hover     { color: var(--green-dark); }
.logo.brand-font { font-family: 'NauryzRedKeds', 'Caveat', cursive; }
.logo-img {
    height: 90px;
    max-height: 90px;
    max-width: 170px;
    width: auto;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

#desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    position: relative;
    transition: color var(--transition);
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--pink);
    transition: width var(--transition);
}
nav a:hover         { color: var(--green-dark); }
nav a:hover::after  { width: 100%; }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green);
    transition: color var(--transition);
    white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; }
.header-phone:hover { color: var(--green-dark); }

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,91,86,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    transition: var(--transition);
}
.header-social-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--beige);
    transform: translateY(-2px);
}
.header-social-link svg { width: 17px; height: 17px; }

.header-right .btn { padding: 10px 24px; font-size: 0.9rem; }

/* Lucide */
[data-lucide] { display: block; }

/* =============================================
   HERO
============================================= */
.hero {
    min-height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 170px 5% 80px;  /* 130px header + 40px breathing room */
    text-align: center;
}
body.bx-admin-logged-in .hero,
body.bx-toolbar-showed .hero {
    padding-top: 215px; /* + 41px admin панель */
}
.hero-text { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero-tagline {
    display: inline-block;
    background: var(--pink); color: var(--green);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(3.2rem, 6vw, 5.8rem); margin-bottom: 28px; color: var(--green); }
.hero h1 em { color: var(--pink); font-size: 1em; }
.hero-lead { font-size: 1.4rem; font-weight: 500; color: var(--green-dark); max-width: 600px; margin-bottom: 44px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 12px; margin-top: 52px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,91,86,0.07); border: 1px solid rgba(0,91,86,0.15);
    border-radius: 50px; padding: 8px 18px; font-size: 0.88rem; font-weight: 500;
}

.hero-visual {
    width: 100%; max-width: 1500px; height: 40vh; min-height: 380px;
    border-radius: var(--radius-lg); overflow: hidden; position: relative;
    box-shadow: 0 40px 80px rgba(0,91,86,0.15); order: -1;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero-visual:hover img { transform: scale(1.05); }

.hero-float-leaf {
    position: absolute; top: 30px; right: 30px; width: 80px; height: 80px;
    background: var(--pink); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); box-shadow: 0 15px 35px rgba(255,145,198,0.4);
    animation: floatLeaf 5s ease-in-out infinite alternate; z-index: 2;
}
.hero-float-leaf svg { width: 44px; height: 44px; stroke-width: 1.5; }

@keyframes floatLeaf {
    0%   { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(15deg); }
}

/* =============================================
   ВОЛНОВЫЕ ПЕРЕХОДЫ
============================================= */
.wave-sep {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px; /* убрать щель */
}
.wave-sep svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* =============================================
   ПРЕИМУЩЕСТВА
============================================= */
.features { padding: 90px 5%; background: var(--green); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card {
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: default;
    display: flex; flex-direction: column; height: 100%;
}
.feature-card:hover { background: rgba(255,255,255,0.07); border-color: var(--pink); transform: translateY(-6px); }
.feature-icon { width: 52px; height: 52px; margin-bottom: 24px; color: var(--beige); }
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.25; }
.feature-card h3 { color: var(--beige); font-size: 1.5rem; margin-bottom: 12px; }
.feature-card p { color: rgba(224,208,193,0.65); font-size: 0.97rem; font-weight: 300; line-height: 1.75; flex-grow: 1; }
.feature-card .feature-highlight { display: inline-block; margin-top: 16px; color: var(--pink); font-weight: 600; font-size: 0.9rem; }

/* =============================================
   МЕНЮ
============================================= */
.menu-section { padding: 100px 5%; }
.menu-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; flex-wrap: wrap; gap: 20px; }/* Табы меню (категории) */
.menu-nav-sticky {
    /* Тут будет логика прилипания, если нужно */
}
.menu-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }

@media (max-width: 900px) {
    .menu-tabs { 
        flex-wrap: nowrap !important; 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .menu-tabs::-webkit-scrollbar { display: none; }
    .menu-tab { flex-shrink: 0; }
}
.menu-tab {
    padding: 10px 24px; border-radius: 50px;
    border: 2px solid rgba(0,91,86,0.2);
    font-size: 0.9rem; font-weight: 500; cursor: pointer;
    transition: var(--transition); background: transparent;
    color: var(--green); font-family: var(--font-body);
}
.menu-tab:hover     { border-color: var(--green); background: rgba(0,91,86,0.06); }
.menu-tab.active    { background: var(--green); color: var(--beige); border-color: var(--green); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.dish-card {
    background: rgba(255,255,255,0.45);
    border: 1.5px solid rgba(0,91,86,0.12);
    border-radius: var(--radius-md); overflow: hidden;
    transition: var(--transition); position: relative;
}
.dish-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,91,86,0.12); border-color: rgba(0,91,86,0.25); background: rgba(255,255,255,0.7); }
.dish-img { width: 100%; height: 180px; background: rgba(0,91,86,0.06); border-bottom: 1px solid rgba(0,91,86,0.08); display: flex; align-items: center; justify-content: center; color: rgba(0,91,86,0.25); overflow: hidden; flex-direction: column; gap: 8px; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dish-card:hover .dish-img img { transform: scale(1.07); }
.dish-img svg { width: 48px; height: 48px; stroke-width: 1; }
.dish-body { padding: 22px; }
.dish-markers { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.marker { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; }
.marker-hit   { background: var(--pink); color: var(--green); }
.marker-new   { background: var(--pink); color: var(--green); }
.marker-spicy { background: transparent; color: var(--green); border: 1px solid var(--green); }
.marker-veg   { background: rgba(0,91,86,0.1); color: var(--green); }
.dish-name  { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: var(--green); }
.dish-desc  { font-size: 0.9rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; margin-bottom: 18px; }
.dish-footer { display: flex; align-items: center; justify-content: space-between; }
.dish-price { font-size: 1.5rem; font-weight: 700; color: var(--green); }
.dish-price span { font-size: 0.85rem; font-weight: 400; opacity: 0.6; }
.dish-weight { font-size: 0.82rem; color: var(--text-muted); }
.menu-cta { text-align: center; margin-top: 56px; }

/* =============================================
   СТРАНИЦА МЕНЮ /menu/
============================================= */
.menu-page-hero {
    background: var(--green);
    color: var(--beige);
    padding: 160px 5% 70px;
    text-align: center;
}
.menu-page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin: 12px 0 16px;
    color: var(--beige);
    font-weight: 700;
}
.menu-page-hero p {
    font-size: 1.05rem;
    opacity: 0.65;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Sticky-навигация */
.menu-page-nav {
    position: sticky;
    top: 110px; /* высота шапки */
    z-index: 400;
    background: rgba(244,235,225,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,91,86,0.1);
    padding: 0 5%;
}
body.bx-admin-logged-in .menu-page-nav,
body.bx-toolbar-showed .menu-page-nav {
    top: 151px; /* 110 + 41 admin */
}
.menu-page-nav-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 0;
    max-width: 1400px;
    margin: 0 auto;
}
.menu-page-nav-inner::-webkit-scrollbar { display: none; }
.menu-nav-link {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    border: 1.5px solid transparent;
}
.menu-nav-link:hover { border-color: var(--green); background: rgba(0,91,86,0.06); }
.menu-nav-link.active { background: var(--green); color: var(--beige); }

/* Контент страницы меню */
.menu-page-content { background: var(--beige-light); padding-bottom: 80px; }
.menu-page-section { padding: 70px 0 20px; }
.menu-page-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--green);
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0,91,86,0.1);
}


/* =============================================
   О НАС
============================================= */
.about-top  { padding: 100px 5% 60px; background: var(--green); color: var(--beige-light); }
.about-bottom { padding: 40px 5% 100px; background: var(--beige); color: var(--green); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about-photo { border-radius: var(--radius-md); overflow: hidden; background: var(--beige); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-photo:hover img { transform: scale(1.05); }
.about-photo--tall   { grid-row: span 2; height: 420px; }
.about-photo--short  { height: 195px; }
.about-photo--placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; background: rgba(0,91,86,0.08); }
.about-header { max-width: 900px; margin-bottom: 50px; }
.about-header .section-label { color: var(--pink); }
.about-header .section-title { color: var(--white); }
.about-quote { font-size: 1.45rem; font-style: italic; font-weight: 300; line-height: 1.7; color: var(--beige); padding-left: 24px; border-left: 3px solid var(--pink); margin-bottom: 32px; }
.about-text { font-size: 1rem; line-height: 1.85; color: rgba(0,91,86,0.85); margin-bottom: 16px; }
.about-text strong { color: var(--green); font-weight: 600; }
.about-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(0,91,86,0.15); }
.stat-num   { display: block; font-family: var(--font-display); font-size: 2.8rem; color: var(--pink); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.88rem; color: rgba(0,91,86,0.7); font-weight: 400; }

/* =============================================
   ДОСТАВКА
============================================= */
.delivery { padding: 100px 5%; position: relative; background: var(--green); overflow: hidden; }
.delivery::before, .delivery::after { content: ''; position: absolute; border-radius: 90% 0 90% 0; opacity: 0.07; background: var(--beige); }
.delivery::before { width: 480px; height: 480px; top: -150px; right: -80px; transform: rotate(-35deg); }
.delivery::after  { width: 280px; height: 280px; bottom: -60px; left: 3%; transform: rotate(55deg); }
.delivery-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.delivery-content .section-label { color: var(--pink); }
.delivery-content h2 { color: var(--beige); font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 20px; }
.delivery-content p { color: rgba(224,208,193,0.7); font-size: 1.05rem; line-height: 1.8; margin-bottom: 36px; }
.delivery-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.delivery-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 36px; }
.delivery-option { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.delivery-option:last-child  { border-bottom: none; padding-bottom: 0; }
.delivery-option:first-child { padding-top: 0; }
.delivery-option-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--beige); }
.delivery-option-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.delivery-option-text strong { display: block; color: var(--beige); font-size: 1.05rem; margin-bottom: 4px; }
.delivery-option-text span   { color: rgba(224,208,193,0.6); font-size: 0.9rem; }

/* =============================================
   FOOTER
============================================= */
footer { background: var(--green-dark); padding: 72px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { color: var(--beige); margin-bottom: 20px; display: block; }
.footer-brand .logo span { color: var(--pink); }
.footer-desc { color: rgba(224,208,193,0.85); font-size: 1rem; font-weight: 500; line-height: 1.8; margin-bottom: 28px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: var(--beige); transition: var(--transition); }
.social-link:hover { background: var(--pink); border-color: var(--pink); color: var(--green); transform: translateY(-3px); }
.footer-nav-title { color: var(--beige); font-weight: 600; font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: rgba(224,208,193,0.6); font-size: 0.95rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--pink); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-icon { flex-shrink: 0; margin-top: 1px; color: rgba(224,208,193,0.5); }
.footer-contact-icon svg { width: 16px; height: 16px; stroke-width: 1.5; }
.footer-contact-text { color: rgba(224,208,193,0.9); font-size: 0.95rem; font-weight: 500; line-height: 1.6; }
.footer-contact-text a { color: rgba(224,208,193,0.9); transition: color var(--transition); }
.footer-contact-text a:hover { color: var(--pink); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy   { color: rgba(224,208,193,0.6); font-weight: 500; font-size: 0.9rem; }
.footer-credit { color: rgba(224,208,193,0.5); font-weight: 500; font-size: 0.88rem; }

/* Лого в подвале */
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    /* На тёмном фоне делаем иконку светлее */
    filter: brightness(0) invert(1) sepia(1) saturate(0.3) hue-rotate(120deg) brightness(1.4);
    opacity: 0.9;
    transition: opacity var(--transition);
}
.footer-logo:hover .footer-logo-img { opacity: 1; }

/* =============================================
   СТРАНИЦА МЕНЮ /menu/
============================================= */

/* Hero */
.menu-page-hero {
    background: var(--green);
    position: relative;
    overflow: hidden;
    padding: 180px 5% 0;
}
.menu-page-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(0,0,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.menu-page-hero-inner {
    position: relative; z-index: 2;
}
.menu-page-hero-text {
    max-width: 700px;
    padding-bottom: 56px;
}
.menu-page-hero-text h1 {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    color: var(--beige);
    font-weight: 700;
    margin: 12px 0 18px;
    line-height: 1.05;
}
.menu-page-hero-text p {
    font-size: 1rem;
    color: rgba(244,235,225,0.55);
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}
.menu-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.menu-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(244,235,225,0.85);
    font-size: 0.82rem; font-weight: 500;
    padding: 7px 14px; border-radius: 50px;
    letter-spacing: 0.3px;
}
.menu-hero-wave { line-height: 0; margin-top: 40px; }
.menu-hero-wave svg { display: block; width: 100%; height: 70px; }

/* Фильтр-полоса */
.menu-filter-bar {
    position: sticky;
    top: 110px;
    z-index: 400;
    background: rgba(250,245,240,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,91,86,0.1);
    padding: 14px 5%;
}
body.bx-admin-logged-in .menu-filter-bar,
body.bx-toolbar-showed   .menu-filter-bar { top: 151px; }
.menu-filter-inner {
    display: flex; gap: 8px; flex-wrap: wrap;
    max-width: 1400px; margin: 0 auto;
}
.menu-filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 20px; border-radius: 50px;
    border: 1.5px solid rgba(0,91,86,0.18);
    background: transparent;
    color: var(--green); font-family: var(--font-body);
    font-size: 0.88rem; font-weight: 500; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}
.menu-filter-btn:hover { border-color: var(--green); background: rgba(0,91,86,0.06); }
.menu-filter-btn.active {
    background: var(--green); color: var(--beige); border-color: var(--green);
}
.mfb-count {
    font-size: 0.72rem; font-weight: 600; opacity: 0.65;
    background: rgba(0,0,0,0.12); border-radius: 50px;
    padding: 1px 7px;
}
.menu-filter-btn.active .mfb-count { background: rgba(255,255,255,0.2); opacity: 1; }

/* Страница меню — контент */
.menu-page-body { background: var(--beige-light); min-height: 60vh; }
.menu-tab-section { display: none; padding: 56px 0 80px; }
.menu-tab-section.active { display: block; }

/* Заголовок раздела */
.menu-section-header {
    display: flex; align-items: baseline; gap: 18px;
    margin-bottom: 40px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(0,91,86,0.1);
}
.menu-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--green);
    font-weight: 700;
}
.menu-section-count {
    font-size: 0.85rem; color: var(--text-muted);
    font-weight: 400; letter-spacing: 0.5px;
}

/* =============================================
   КАРТОЧКИ — HOVER ПОДСКАЗКА + КЛИК
============================================= */
.dish-card--clickable { cursor: pointer; }
/* Hint живёт внутри dish-img и появляется как оверлей */
.dish-card--clickable .dish-img { position: relative; }
.dish-card-hint {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: rgba(0,91,86,0.7);
    color: var(--beige);
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    border-radius: 0;
}
.dish-card--clickable:hover .dish-card-hint {
    opacity: 1;
}

/* =============================================
   МОДАЛЬНОЕ ОКНО БЛЮДА
============================================= */
.dish-modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.dish-modal-overlay.open {
    opacity: 1; pointer-events: auto;
}
.dish-modal {
    background: var(--beige-light);
    border-radius: var(--radius-lg);
    width: 100%; max-width: 640px;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.dish-modal-overlay.open .dish-modal {
    transform: translateY(0) scale(1);
}
.dish-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: rgba(0,91,86,0.08); border: none;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--green); transition: var(--transition);
    z-index: 10;
}
.dish-modal-close:hover { background: var(--green); color: var(--beige); }
.dish-modal-close svg { width: 18px; height: 18px; }

/* Фото в модале */
.dish-modal-img {
    width: 100%; height: 240px;
    background: rgba(0,91,86,0.06);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px;
    color: rgba(0,91,86,0.3); font-size: 0.75rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}
.dish-modal-img.has-img { background: #000; }
.dish-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.dish-modal-img svg { width: 52px; height: 52px; stroke-width: 1; }

/* Тело модала */
.dish-modal-body { padding: 28px 32px 32px; }
.dish-modal-meta {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px; flex-wrap: wrap;
}
.dm-section {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(0,91,86,0.45);
}
.dm-name {
    font-size: 1.9rem; font-weight: 700;
    color: var(--green); margin-bottom: 14px; line-height: 1.15;
}
.dm-desc {
    font-size: 0.95rem; color: var(--text-muted);
    line-height: 1.7; font-weight: 300; margin-bottom: 28px;
}
.dm-footer {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,91,86,0.1);
}
.dm-price-block { display: flex; align-items: baseline; gap: 10px; }
.dm-price {
    font-size: 2rem; font-weight: 700; color: var(--green);
}
.dm-price span { font-size: 1rem; opacity: 0.6; font-weight: 400; }
.dm-weight {
    font-size: 0.85rem; color: var(--text-muted);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* End */


/* Start:/local/templates/shpinat/styles/mobile.css?17743119025053*/
/* =============================================
   МОБИЛЬНЫЕ СТИЛИ — Кафе «Шпинат»
   Только адаптивные переопределения. Desktop — в style.css

   Принцип: mobile.css переопределяет только то,
   что меняется на маленьких экранах.
============================================= */

/* =============================================
   ≤ 1200px — Средние экраны (шапка)
============================================= */
@media (max-width: 1200px) {
    /* Скрываем текст телефона, оставляем только кнопку */
    .header-phone { display: none; }
    .header-social { display: none; }
    /* Немного уменьшаем nav */
    nav { gap: 1.5rem; }
    nav a { font-size: 0.85rem; letter-spacing: 1px; }
}

/* =============================================
   ≤ 1024px — Планшеты
============================================= */
@media (max-width: 1024px) {

    /* О нас — одна колонка */
    .about-grid    { grid-template-columns: 1fr; gap: 50px; }
    .about-photos  { max-width: 560px; }

    /* Доставка — одна колонка */
    .delivery-inner { grid-template-columns: 1fr; gap: 50px; }

    /* Футер — 2 колонки */
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   ≤ 768px — Мобильные телефоны (основная точка)
============================================= */
@media (max-width: 900px) {

    /* --- Якорные отступы для мобильной шапки 70px --- */
    [id] { scroll-margin-top: 80px; }

    /* --- Hero --- */
    .hero {
        padding-top: 86px;
        padding-bottom: 60px;
        gap: 32px;
    }
    .hero h1    { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .hero-lead  { font-size: 1.1rem; max-width: 100%; margin-bottom: 32px; }
    .hero-actions { gap: 12px; }
    .hero-actions .btn { padding: 14px 28px; font-size: 0.95rem; }

    .hero-visual {
        width: 100%;
        height: 45vw;
        min-height: 220px;
        border-radius: 20px;
    }
    .hero-float-leaf { top: 12px; right: 12px; width: 56px; height: 56px; }
    .hero-float-leaf svg { width: 28px; height: 28px; }

    .hero-badges { gap: 8px; margin-top: 28px; }
    .hero-badge  { padding: 7px 14px; font-size: 0.82rem; }

    /* --- Преимущества --- */
    .features { padding: 60px 5%; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 24px; }

    /* --- Меню --- */
    .menu-section { padding: 60px 5%; }
    .menu-header  { flex-direction: column; align-items: flex-start; gap: 16px; }
    .menu-tabs { 
        gap: 8px; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
        margin-bottom: 24px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    .menu-tabs::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
    .menu-tab  { padding: 8px 18px; font-size: 0.85rem; }
    .menu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .dish-img  { height: 140px; }
    .dish-body { padding: 16px; }
    .dish-name { font-size: 1rem; }
    .dish-price { font-size: 1.2rem; }

    /* --- О нас --- */
    .about-top    { padding: 60px 5% 40px; }
    .about-bottom { padding: 40px 5% 60px; }
    .about-photos { grid-template-columns: 1fr; }
    .about-photo--tall  { height: 260px; grid-row: span 1; }
    .about-photo--short { height: 200px; }
    .about-stats  { gap: 24px; flex-wrap: wrap; }
    .stat-num     { font-size: 2.2rem; }

    /* --- Доставка --- */
    .delivery     { padding: 60px 5%; }
    .delivery-inner { gap: 36px; }
    .delivery-card  { padding: 24px 20px; }

    /* --- Футер --- */
    footer { padding: 56px 5% 32px; }
    .footer-grid   { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   ≤ 480px — Маленькие телефоны
============================================= */
@media (max-width: 480px) {

    /* Hero */
    .hero { padding-top: 88px; gap: 24px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-float-leaf { display: none; }
    .hero-badges { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Меню — одна колонка на самых маленьких */
    .menu-grid { grid-template-columns: 1fr; }
    .dish-img  { height: 160px; }

    /* Кнопки во весь экран */
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Доставка */
    .delivery-actions { flex-direction: column; }
    .delivery-actions .btn { width: 100%; justify-content: center; }
}

/* End */


/* Start:/local/templates/shpinat/styles/mobile_top_nav.css?17743118508520*/
/* =============================================
   МОБИЛЬНАЯ ШАПКА — Кафе «Шпинат»
   Fullscreen-навигация поверх контента.
============================================= */

/* ======= БУРГЕР-КНОПКА ======= */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    border-radius: 8px;
    transition: background var(--transition);
    z-index: 1200;
}
.burger:hover { background: rgba(0,91,86,0.07); }
.burger span {
    display: block;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 18px; }
.burger span:nth-child(3) { width: 24px; }
/* Анимация в крестик */
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 24px; background: #fff; }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; background: #fff; }

/* Кнопка телефона (только мобилка) */
.mobile-phone-btn {
    display: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,91,86,0.08);
    align-items: center; justify-content: center;
    color: var(--green);
    transition: var(--transition);
}
.mobile-phone-btn:hover { background: var(--pink); color: var(--green); }
.mobile-phone-btn svg   { width: 18px; height: 18px; }

/* ======= FULLSCREEN МЕНЮ ======= */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--green);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Убрал огромные дыры (space-between) */
    padding: 0;
    overflow-y: auto;

    /* Анимация */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px) scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}
.mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Шапка навигации (лого + крестик) */
.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Лого слева, крестик справа */
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav__logo {
    display: flex;
    align-items: center;
}
.mobile-nav__close {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background var(--transition);
}
.mobile-nav__close:hover { background: rgba(255,255,255,0.15); }
.mobile-nav__close svg { width: 24px; height: 24px; stroke-width: 1.8; }

/* Ссылки */
.mobile-nav__links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; /* Линии на всю ширину, текст слева */
    padding: 24px 24px 16px; /* Отодвинем от шапки */
    gap: 12px;
}
.mobile-nav__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.2s ease, gap 0.2s ease;
    letter-spacing: -0.3px;
}
.mobile-nav__links a:last-child { border-bottom: none; }
.mobile-nav__links a:hover { color: var(--pink); gap: 16px; }
.mobile-nav__links a span {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.25);
    width: 14px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Подвал меню */
.mobile-nav__footer {
    padding: 10px 24px 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Всё к левому краю */
    gap: 16px;
}

/* CTA кнопка (звонок) */
.mobile-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink);
    color: var(--green);
    font-size: 0.85rem;      /* Уменьшил шрифт (был 1rem/16px) */
    font-weight: 700;
    padding: 10px 20px;      /* Сделал кнопку компактнее */
    border-radius: 40px;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-nav__cta:hover { opacity: 0.9; transform: scale(0.98); }

/* Соцсети */
.mobile-nav__socials {
    display: flex;
    gap: 10px;
}
.mn-social {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    text-decoration: none;
}
.mn-social:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

/* Инфо блок */
.mobile-nav__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    font-weight: 400;
}
.mobile-nav__info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Оверлей (не нужен при fullscreen, но оставляем для безопасности) */
.mobile-nav__overlay {
    display: none; /* fullscreen сам по себе перекрывает */
}

/* Показ на мобилке */
@media (max-width: 900px) {
    .burger           { display: flex; order: 1; }
    .mobile-phone-btn { display: flex; order: 3; }

    /* Когда меню открыто — скрываем бургер и телефон (крестик внутри nav) */
    body.nav-is-open .burger,
    body.nav-is-open .mobile-phone-btn { opacity: 0; pointer-events: none; }

    /* Шапки десктопа — скрыть */
    header #desktop-nav,
    header .header-right { display: none !important; }

    /* Шапка: [бургер] [лого] [телефон] */
    header {
        height: 70px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    /* Уменьшаем лого на мобилке */
    header .logo .logo-img,
    header .logo img { height: 44px; width: auto; }
}

/* ===================================
   BOTTOM NAV BAR
=================================== */
.bottom-nav { display: none; }

@media (max-width: 900px) {
    body { padding-bottom: 72px; }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 1050;
        background: rgba(244, 235, 225, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0,91,86,0.1);
        height: 64px;
        padding: 0 8px;
        padding-bottom: env(safe-area-inset-bottom);
        align-items: stretch;
        justify-content: space-around;
    }
    .bottom-nav__item {
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 3px; flex: 1;
        text-decoration: none;
        color: rgba(0,91,86,0.35);
        font-size: 0.6rem; font-weight: 600;
        letter-spacing: 0.3px; text-transform: uppercase;
        transition: color 0.2s ease;
        border-radius: 12px; padding: 8px 4px 6px;
        position: relative;
    }
    .bottom-nav__item svg { width: 22px; height: 22px; stroke-width: 1.8; transition: transform 0.2s; }
    .bottom-nav__item:hover, .bottom-nav__item.active { color: var(--green); }
    .bottom-nav__item.active svg { transform: translateY(-2px); }
    .bottom-nav__item.active::after {
        content: ''; position: absolute; bottom: 5px;
        width: 4px; height: 4px; border-radius: 50%; background: var(--green);
    }
    .bottom-nav__call { color: var(--pink) !important; }
    .bottom-nav__call svg { color: var(--pink); }
    body.nav-is-open .bottom-nav { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
}

/* End */
/* /local/templates/shpinat/template_styles.css?1774436811570 */
/* /local/templates/shpinat/styles/style.css?177431243129003 */
/* /local/templates/shpinat/styles/mobile.css?17743119025053 */
/* /local/templates/shpinat/styles/mobile_top_nav.css?17743118508520 */
