/* ==========================================================================
   Fitmom — main stylesheet
   ========================================================================== */

:root {
	--orange: #FE9A3D;
	--btn: #E8711A;
	--btn-hover: #D2600C;
	--orange-ink: #B84F08;
	--cream: #FFF5EA;
	--cream-2: #FFF0E0;
	--ink: #2C3E50;
	--text2: #4E5D6C;
	--muted: #5D6B7A;
	--line: #F0E1D0;
	--white: #FFFFFF;
	--green: #4CAF73;
	--green-ink: #2F8A55;
	--green-soft: #EEF7F0;
	--coral: #F0706A;
	--coral-ink: #B23A34;
	--coral-soft: #FFF1F0;
	--yellow: #E0A526;
	--yellow-ink: #8A5A0E;
	--yellow-soft: #FFF7DC;
	--blue: #3A64B0;
	--blue-soft: #EAF0FB;
	--brown: #8A5A2B;
	--brown-soft: #F6EBDD;
	--r-lg: 28px;
	--r-md: 18px;
	--r-sm: 12px;
	--shadow: 0 10px 30px rgba(44, 62, 80, .07);
	--shadow-lg: 0 16px 40px rgba(44, 62, 80, .14);
	--font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--script: 'Pacifico', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
/* Footer stays at the bottom on short pages; overscroll below it shows the footer colour, not white. */
.site-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.site-main > :last-child { flex-grow: 1; }
.site-header, .site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--orange-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.wrap--narrow { max-width: 1100px; }
.wrap--text { max-width: 820px; }
.wrap--quiz { max-width: 720px; }

.h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 900; margin: 0 0 12px; letter-spacing: -.5px; }
.h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 900; margin: 0; letter-spacing: -.3px; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 12px; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; color: var(--orange); }
.script-kicker { font-family: var(--script); color: var(--btn); font-size: 22px; margin: 0 0 6px; }
.script-kicker--lg { font-size: 28px; }

.icon { flex-shrink: 0; vertical-align: middle; }
.ic-orange { color: var(--orange); }
.ic-green { color: var(--green); }
.ic-coral { color: var(--coral); }

/* Tones ------------------------------------------------------------------- */
.tone-orange { --tone: var(--orange); --tone-soft: var(--cream-2); --tone-ink: var(--orange-ink); }
.tone-green { --tone: var(--green); --tone-soft: var(--green-soft); --tone-ink: var(--green-ink); }
.tone-coral { --tone: var(--coral); --tone-soft: var(--coral-soft); --tone-ink: var(--coral-ink); }
.tone-yellow { --tone: var(--yellow); --tone-soft: var(--yellow-soft); --tone-ink: var(--yellow-ink); }
.tone-blue { --tone: var(--blue); --tone-soft: var(--blue-soft); --tone-ink: var(--blue); }
.tone-brown { --tone: var(--brown); --tone-soft: var(--brown-soft); --tone-ink: var(--brown); }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn); color: var(--white); box-shadow: 0 8px 20px rgba(232, 113, 26, .22); }
.btn--primary:hover { background: var(--btn-hover); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { color: var(--orange-ink); }
.btn--outline { background: transparent; border-color: var(--orange); color: var(--orange-ink); }
.btn--outline:hover { background: var(--cream-2); color: var(--orange-ink); }
.btn--ghost { background: transparent; color: var(--text2); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn--yandex { background: #000; color: #fff; }
.btn--yandex:hover { background: #222; color: #fff; }
.ya-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #FC3F1D; color: #fff; font-weight: 900; font-size: 14px; }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: 15px; border-radius: 12px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 18px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }

/* Chips ------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 700; cursor: default; }
button.chip { cursor: pointer; }
button.chip:hover { border-color: var(--orange); }
.chip--on { background: var(--cream-2); border-color: var(--orange); color: var(--orange-ink); }
.chip--soft { background: var(--cream-2); border-color: transparent; color: var(--orange-ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--orange-ink); font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(254, 154, 61, .18); margin: 0; }

/* Header ------------------------------------------------------------------ */
.site-header { background: var(--cream); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { font-family: var(--script); font-size: 32px; text-decoration: none; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo--sm { font-size: 24px; }
.logo__img { max-height: 44px; width: auto; }
.logo__svg { display: block; height: 40px; width: auto; }
.logo--sm .logo__svg { height: 32px; }
@media (max-width: 600px) { .logo__svg { height: 34px; } }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.site-nav__list { list-style: none; display: flex; gap: 24px; margin: 0 auto; padding: 0; }
.site-nav__list a { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; padding: 8px 0; }
.site-nav__actions { display: flex; gap: 10px; align-items: center; }
.site-nav__actions .btn--ghost { border-color: var(--orange); color: var(--orange-ink); background: var(--white); }

@media (max-width: 960px) {
	.burger { display: inline-flex; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 12px; box-shadow: 0 16px 30px rgba(44, 62, 80, .1); display: none; }
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0; margin: 0; }
	.site-nav__list a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.site-nav__actions { flex-wrap: wrap; }
	.site-nav__actions .btn { flex: 1 1 auto; }
}

/* Sections ---------------------------------------------------------------- */
.section { padding: 80px 0; }
.section--tight { padding: 0 0 80px; }
.section--cream { background: var(--cream); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section__lead { color: var(--text2); font-size: 18px; max-width: 640px; margin: 10px 0 0; }
.link-more { font-weight: 800; color: var(--orange-ink); }
.page-head { background: var(--cream); padding: 40px 0 36px; margin-bottom: 32px; }
.page-head--center { text-align: center; margin-bottom: 0; }
.page-head__lead { color: var(--text2); font-size: 18px; max-width: 680px; margin: 0; }
.page-head--center .page-head__lead { margin: 0 auto; }
@media (max-width: 640px) { .section { padding: 56px 0; } .section--tight { padding-bottom: 56px; } }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* Hero -------------------------------------------------------------------- */
.hero { background: var(--cream); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__title { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.04; font-weight: 900; margin: 0; letter-spacing: -1px; }
.hero__title .script { font-size: 1.07em; }
.hero__lead { margin: 0; font-size: 20px; color: var(--text2); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.perks li { display: flex; align-items: center; gap: 8px; background: var(--white); padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.perks .icon { color: var(--green-ink); background: #E3F4E8; border-radius: 50%; padding: 4px; width: 22px; height: 22px; }
.hero__visual { position: relative; }
.hero__visual > img { width: 100%; max-width: 560px; margin: 0 auto; }
.float-card { position: absolute; background: var(--white); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card--norm { left: 0; bottom: 24px; width: 250px; }
.float-card--norm .bar { flex-basis: 100%; }
.float-card--shop { right: 0; top: 40px; }
.float-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-ink); }
.bar { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--orange); border-radius: inherit; }
.bar--green span { background: var(--green); }
@media (max-width: 900px) {
	.hero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
	.hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
	.float-card--norm { width: 220px; bottom: 8px; }
	.float-card--shop { top: 8px; }
}
@media (max-width: 480px) { .hero__cta .btn { width: 100%; } .float-card--shop { display: none; } }

/* Stats ------------------------------------------------------------------- */
.stats { position: relative; margin-top: -32px; max-width: 1376px !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; background: var(--white); border-radius: 24px; box-shadow: 0 14px 40px rgba(44, 62, 80, .08); padding: 24px; }
.stats__item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.stats__item b { font-size: 32px; font-weight: 900; color: var(--btn); white-space: nowrap; }
.stats__item span { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text2); max-width: 140px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 20px; margin-right: 20px; } .stats__item { justify-content: flex-start; } }
@media (max-width: 480px) { .stats { padding: 18px; gap: 14px; } .stats__item { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; } .stats__item b { font-size: 26px; } .stats__item span { font-size: 14px; } }

/* Steps ------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { background: var(--tone-soft); border-radius: var(--r-lg); padding: 32px; }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.step__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--tone); color: var(--white); display: grid; place-items: center; }
.step__num { font-size: 56px; font-weight: 900; color: var(--tone); opacity: .25; line-height: 1; }
.step h3 { font-size: 24px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--text2); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Categories -------------------------------------------------------------- */
.cats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.cat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 800; box-shadow: 0 4px 12px rgba(44, 62, 80, .06); }
.cat__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-ink); }
.cat:hover { color: var(--tone-ink); }

/* Recipe card ------------------------------------------------------------- */
.rcard { position: relative; background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.rcard__media { display: block; padding: 12px 12px 0; }
.rcard__media img { width: 100%; aspect-ratio: 32 / 26; object-fit: cover; border-radius: 20px; }
img.is-placeholder { object-fit: contain !important; background: var(--cream); padding: 20%; }
.rcard__kcal { position: absolute; left: 24px; top: 24px; background: var(--orange); color: var(--white); border-radius: 999px; padding: 6px 12px; font-weight: 900; font-size: 14px; }
.rcard__fav { position: absolute; right: 24px; top: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--btn); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(44, 62, 80, .12); }
.js-fav.is-on .icon { fill: currentColor; }
.rcard__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.rcard__title { font-size: 20px; line-height: 1.25; margin: 0; font-weight: 800; }
.rcard__title a { text-decoration: none; }
.rcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.rcard__fav, .rcard .btn { position: relative; z-index: 1; }
.rcard__fav { position: absolute; }
.rcard__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; font-weight: 700; color: var(--text2); }
.rcard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.rcard .btn { margin-top: auto; }
.macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.macros > span { background: var(--cream); border-radius: 12px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; }
.macros small { font-size: 12px; color: var(--muted); }
.macros b { font-size: 16px; }
.macros--lg > span { padding: 12px 6px; }
.macros--lg b { font-size: 20px; }

/* Demo week --------------------------------------------------------------- */
.demo-week { background: var(--cream); border-radius: 32px; padding: 20px; }
.demo-week__scroll { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.demo-day { background: var(--white); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.demo-day__head { display: flex; justify-content: space-between; align-items: baseline; }
.demo-day__head span { font-size: 13px; color: var(--muted); font-weight: 700; }
.demo-dish img { width: 100%; height: 64px; object-fit: cover; border-radius: 12px; }
.demo-dish span { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; margin-top: 6px; }

/* Ready menu card --------------------------------------------------------- */
.mcard { background: var(--tone-soft); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.mcard__icon { width: 60px; height: 60px; border-radius: 18px; background: var(--tone); color: var(--white); display: grid; place-items: center; }
.mcard__badge { background: var(--white); color: var(--tone-ink); font-weight: 900; font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.mcard__big { font-size: 30px; font-weight: 900; line-height: 1.1; }
.mcard__big small { font-size: 15px; font-weight: 700; color: var(--text2); }
.mcard__title { font-size: 20px; margin: 4px 0 0; font-weight: 800; }
.mcard__title a { text-decoration: none; }
.mcard .chip { background: var(--white); border-color: transparent; font-size: 13px; font-weight: 800; }
.mcard__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text2); }
.mcard__facts li { display: flex; align-items: center; gap: 8px; }
.mcard__facts .icon { color: var(--tone-ink); }
.mcard__text { margin: 0; font-size: 15px; color: var(--text2); }
.mcard .btn { margin-top: auto; }
.mbar__line { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--white); }
.mbar__line span:nth-child(1) { background: var(--btn); }
.mbar__line span:nth-child(2) { background: #F7C66B; }
.mbar__line span:nth-child(3) { background: var(--green); }
.mbar__legend { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--text2); margin-top: 6px; }

/* About / reviews --------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: center; }
.about__photo { aspect-ratio: 1; border-radius: 50% 50% 50% 18%; overflow: hidden; background: #FFE0C2; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { font-size: 18px; color: var(--text2); }
@media (max-width: 800px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photo { max-width: 320px; } }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.review__stars { color: var(--orange); display: flex; gap: 2px; }
.review__result { font-weight: 900; font-size: 20px; margin: 0; color: var(--green-ink); }
.review blockquote { margin: 0; color: var(--text2); }
.review figcaption { font-weight: 800; }

/* Pricing ----------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--white); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan--plus { border: 3px solid var(--orange); box-shadow: 0 18px 40px rgba(254, 154, 61, .22); }
.plan__flag { position: absolute; right: 24px; top: -16px; background: var(--green); color: var(--white); font-weight: 900; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.plan__name { margin: 0; font-size: 22px; font-weight: 800; }
.plan__price { font-size: 46px; font-weight: 900; line-height: 1; }
.plan__price small { font-size: 17px; color: var(--text2); font-weight: 700; }
.plan__alt { margin: 0; color: var(--text2); }
.plan__buy { display: grid; gap: 10px; margin-top: auto; }
.plan > .btn { margin-top: auto; }
.plan__note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks--orange li::before { background: var(--btn); }
@media (max-width: 800px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* FAQ --------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--cream); border-radius: 20px; padding: 20px 24px; }
.faq__item summary { font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--btn); }
.faq__item[open] summary::after { content: '−'; }
.faq__item p { margin: 12px 0 0; color: var(--text2); }

/* CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--orange); border-radius: 40px; padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; overflow: hidden; }
.cta-band__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; color: var(--white); }
.cta-band h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.1; }
.cta-band p { margin: 0; font-size: 19px; font-weight: 600; }
.cta-band .btn--white { color: var(--orange-ink); }
.cta-band__pics { flex: 0 1 340px; display: flex; gap: 12px; justify-content: center; }
.cta-band__pics img { width: 150px; height: 190px; object-fit: cover; border-radius: 24px; border: 5px solid var(--white); transform: rotate(-6deg); }
.cta-band__pics img + img { transform: rotate(5deg); margin-top: 24px; }
@media (max-width: 600px) { .cta-band { padding: 36px 24px; border-radius: 28px; } .cta-band__pics { display: none; } }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--cream); padding: 32px 0; margin-top: 0; }
.site-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.site-footer__seller { margin: 0; }
.site-main { min-height: 50vh; }

/* Forms ------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea, .range input, .shop-add input, .food-picker input[type=text] { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); font-size: 16px; }
.field input:focus, .field select:focus, .range input:focus, .shop-add input:focus, .food-picker input:focus { border-color: var(--orange); outline: none; }
.field--search { position: relative; }
.field--search input { padding-left: 42px; }
.field__icon { position: absolute; left: 14px; top: 16px; color: var(--muted); }
.field--inline { flex-direction: row; align-items: center; justify-content: space-between; font-weight: 700; }
.fields-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .fields-3 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--btn); flex-shrink: 0; }
.check small { margin-left: auto; color: var(--muted); }
.check--box { align-self: end; min-height: 50px; }
.stepper { display: inline-flex; align-items: center; background: var(--cream); border-radius: 14px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--orange-ink); }
.stepper input { width: 56px; border: 0; background: transparent; text-align: center; font-weight: 900; font-size: 18px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper output { padding: 0 12px; white-space: nowrap; }
.stepper--sm button { width: 36px; height: 36px; }
.stepper--lg input { width: 80px; font-size: 32px; }
.stepper--lg button { width: 56px; height: 56px; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-weight: 600; margin: 16px 0; }
.notice--ok { background: var(--green-soft); color: var(--green-ink); }
.notice--warn { background: var(--yellow-soft); color: var(--yellow-ink); }
.empty { color: var(--muted); padding: 24px 0; }
.loading { color: var(--muted); }

.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-form__legal { font-size: 13px; color: var(--muted); margin: 0; }
.login-form__done { display: flex; gap: 12px; align-items: flex-start; background: var(--green-soft); border-radius: 14px; padding: 16px; }
.login-form__done p { margin: 0; }
.login-form.is-sent > :not(.login-form__done) { display: none; }

/* Modal & toast ----------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(44, 62, 80, .45); display: grid; place-items: center; padding: 16px; }
.modal__box { position: relative; background: var(--white); border-radius: 28px; padding: 28px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; display: grid; place-items: center; }
.modal__title { margin: 0; font-size: 24px; font-weight: 900; padding-right: 48px; }
.modal__sub { margin: 0; color: var(--text2); }
.pick { border: 0; padding: 0; margin: 0 0 12px; }
.pick legend { font-weight: 800; margin-bottom: 8px; }
.pick__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__row label { position: relative; }
.pick__row input { position: absolute; opacity: 0; }
.pick__row span { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 12px; background: var(--cream); font-weight: 800; cursor: pointer; }
.pick__row input:checked + span { background: var(--btn); color: var(--white); }
.pick__row input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; }
.toast a { color: #FFD3A8; }

/* Catalog ----------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 80px; }
.catalog__toggle { display: none; }
.filters { position: sticky; top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - 32px); overflow: auto; }
.filters__group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.filters__group legend { font-weight: 900; margin-bottom: 8px; }
.filters__scroll { max-height: 220px; overflow: auto; }
.range { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.food-picker { display: flex; flex-direction: column; gap: 10px; }
.chips--suggest .chip { font-size: 13px; }
.catalog__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.catalog__count { margin: 0; font-weight: 800; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sort select { min-height: 44px; border-radius: 12px; border: 2px solid var(--line); padding: 8px 12px; background: var(--white); }
.catalog__more { text-align: center; margin-top: 32px; }
@media (max-width: 960px) {
	.catalog { grid-template-columns: minmax(0, 1fr); }
	.catalog__toggle { display: inline-flex; justify-self: start; }
	.filters { position: static; display: none; max-height: none; }
	.filters.is-open { display: flex; }
}

/* Single recipe ----------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: 15px; padding: 20px 0; color: var(--muted); }
.crumbs a { color: var(--orange-ink); }
.recipe__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.recipe__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; }
.recipe__info { display: flex; flex-direction: column; gap: 20px; }
.recipe__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 900; margin: 0; }
.recipe__lead { margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted, #5A5F6B); max-width: 60ch; }
.kbju { background: var(--cream); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.kbju__main { display: flex; align-items: center; gap: 14px; }
.kbju__main b { font-size: 48px; font-weight: 900; color: var(--btn); line-height: 1; }
.kbju__main span { font-weight: 700; color: var(--text2); line-height: 1.25; }
.kbju .macros > span { background: var(--white); }
.recipe__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.recipe__facts li { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.recipe__facts small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.recipe__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.recipe__body { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; padding: 48px 0 80px; }
.ingr { background: var(--cream); border-radius: 28px; padding: 24px; align-self: start; }
.ingr__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ingr__head .h3 { margin: 0; }
.ingr__list { list-style: none; margin: 0; padding: 0; }
.ingr__list li { border-bottom: 1px solid var(--line); }
.check--line { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 0; }
.check--line input:checked ~ .ingr__name { text-decoration: line-through; color: var(--muted); }
.ingr__qty { font-weight: 800; white-space: nowrap; }
.ingr__note { grid-column: 2 / -1; color: var(--muted); }
.swaps { margin-top: 20px; background: var(--white); border-radius: 18px; padding: 16px; }
.swaps h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 8px; }
.swaps p { margin: 0 0 8px; color: var(--text2); }
.howto { counter-reset: s; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.howto li { counter-increment: s; position: relative; padding-left: 60px; font-size: 18px; min-height: 44px; }
.howto li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 14px; background: var(--orange); color: var(--white); font-weight: 900; display: grid; place-items: center; }
@media (max-width: 900px) {
	.recipe__top, .recipe__body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.recipe__body { padding-top: 32px; }
}
@media (max-width: 480px) { .recipe__actions .btn { flex: 1 1 100%; } }

.cook { position: fixed; inset: 0; z-index: 95; background: var(--cream); display: flex; flex-direction: column; padding: 20px; }
.cook__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; }
.cook__close { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.cook__steps { flex: 1; display: flex; align-items:  start; justify-content: center; text-align: center; overflow: auto; }
.cook__num { color: var(--orange-ink); font-weight: 900; font-size: 18px; }
.cook__text { font-size: clamp(22px, 4vw, 22px); line-height: 1.35; font-weight: 500; max-width: 800px; margin: 0 auto; }
.cook__nav { display: flex; gap: 12px; justify-content: center; }
.cook__nav .btn { flex: 1 1 0; max-width: 320px; }

/* Quiz -------------------------------------------------------------------- */
.quiz-page { background: var(--cream); padding: 48px 0 80px; min-height: 70vh; }
.quiz, .quiz-result { background: var(--white); border-radius: 32px; padding: 32px; box-shadow: var(--shadow); }
.quiz__progress { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; background: var(--orange); transition: width .3s; }
.quiz__count { color: var(--muted); font-weight: 700; margin: 12px 0 8px; }
.quiz__step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.quiz__q { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; margin-bottom: 16px; padding: 0; }
.quiz__hint { margin: -8px 0 0; color: var(--text2); }
.quiz__error { color: var(--coral-ink); font-weight: 700; margin: 0; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quiz__nav .js-quiz-next { margin-left: auto; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .options { grid-template-columns: minmax(0, 1fr); } }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option > span { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 20px; border-radius: 20px; border: 2px solid var(--line); height: 100%; transition: border-color .15s, background .15s; }
.option--row > span { padding: 16px 20px; }
.option b { font-size: 18px; }
.option small { color: var(--muted); }
.option input:checked + span { border-color: var(--orange); background: var(--cream); }
.option input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.quiz-result { text-align: center; display: flex; flex-direction: column; gap: 16px; }
.quiz-result__kcal { font-size: 22px; font-weight: 800; }
.quiz-result__kcal b { display: block; font-size: 64px; color: var(--btn); line-height: 1; }
.quiz-result__note { background: var(--yellow-soft); color: var(--yellow-ink); border-radius: 14px; padding: 12px 16px; margin: 0; font-weight: 600; }
.quiz-result__signup { text-align: left; background: var(--cream); border-radius: 24px; padding: 24px; }
.quiz-result__signup p { color: var(--text2); }
.quiz-result__disclaimer { font-size: 13px; color: var(--muted); margin: 0; }

/* Auth -------------------------------------------------------------------- */
.auth { background: var(--cream); padding: 56px 20px 80px; display: grid; place-items: center; }
.auth__card { background: var(--white); border-radius: 32px; padding: 36px; width: min(480px, 100%); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.auth__alt { color: var(--muted); font-size: 15px; margin: 0; }

/* Paywall ----------------------------------------------------------------- */
.paywall { background: var(--cream); border-radius: 28px; padding: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.paywall__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--orange); color: var(--white); display: grid; place-items: center; }
.paywall h3 { margin: 0; font-size: 24px; }
.paywall p { margin: 0; color: var(--text2); max-width: 480px; }

/* Account ----------------------------------------------------------------- */
.cab__head { background: var(--cream); padding: 32px 0; }
.cab__head-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.cab__head .muted { margin: 6px 0 0; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
.status--plus { background: var(--white); color: var(--orange-ink); }
.status--free { background: var(--white); color: var(--text2); }
.cab__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.tabs { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 4px; }
.tabs__tab { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 14px; text-decoration: none; font-weight: 800; color: var(--text2); }
.tabs__tab .icon { color: var(--orange); }
.tabs__tab:hover { background: var(--cream); color: var(--ink); }
.tabs__tab.is-active { background: var(--cream-2); color: var(--ink); }
.tabs__tab--muted { margin-top: 16px; font-weight: 600; }
.tabs__tab--muted .icon { color: var(--muted); }
@media (max-width: 900px) {
	.cab__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; }
	.tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
	.tabs__tab { flex: 0 0 auto; background: var(--cream); padding: 8px 14px; }
	.tabs__tab--muted { margin-top: 0; }
}
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel__head .h3 { margin: 0; }
.panel__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.panel__hint { margin: 0 0 16px; font-size: 15px; }
.panel__sub { margin-top: 40px; }

.week { display: grid; grid-template-columns: repeat(7, minmax(140px, 1fr)); gap: 12px; overflow-x: auto; background: var(--cream); border-radius: 24px; padding: 16px; }
.wday { background: var(--white); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; transition: box-shadow .15s; }
.wday.is-over { box-shadow: 0 0 0 3px var(--orange); }
.wday__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.wday__head b { font-size: 15px; }
.wday__kcal { font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.wday__kcal.is-ok { color: var(--green-ink); }
.wday__kcal.is-over { color: var(--coral-ink); }
.wday__bar { height: 6px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.wday__bar span { display: block; height: 100%; background: var(--green); }
.wday__bar.is-over span { background: var(--coral); }
.witem { background: var(--cream); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; cursor: grab; }
.witem.is-dragging { opacity: .4; }
.witem__meal { font-size: 11px; font-weight: 800; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .3px; }
.witem img { width: 100%; height: 56px; object-fit: cover; border-radius: 10px; }
.witem a { font-size: 13px; font-weight: 800; line-height: 1.25; text-decoration: none; }
.witem__row { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 12px; color: var(--text2); }
.witem__more { font-size: 12px; }
.witem__more summary { cursor: pointer; color: var(--orange-ink); font-weight: 800; list-style: none; padding: 2px 0; }
.witem__more summary::-webkit-details-marker { display: none; }
.witem__more summary::after { content: ' ▾'; }
.witem__more[open] summary::after { content: ' ▴'; }
.witem__more label { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: 6px; color: var(--text2); }
.witem__more select { font-size: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 4px; background: var(--white); min-height: 30px; max-width: 86px; }
.recipe__actions .btn--white { border-color: var(--line); }
.witem__del { border: 0; background: transparent; color: var(--muted); cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.witem__del:hover { background: var(--white); color: var(--coral-ink); }
.wday__add { border: 2px dashed var(--line); background: transparent; border-radius: 12px; min-height: 44px; font-weight: 800; color: var(--orange-ink); cursor: pointer; margin-top: auto; text-decoration: none; display: grid; place-items: center; font-size: 14px; }
.wday__add:hover { border-color: var(--orange); }
.week-sum { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--text2); font-weight: 700; font-size: 15px; }

.shop-add { display: flex; gap: 8px; margin: 12px 0 20px; }
.shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .shop { grid-template-columns: minmax(0, 1fr); } }
.shop__sec { background: var(--cream); border-radius: 20px; padding: 18px; }
.shop__sec h3 { font-size: 17px; margin: 0 0 8px; }
.shop__item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.shop__item:last-child { border-bottom: 0; }
.shop__item input { width: 20px; height: 20px; accent-color: var(--btn); }
.shop__item small { display: block; color: var(--muted); font-size: 12px; }
.shop__item b { white-space: nowrap; font-size: 15px; }
.shop__item.is-checked span, .shop__item.is-checked b { text-decoration: line-through; color: var(--muted); }

.weight-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 24px; }
@media (max-width: 700px) { .weight-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .weight-form .btn { grid-column: 1 / -1; } }
.weight-chart { background: var(--cream); border-radius: 24px; padding: 16px; margin-bottom: 16px; }
.weight-chart svg { width: 100%; height: auto; display: block; }
.weight-list { list-style: none; margin: 0; padding: 0; }
.weight-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }

.profile-form { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.profile-form .btn { align-self: flex-start; }
.norm-box { background: var(--cream); border-radius: 20px; padding: 18px; font-weight: 700; }
.norm-box b { font-size: 28px; color: var(--btn); }
.sub-card { background: var(--cream); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sub-card__state { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0; }
.sub-card__buy { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-list { list-style: none; margin: 0; padding: 0; }
.pay-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Ready menu page --------------------------------------------------------- */
.menu-days { display: flex; flex-direction: column; gap: 24px; padding-bottom: 80px; }
.menu-day { background: var(--cream); border-radius: 24px; padding: 20px; }
.menu-day__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .menu-day__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .menu-day__list { grid-template-columns: minmax(0, 1fr); } }
.menu-dish { display: flex; gap: 12px; background: var(--white); border-radius: 16px; padding: 10px; text-decoration: none; align-items: center; }
.menu-dish img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.menu-dish small { display: block; color: var(--orange-ink); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.menu-dish b { display: block; font-size: 15px; line-height: 1.25; }
.menu-dish em { font-style: normal; color: var(--muted); font-size: 13px; }

/* Blog -------------------------------------------------------------------- */
.posts { padding-bottom: 40px; }
.pcard { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pcard__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.pcard__body { padding: 18px 22px 22px; }
.pcard__title { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.pcard__title a { text-decoration: none; }
.pager { padding-bottom: 80px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; }
.pager .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); text-decoration: none; font-weight: 800; }
.pager .current { background: var(--btn); color: var(--white); }
.prose { font-size: 18px; line-height: 1.65; padding-bottom: 48px; }
.prose img { border-radius: 20px; }
.prose h2 { font-size: 28px; line-height: 1.2; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.prose a { color: var(--orange-ink); }
.article__cover img { border-radius: 28px; width: 100%; }
.article__cover { margin: 0 0 32px; }
.article__cta { background: var(--cream); border-radius: 28px; padding: 28px; margin-bottom: 80px; }
.article__cta p { color: var(--text2); }

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

/* Account: wide layout with a collapsible side menu ----------------------- */
.wrap--wide { max-width: 1680px; }
.cab__layout { transition: grid-template-columns .2s; }
.tabs__toggle { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 8px; }
.tabs__toggle:hover { background: var(--cream); color: var(--ink); }
.tabs__toggle .icon { transition: transform .2s; }
@media (min-width: 901px) {
	.cab__layout.is-collapsed { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
	.cab__layout.is-collapsed .tabs__tab span,
	.cab__layout.is-collapsed .tabs__toggle span { display: none; }
	.cab__layout.is-collapsed .tabs__tab,
	.cab__layout.is-collapsed .tabs__toggle { justify-content: center; padding: 10px; }
	.cab__layout.is-collapsed .tabs__toggle .icon { transform: rotate(180deg); }
	.cab__layout.is-collapsed .week { grid-template-columns: repeat(7, minmax(0, 1fr)); overflow-x: visible; }
}
@media (max-width: 900px) { .tabs__toggle { display: none; } }
@media (min-width: 1400px) { .witem img { height: 72px; } .witem a { font-size: 14px; } }

/* Catalog v2 ---------------------------------------------------------------- */
.wrap--cat { max-width: 1600px; }
.catalog-form { margin: 0; }
.cat-hero { background: var(--cream); padding: 40px 0 44px; margin-bottom: 32px; }
.cat-hero__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 32px; align-items: stretch; }
.cat-hero__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cat-hero .h1 { margin: 0; }
.bigsearch { position: relative; display: block; }
.bigsearch input { width: 100%; min-height: 62px; padding: 14px 20px 14px 56px; border-radius: 20px; border: 2px solid transparent; background: var(--white); font-size: 18px; box-shadow: 0 10px 30px rgba(44, 62, 80, .08); }
.bigsearch input:focus { outline: none; border-color: var(--orange); }
.bigsearch__icon { position: absolute; left: 20px; top: 20px; color: var(--orange); }
.meal-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.meal-tab { position: relative; cursor: pointer; }
.meal-tab input { position: absolute; opacity: 0; }
.meal-tab > span { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--white); border: 2px solid transparent; transition: border-color .15s, background .15s; height: 100%; }
.meal-tab__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-ink); flex-shrink: 0; }
.meal-tab b { font-size: 16px; }
.meal-tab small { margin-left: auto; color: var(--muted); font-weight: 700; }
.meal-tab input:checked + span { border-color: var(--tone); background: var(--tone-soft); }
.meal-tab input:checked + span .meal-tab__icon { background: var(--tone); color: var(--white); }
.meal-tab input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--quick { min-height: 40px; padding: 8px 14px; font-size: 14px; background: var(--white); }
.chip--quick .icon { color: var(--orange); }
.chip--quick.chip--on .icon { color: var(--orange-ink); }
.chip--clear { background: transparent; border-color: transparent; color: var(--muted); }
.fridge { background: var(--white); border-radius: 28px; padding: 24px; box-shadow: 0 10px 30px rgba(44, 62, 80, .07); display: flex; flex-direction: column; gap: 14px; }
.fridge__head { display: flex; gap: 14px; align-items: flex-start; }
.fridge__head h2 { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.fridge__head p { margin: 0; color: var(--text2); font-size: 15px; }
.fridge__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.fridge .food-picker input[type=text] { background: var(--cream); border-color: transparent; }
.fridge .food-picker input[type=text]:focus { border-color: var(--orange); background: var(--white); }
@media (min-width: 961px) { .catalog { grid-template-columns: 260px minmax(0, 1fr); } }
.filters { top: 16px; }
.filters__promo { background: var(--cream); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.filters__promo p { margin: 0; font-size: 14px; color: var(--text2); }
.catalog__bar { align-items: center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.active-filters .chip { cursor: pointer; font-size: 13px; min-height: 32px; }
.grid--cat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1360px) { .grid--cat { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--cat .rcard__title { font-size: 18px; } }
@media (max-width: 960px) { .grid--cat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--cat { grid-template-columns: minmax(0, 1fr); } }
.empty-box { background: var(--cream); border-radius: 24px; padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-box p { margin: 0; color: var(--text2); }
.grid[aria-busy=true] { opacity: .5; transition: opacity .2s; }
@media (max-width: 1100px) { .cat-hero__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
	.meal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-hero { padding: 28px 0 32px; }
	.bigsearch input { min-height: 54px; font-size: 16px; }
}
/* Wide header on the account page */
.page-kabinet-wide .site-header .wrap, .page-kabinet-wide .site-footer .wrap { max-width: 1680px; }
.grid--cat .rcard .btn { font-size: 15px; padding: 10px 12px; white-space: nowrap; }
.grid--cat .rcard__body { padding: 16px 18px 18px; }

@media (min-width: 1300px) { .grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-kabinet-wide .site-header .wrap, .page-kabinet-wide .site-footer .wrap { max-width: 1680px; }
.page-all-recipes .site-header .wrap, .page-all-recipes .site-footer .wrap { max-width: 1600px; }

/* Fita character ------------------------------------------------------------ */
.fita { width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.fita-avatar { width: 56px; height: 56px; border-radius: 50%; background: #FFE6CC; overflow: hidden; flex-shrink: 0; display: inline-block; position: relative; }
.fita-avatar img { position: absolute; width: 160%; max-width: none; height: auto; left: -30%; top: -24%; }
.fita-avatar--lg { width: 72px; height: 72px; }
.fita-says { display: flex; align-items: flex-end; gap: 12px; }
.fita-says p { margin: 0; background: var(--cream); border-radius: 20px 20px 20px 6px; padding: 12px 16px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.fita-says--quiz { margin-bottom: 20px; }
.fita-says--result { text-align: left; justify-content: center; }
.empty-box .fita-says { text-align: left; }
.empty-box .fita-says p { background: var(--white); }
.fita-block { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; }
.fita-block__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fita-block__lead { font-size: 19px; color: var(--text2); margin: 0; max-width: 620px; }
.fita-list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fita-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; }
.fita-list li > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-ink); flex-shrink: 0; }
.cab__hello { display: flex; align-items: center; gap: 16px; }
@media (max-width: 800px) { .fita-block { grid-template-columns: minmax(0, 1fr); gap: 24px; } .fita { max-width: 260px; } }

/* Recipe v2: groups, step photos, timers ----------------------------------- */
.ingr__group { font-weight: 900; color: var(--orange-ink); padding: 14px 0 4px; border-bottom: 0 !important; text-transform: none; }
.recipe__active { font-style: normal; color: var(--muted); font-weight: 600; font-size: 14px; }
.howto li p { margin: 0; }
.howto__timer { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: var(--cream-2); color: var(--orange-ink); font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.howto__img { margin-top: 12px; border-radius: 18px; max-width: 420px; width: 100%; }
.howto__img--art { display: block; max-width: 200px; height: auto; border-radius: 16px; }
.cook__step { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cook__img--art { height: 30vh; max-height: 260px; }
.cook__img { max-height: 38vh; width: auto; max-width: 100%; border-radius: 24px; object-fit: cover; }
.cook__timer { margin-top: 8px; }
.cook__running { display: inline-flex; align-items: center; gap: 8px; background: var(--btn); color: var(--white); padding: 8px 14px; border-radius: 999px; font-size: 18px; margin-left: auto; margin-right: 12px; }
.cook__running button { border: 0; background: rgba(255,255,255,.25); color: var(--white); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.cook__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0; }
.cook__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-2); }
.cook__dots span.is-done { background: #F7C08B; }
.cook__dots span.is-on { background: var(--btn); width: 26px; border-radius: 999px; }
.cook__ingr { background: var(--white); border-radius: 18px; padding: 12px 16px; margin-bottom: 12px; max-height: 40vh; overflow: auto; }
.cook__ingr summary { display: flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer; list-style: none; }
.cook__ingr summary::-webkit-details-marker { display: none; }
.cook__ingr ul { list-style: none; margin: 10px 0 0; padding: 0; columns: 2 260px; }
.cook__ingr li { padding: 4px 0; break-inside: avoid; }
.cook__ingr input { width: 18px; height: 18px; accent-color: var(--btn); vertical-align: middle; }
.cook__ingr input:checked + * { text-decoration: line-through; }
.is-cooking .toast { bottom: 120px; }

/* Articles hub */
.blog-hero { background: var(--cream); padding: 40px 0 28px; }
.blog-hero__kicker { margin: 0 0 6px; font-weight: 800; color: var(--orange-ink); font-size: 15px; }
.blog-hero .h1 { margin: 0 0 20px; max-width: 22ch; }
.blog-search { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); max-width: 720px; margin-bottom: 18px; }
.blog-search .icon { color: var(--muted); flex: none; }
.blog-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 17px; padding: 10px 4px; background: transparent; }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { box-shadow: 0 0 0 3px var(--orange), var(--shadow); }
.blog-topics .chip { text-decoration: none; color: var(--ink); }
.blog-list { padding-top: 28px; }
.blog-count { margin: 0 0 16px; }
.pcard__cat { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .04em; }
.pcard__text { margin: 0; }
.empty-state { padding: 40px 0 80px; }
@media (max-width: 600px) { .blog-search .btn { padding-inline: 14px; } .blog-hero { padding-top: 28px; } }

/* Article covers are 1200x630: show them whole in cards. */
.posts .pcard__media img { aspect-ratio: 1200 / 630; }

/* Views: plugin's own English line is hidden, ours sits in the meta row. */
.prose .post-views, .post-views.entry-meta { display: none !important; }
.views { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--muted); font-size: 14px; font-weight: 700; }
.views .icon { color: var(--orange); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.pcard__meta .pcard__cat { margin: 0; }
.pcard__meta .views { padding: 0; background: none; font-size: 13px; }

/* Floating social-proof badge (bottom left). */
.proof { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 10px 14px 10px 10px; background: var(--white); border-radius: 20px; box-shadow: 0 12px 32px rgba(43,47,58,.16); transform: translateY(20px); opacity: 0; transition: transform .4s ease, opacity .4s ease; }
.proof.is-on { transform: none; opacity: 1; }
.proof__fita { width: 52px; height: 52px; flex: none; }
.proof__body { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: baseline; text-decoration: none; color: var(--ink); }
.proof__n { font-size: 24px; font-weight: 900; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.proof__text { font-weight: 800; font-size: 15px; }
.proof__sub { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.proof__close { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.15); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.is-cooking .proof, .modal-open .proof { display: none; }
@media (max-width: 600px) { .proof { left: 12px; right: auto; bottom: 12px; max-width: calc(100% - 90px); padding: 8px 12px 8px 8px; } .proof__fita { width: 40px; height: 40px; } .proof__sub { display: none; } .proof__n { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .proof { transition: none; } }

/* No elastic "rubber band" at the page edges (it showed an empty white area under the footer),
   and the footer colour continues below the page just in case. */
html, body { overscroll-behavior-y: none; }
.site-footer { box-shadow: 0 60vh 0 60vh var(--cream); }
body { overflow-x: clip; }

/* ---------- Article typography ---------- */
.prose--article > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose--article h2 { position: relative; display: flex; align-items: center; gap: 14px; font-size: 30px; line-height: 1.2; margin: 1.8em 0 .7em; scroll-margin-top: 90px; }
.prose--article h2::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--cream) url("../img/leaf.svg") center / 22px no-repeat; box-shadow: inset 0 0 0 2px var(--orange); }
.prose--article h3 { display: table; margin: 1.5em 0 .5em; font-size: 22px; line-height: 1.3; background: linear-gradient(transparent 62%, rgba(254,154,61,.32) 62%); padding: 0 2px; }
.prose--article ul { list-style: none; padding-left: 0; }
.prose--article ul > li { position: relative; padding-left: 34px; margin: .45em 0; }
.prose--article ul > li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose--article ol { list-style: none; padding-left: 0; counter-reset: fm; }
.prose--article ol > li { position: relative; padding-left: 44px; margin: .6em 0; counter-increment: fm; }
.prose--article ol > li::before { content: counter(fm); position: absolute; left: 0; top: .05em; width: 30px; height: 30px; border-radius: 10px; background: var(--cream); color: var(--orange-ink); font-weight: 900; font-size: 15px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--orange); }
.prose--article blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 20px; background: var(--cream); font-style: italic; }
.prose--article a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(242,122,26,.4); }
.prose--article a:hover { text-decoration-color: currentColor; }
.prose--article b, .prose--article strong { color: var(--ink); background: linear-gradient(transparent 70%, rgba(124,195,110,.28) 70%); }
.prose--article p > i:only-child { display: block; padding: 14px 18px; border-radius: 16px; background: #F3F5F7; color: var(--muted); font-size: 15px; font-style: normal; }
.prose--article table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.prose--article th, .prose--article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--article th { background: var(--cream); }

/* Table of contents */
.toc { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 22px 26px; margin: 0 0 32px; }
.toc__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 900; font-size: 18px; }
.toc__title .icon { color: var(--orange); }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin: 6px 0; }
.toc li::marker { color: var(--orange); font-weight: 800; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--orange-ink); text-decoration: underline; }

/* FAQ */
.faq-block { margin: 8px 0 40px; }
.faq-block__title { display: flex; align-items: center; gap: 12px; font-size: 30px; margin: 0 0 16px; }
.faq-block__title .icon { color: var(--orange); }
.faq-block__item { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.faq-block__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 18px; position: relative; }
.faq-block__item summary::-webkit-details-marker { display: none; }
.faq-block__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--orange-ink); font-size: 22px; line-height: 30px; text-align: center; font-weight: 700; }
.faq-block__item[open] summary::after { content: "−"; background: var(--orange); color: var(--white); }
.faq-block__item summary:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.faq-block__a { padding: 0 22px 18px; color: var(--text2, var(--ink)); font-size: 17px; line-height: 1.6; }
.faq-block__a p { margin: 0 0 .6em; }
@media (max-width: 600px) { .prose--article h2 { font-size: 24px; gap: 10px; } .prose--article h2::before { width: 32px; height: 32px; background-size: 18px; } .faq-block__title { font-size: 24px; } }

/* ---------- App block (homepage) ---------- */
.app-sec { overflow: hidden; }
.app-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.app-block__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.app-block__lead { font-size: 19px; color: var(--text2); margin: 0; max-width: 620px; }
.app-feats { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.app-feats li { display: flex; gap: 12px; align-items: flex-start; }
.app-feats li > span:first-child { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-ink); flex-shrink: 0; }
.app-feats b { display: block; font-size: 16px; }
.app-feats li > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.4; }
.app-block__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.app-block__note { display: flex; gap: 14px; align-items: center; margin: 0; font-weight: 700; font-size: 15px; }
.app-os { display: inline-flex; gap: 6px; align-items: center; }

.js-install.is-installed { background: var(--green-soft); color: var(--green-ink); box-shadow: none; cursor: default; }
.app-block__phone { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.app-block__phone::before { content: ""; position: absolute; inset: 8% 2% 4% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--cream-2), transparent 70%); }
.phone { position: relative; width: 290px; aspect-ratio: 9 / 18.5; background: #1F242E; border-radius: 46px; padding: 12px; box-shadow: 0 30px 60px rgba(44,62,80,.25); transform: rotate(-4deg); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: #1F242E; border-radius: 14px; z-index: 2; }
.phone__screen { height: 100%; border-radius: 36px; background: var(--cream); padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone__top { display: flex; justify-content: space-between; align-items: center; }
.phone__top img { height: 22px; width: auto; }
.phone__kcal { font-size: 11px; font-weight: 800; color: var(--orange-ink); background: var(--white); padding: 4px 8px; border-radius: 999px; }
.phone__day { margin: 4px 0 0; font-weight: 900; font-size: 15px; }
.phone__meal { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
.phone__meal img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.phone__meal span { flex: 1; min-width: 0; font-size: 12px; font-weight: 800; line-height: 1.25; }
.phone__meal small { display: block; color: var(--muted); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.phone__meal b { font-size: 12px; color: var(--orange-ink); white-space: nowrap; }
.phone__meal b::after { content: " ккал"; font-weight: 700; }
.phone__shop { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: center; background: var(--btn); color: var(--white); border-radius: 14px; padding: 12px; font-size: 13px; font-weight: 800; }
.app-icon-float { position: absolute; right: 4%; bottom: 14%; display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--white); border-radius: 22px; padding: 12px 14px 8px; box-shadow: var(--shadow-lg); transform: rotate(6deg); font-size: 12px; font-weight: 800; }
.app-icon-float img { width: 56px; height: 56px; border-radius: 16px; }
.is-app .app-sec { display: none; }
@media (max-width: 900px) { .app-block { grid-template-columns: minmax(0, 1fr); gap: 28px; } .app-block__phone { order: -1; } .phone { width: 240px; } }
@media (max-width: 600px) { .app-feats { grid-template-columns: minmax(0, 1fr); } .app-block__btns .btn { width: 100%; justify-content: center; } }

/* Install instructions modal */
.install { text-align: center; }
.install__icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 8px; display: block; box-shadow: var(--shadow); }
.install__steps { list-style: none; padding: 0; margin: 0 0 14px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.install__steps li { display: flex; gap: 12px; align-items: center; background: var(--cream); border-radius: 16px; padding: 10px 12px; font-weight: 700; }
.install__steps li > span { width: 40px; height: 40px; border-radius: 12px; background: var(--white); color: var(--btn); display: grid; place-items: center; flex: none; }
.install__hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; color: var(--text2); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__about { margin: 0; max-width: 360px; line-height: 1.5; }
.footer-app { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 20px; padding: 10px 12px; box-shadow: var(--shadow); max-width: 380px; }
.footer-app img { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.footer-app div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.footer-app b { color: var(--ink); font-size: 15px; }
.footer-app div span { font-size: 13px; color: var(--muted); }
.footer-app .btn { flex: none; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.site-footer__h { margin: 4px 0 12px; font-weight: 900; color: var(--ink); font-size: 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__col a { color: var(--text2); text-decoration: none; }
.site-footer__col a:hover { color: var(--orange-ink); text-decoration: underline; }
.site-footer__mail { display: flex; align-items: center; gap: 8px; }
.site-footer__mail .icon { color: var(--btn); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer { padding-top: 40px; } .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .site-footer__col:last-child { grid-column: 1 / -1; } .footer-app { max-width: none; width: 100%; } }

.phone__meal b { flex: none; margin-left: 4px; }
.install .modal__title { text-align: center; padding: 0 36px; }
