/*
Theme Name: Tempero Lab
Description: Portal brasileiro de receitas e ferramentas para cozinhar.
Version: 1.3.1
Requires PHP: 8.2
Text Domain: tempero-lab
*/
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fbfaf5;
  --ink: #20261a;
  --muted: #535c4a;
  --olive: #35452a;
  --line: #e4e6db;
  --white: #fff;
  --lime: #d6ed88;
  --radius: 22px;
  --shadow: 0 12px 32px #252f1810;
  --max-width: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.6 Manrope, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: 0 0 auto; vertical-align: middle; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #53772c; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.048em; line-height: 1.1; }
h1 { font-size: clamp(2.65rem, 5.2vw, 4.55rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); }
h3 { font-size: 1.34rem; }
.wrap { width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { z-index: 50; top: 6px; left: 6px; width: auto; height: auto; clip-path: none; padding: 9px 13px; background: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #52613b; font-size: .68rem; font-weight: 800; letter-spacing: .145em; text-transform: uppercase; }
.eyebrow svg { stroke-width: 2; }
.small { color: var(--muted); font-size: .82rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid transparent; border-radius: 13px; padding: 10px 16px; color: white; background: #26341e; font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.button:hover { background: #3b502e; }
.button-light { color: var(--ink); border-color: #d6dace; background: var(--white); }
.button-light:hover { background: #f1f4e7; }
.button-bright { color: #27331e; background: var(--lime); }
.button-bright:hover { background: #e3f4a8; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: #3a5127; text-decoration: none; font-size: .88rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header { border-bottom: 1px solid var(--line); background: #fdfcf8; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.brand-icon { display: grid; place-items: center; height: 38px; width: 38px; border-radius: 12px; color: #24321a; background: var(--lime); }
.brand-name { font-size: 1.36rem; letter-spacing: -.085em; font-weight: 800; line-height: 1; }
.brand-name b { color: #638235; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 38px); }
.main-nav a, .site-footer nav a { color: #394034; text-decoration: none; font-weight: 700; font-size: .87rem; }
.main-nav a:hover, .site-footer nav a:hover { color: #45642d; text-decoration: underline; text-underline-offset: 4px; }
.main-nav a[aria-current="page"] { color: #45642d; text-decoration: underline; text-underline-offset: 4px; }
.header-action { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 40px; padding: 7px 13px; border: 1px solid #dce0d1; border-radius: 12px; text-decoration: none; font-size: .8rem; font-weight: 800; }
.header-action:hover { background: #edf2da; }
.home-content { padding-block: 30px 66px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.04fr 1fr; align-items: stretch; min-height: 465px; overflow: hidden; border-radius: 29px; background: #e9efcf; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(28px, 4.6vw, 65px) clamp(22px, 4vw, 56px); }
.hero h1 { margin-block: 13px 17px; font-size: clamp(2.9rem, 5.05vw, 5rem); letter-spacing: -.069em; line-height: 1.03; }
.hero h1 em { color: #557136; font-family: Georgia, serif; font-weight: 500; letter-spacing: -.10em; }
.hero p { max-width: 340px; color: #475439; font-size: 1.03rem; }
.hero-media { position: relative; isolation: isolate; min-width: 0; min-height: 100%; background: #b6c974; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero-index { position: absolute; top: 16px; right: 17px; display: inline-block; padding: 4px 9px; border: 1px solid #f9ffd899; border-radius: 7px; background: #25320a55; color: white; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.hero-feature { position: absolute; right: 16px; bottom: 17px; left: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 420px; margin-left: auto; border: 1px solid #fff9; border-radius: 15px; padding: 11px 11px 11px 16px; background: #fffff4f0; box-shadow: var(--shadow); }
.hero-feature-text { display: grid; gap: 2px; }
.hero-feature-text span { color: #4c5b3d; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-feature-text i { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: #638330; }
.hero-feature-text strong { font-size: 1rem; line-height: 1.2; }
.hero-feature a, .card-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; color: #24361d; background: #e5efcd; }
.hero-feature a:hover { background: var(--lime); }
.search-form { display: flex; align-items: center; gap: 9px; max-width: 480px; padding: 6px 6px 6px 13px; border: 1px solid #dbe3c9; border-radius: 16px; background: #fff; color: #4f6340; box-shadow: 0 5px 15px #2f481911; }
.search-hero { margin-top: 26px; }
.search-form input { flex: 1; min-width: 0; height: 43px; padding: 4px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font-size: .88rem; }
.search-form .button { min-height: 41px; padding: 7px 11px; border-radius: 10px; }
.hero-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 13px; color: #4f5d41; font-size: .73rem; font-weight: 800; }
.hero-shortcuts a { padding: 4px 10px; border: 1px solid #cbd6ad; border-radius: 99px; background: #f5f8e680; text-decoration: none; }
.hero-shortcuts a:hover { background: white; }
.hero-fridge { margin-top: 12px; }
.home-section { margin-top: 48px; }
.section-heading, .results-header { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 19px; }
.section-heading h2 { margin-top: 4px; }
.section-heading .text-link { margin-bottom: 3px; }
.section-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tone-lime { --tone: #edf3d9; --tile: #dfeeb6; --tone-ink: #4a602f; }
.tone-peach { --tone: #faf0e2; --tile: #f7dfbf; --tone-ink: #784f29; }
.tone-lavender { --tone: #f0edfc; --tile: #e1d8f9; --tone-ink: #5b4785; }
.tone-mint { --tone: #e9f4e9; --tile: #cfe9d3; --tone-ink: #365c3b; }
.tone-sky { --tone: #eaf2f9; --tile: #d4e6f6; --tone-ink: #385b78; }
.tone-rose { --tone: #faedf0; --tile: #f4d9e0; --tone-ink: #804c60; }
.section-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 13px 6px; min-height: 104px; padding: 13px 14px; border: 1px solid transparent; border-radius: 17px; background: var(--tone); text-decoration: none; }
.section-card:hover { border-color: var(--tone-ink); }
.section-card strong { font-size: .98rem; line-height: 1.2; letter-spacing: -.045em; }
.section-card > svg { color: var(--tone-ink); }
.section-icon { display: grid; grid-column: 1 / -1; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: var(--tone-ink); background: var(--tile); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.recipe-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.recipe-card:hover { box-shadow: var(--shadow); }
.recipe-card-link { display: block; height: 100%; text-decoration: none; }
.recipe-card:has(.missing) .recipe-card-link { height: auto; }
.recipe-card-link:focus-visible { outline-offset: -4px; }
.card-picture { position: relative; aspect-ratio: 1.67; overflow: hidden; background: #e5ead7; }
.card-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.recipe-card:hover img { transform: scale(1.025); }
.card-badge, .tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 9px; border-radius: 8px; background: var(--tone); color: var(--tone-ink); font-size: .73rem; font-weight: 800; text-decoration: none; }
.card-badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px #26341e16; }
.card-content { position: relative; display: grid; gap: 6px; padding: 15px 53px 18px 17px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.card-meta span:first-child { display: flex; align-items: center; gap: 5px; }
.card-meta span + span::before { content: "·"; margin-right: 8px; }
.card-content p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: .84rem; }
.card-arrow { position: absolute; right: 13px; bottom: 16px; width: 32px; height: 32px; border-radius: 9px; }
.fridge-promo { display: grid; grid-template-columns: 1.13fr .87fr; gap: 12px; min-height: 280px; margin-top: 48px; overflow: hidden; border-radius: 27px; color: #f9fff1; background: #2d3b25; }
.promo-copy { padding: 42px; }
.promo-copy h2 { margin: 8px 0 12px; font-size: clamp(1.85rem, 3.45vw, 3.1rem); }
.promo-copy .eyebrow { color: #d1e99e; }
.promo-copy p { max-width: 400px; margin-bottom: 18px; color: #e3ead8; }
.promo-visual { position: relative; display: grid; place-items: center; min-height: 210px; background: radial-gradient(ellipse at center, #66804b 0, #445938 40%, #2d3b25 73%); }
.promo-orbit { position: absolute; width: min(83%, 330px); height: 150px; border: 1px dashed #d6ed8880; border-radius: 50%; transform: rotate(-25deg); }
.promo-fridge { display: grid; place-items: center; width: 126px; height: 126px; border: 1px solid #b0cb7d; border-radius: 30px; background: #4b603b; color: #e6f3c8; transform: rotate(-8deg); }
.promo-chip { position: absolute; display: flex; gap: 6px; align-items: center; padding: 5px 10px; border: 1px solid #d5e6bb; border-radius: 10px; background: #f2f6df; color: #344629; font-size: .78rem; font-weight: 800; }
.chip-one { top: 25%; left: 14%; transform: rotate(-6deg); }
.chip-two { top: 31%; right: 12%; transform: rotate(9deg); }
.chip-three { bottom: 17%; right: 20%; transform: rotate(-6deg); }
.site-footer { border-top: 1px solid var(--line); background: #f1f2e9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 29px 24px; }
.footer-inner p { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #dfe2d6; padding-block: 12px; color: var(--muted); font-size: .74rem; }
.analytics-settings { padding: 0; border: 0; color: inherit; background: none; text-align: left; text-decoration: underline; }
.analytics-choice { position: fixed; z-index: 20; inset-inline-end: 16px; inset-block-end: 16px; width: min(420px, calc(100% - 32px)); padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 8px 32px #20261a2b; }
.analytics-choice h2 { margin: 0 0 5px; font-size: 1.1rem; }
.analytics-choice p { margin: 0 0 14px; font-size: .9rem; }
.analytics-choice a { text-decoration: underline; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-actions .button { flex: 1; }
.inner-page { min-height: 68vh; padding-block: 37px 62px; }
.page-intro { max-width: 690px; margin-bottom: 27px; }
.page-intro h1, .collection-intro h1 { margin: 7px 0 10px; }
.page-intro p, .collection-intro p { max-width: 630px; color: var(--muted); }
.catalog-filters { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, .85fr) auto; align-items: end; gap: 12px; margin-bottom: 31px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.field { display: grid; gap: 5px; color: var(--muted); font-size: .77rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 46px; border: 1px solid #d6dace; border-radius: 11px; padding: 8px 10px; color: var(--ink); background: #fdfdf9; font-size: .93rem; font-weight: 500; }
.results-header { align-items: center; margin-top: 25px; }
.results-header h2 { font-size: clamp(1.5rem, 2.9vw, 2rem); }
.results-header > span, .count-pill { flex: 0 0 auto; color: #425135; background: #e9efd9; border-radius: 99px; padding: 5px 11px; font-size: .76rem; font-weight: 800; }
.collection-intro { display: flex; align-items: center; gap: 19px; padding: clamp(22px, 4vw, 46px); border-radius: 25px; background: var(--tone); }
.collection-intro .section-icon { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 16px; }
.collection-intro h1 { font-size: clamp(2.3rem, 4.9vw, 4rem); }
.collection-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.collection-nav a { padding: 5px 12px; border: 1px solid #d9decf; border-radius: 9px; background: white; text-decoration: none; font-weight: 800; font-size: .8rem; }
.collection-nav a[aria-current="page"], .collection-nav a:hover { border-color: #657f49; background: #e8f0d5; }
.pagination { margin-top: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pagination .page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 6px 11px; border: 1px solid #d9decf; border-radius: 9px; background: white; font-size: .86rem; font-weight: 800; text-decoration: none; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: #657f49; background: #e8f0d5; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 17px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.guide-grid { margin-top: 24px; }
.guide-card .card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-inline-end: 17px; }
.guide-card .card-content h2 { font-size: clamp(1.2rem, 2.2vw, 1.54rem); }
.guide-card .card-content .text-link { padding-top: 9px; margin-top: auto; }
.guide-card-caption { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: #252e20ed; color: white; font-size: .69rem; }
.guide-page { max-width: 920px; }
.guide-header { padding: clamp(21px, 4vw, 42px); border-radius: 22px; background: #e9efcf; }
.guide-header h1 { max-width: 820px; margin-top: 8px; font-size: clamp(2.06rem, 5vw, 3.8rem); }
.guide-content { margin-top: 22px; }
.guide-content > p { max-width: 76ch; color: #404a39; }
.guide-content > p:first-child { font-size: 1.1rem; }
.guide-content > h2 { margin-block: 25px 13px; font-size: clamp(1.55rem, 3.6vw, 2.15rem); }
.guide-option { display: grid; grid-template-columns: minmax(150px, 32%) minmax(0, 1fr); align-items: center; gap: 17px; margin-bottom: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.guide-option-body { grid-column: 1 / -1; }
.guide-option-picture + .guide-option-body { grid-column: 2; }
.guide-option-picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 11px; }
.guide-option-picture figcaption { margin-top: 4px; color: var(--muted); font-size: .69rem; }
.guide-option-body h3 { margin-top: 3px; }
.guide-option-body p { margin-top: 7px; font-size: .94rem; }
.guide-option-body .guide-option-facts { color: #4e5f37; font-weight: 800; font-size: .8rem; }
.guide-option-body .guide-recipe-link { margin-top: 9px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 24px; }
.recipe-guides h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
.recipe-guides ul { padding-inline-start: 20px; }
.recipe-guides li + li { margin-top: 5px; }
.empty-state { display: grid; place-items: center; gap: 11px; min-height: 205px; padding: 24px; border: 1px dashed #d2dcc2; border-radius: 17px; background: #f7f8f0; text-align: center; }
.empty-state > svg, .empty-state > p { color: var(--muted); }
.fridge-form { margin-top: 22px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: white; }
.fridge-form-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.fridge-form-heading h2 { font-size: 1.6rem; }
.fridge-input { max-width: 430px; margin-bottom: 13px; }
.ingredient-options { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ingredient-chip { position: relative; cursor: pointer; }
.ingredient-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ingredient-chip span { display: flex; align-items: center; gap: 5px; min-height: 38px; border: 1px solid #dce1d2; padding: 6px 10px; border-radius: 9px; color: #394734; background: #f8f9f3; font-size: .8rem; font-weight: 800; }
.ingredient-chip input:checked + span { border-color: #72914a; background: #e7f1cb; }
.ingredient-chip input:checked + span svg { transform: rotate(45deg); }
.ingredient-chip input:focus-visible + span { outline: 3px solid #53772c; outline-offset: 2px; }
.more-ingredients { margin-top: 12px; }
.more-ingredients summary, .recipe-sources summary { color: #415630; cursor: pointer; font-size: .87rem; font-weight: 800; }
.more-ingredients .chips { margin-top: 8px; }
.fridge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 17px; margin-top: 16px; }
.fridge-actions a { color: var(--muted); font-size: .83rem; font-weight: 800; text-underline-offset: 3px; }
.fridge-results { margin-top: 29px; scroll-margin-top: 12px; }
.missing { margin: 0; padding: 10px 16px; border-top: 1px solid #ede3d3; background: #fbf3e6; color: #633e23; font-size: .79rem; }
.missing-none { border-color: #dce8c7; background: #eff5e4; color: #365729; }
.recipe-hero { display: grid; grid-template-columns: .96fr 1fr; gap: clamp(22px, 4vw, 55px); align-items: center; }
.recipe-intro h1 { margin: 9px 0 11px; font-size: clamp(2.2rem, 4.3vw, 4.05rem); }
.recipe-tags, .recipe-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.recipe-summary { max-width: 500px; color: var(--muted); }
.recipe-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.recipe-facts > div { display: grid; gap: 4px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.recipe-facts span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: .73rem; font-weight: 800; }
.recipe-facts strong { font-size: .92rem; }
.recipe-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; border-radius: 22px; background: #e8ecdd; }
.recipe-photo figcaption { margin-top: 6px; color: var(--muted); text-align: right; font-size: .72rem; }
.recipe-body { display: grid; grid-template-columns: minmax(240px, .73fr) minmax(0, 1.27fr); gap: clamp(17px, 3.7vw, 45px); margin-top: 33px; align-items: start; }
.ingredient-panel, .nutrition-panel { padding: clamp(16px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: 20px; background: white; }
.panel-heading h2 { margin: 3px 0 13px; }
#ingredientes { scroll-margin-top: 14px; }
.serving-control { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 10px; background: #f0f3e7; color: #4d5b42; font-size: .85rem; font-weight: 800; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button, .icon-button { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 5px; border: 1px solid #dce1d4; border-radius: 9px; background: white; color: var(--ink); }
.stepper output { min-width: 2ch; text-align: center; }
.ingredient-list, .method-steps { list-style: none; padding: 0; }
.ingredient-list li + li { border-top: 1px solid #edf0e8; }
.ingredient-list label { display: flex; gap: 9px; padding: 7px 0; cursor: pointer; font-size: .92rem; }
.ingredient-list input { align-self: flex-start; width: 17px; height: 17px; margin: 4px 0 0; accent-color: #527438; }
.ingredient-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.ingredient-list small { display: block; color: var(--muted); font-size: .77rem; }
.nutrition-panel { margin-top: 12px; border-color: #e4dcf6; background: #f5f2fc; }
.nutrition-panel h2 { font-size: 1.2rem; }
.nutrition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 10px 0; }
.nutrition-grid > div { display: grid; gap: 1px; padding: 7px 8px; border-radius: 9px; background: white; }
.nutrition-grid dt { color: #58506d; font-size: .73rem; font-weight: 700; }
.nutrition-grid dd { margin: 0; font-size: 1.14rem; font-weight: 800; }
.nutrition-grid small { font-size: .72rem; }
.method-steps li { display: grid; grid-template-columns: auto 1fr; gap: 13px; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #e9f1d9; color: #405d2b; font-size: .86rem; font-weight: 800; }
.step-duration { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: #516340; font-size: .76rem; font-weight: 800; }
.tip-panel { padding: 15px 17px; border-radius: 14px; background: #eef3df; }
.tip-panel h2 { display: flex; align-items: center; gap: 6px; font-size: 1.2rem; }
.tip-panel ul { margin-block: 7px 0; padding-inline-start: 20px; }
.recipe-sources { margin-top: 17px; }
.kitchen-test { margin-top: 12px; }
.kitchen-test p { margin-top: 8px; }
.recipe-sources ul { padding-inline-start: 19px; }
.recipe-sources a { text-underline-offset: 3px; }
.recipe-ad { margin-top: 28px; min-height: 90px; padding: 9px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.text-page { max-width: 760px; margin-inline: auto; }
.text-page h1 { margin-bottom: 20px; }
.text-page h2 { margin-block: 22px 8px; font-size: 1.55rem; }
.text-page p { margin-bottom: 12px; color: var(--muted); }
.cook-dialog { width: min(650px, calc(100% - 24px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid #d8decc; border-radius: 22px; color: var(--ink); background: var(--paper); }
.cook-dialog::backdrop { background: #151b12ad; }
.cook-inner { padding: clamp(16px, 4vw, 33px); }
.cook-top, .cook-actions, .cook-progress { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cook-top h2 { margin-top: 4px; font-size: clamp(1.25rem, 4vw, 2.05rem); }
.cook-progress { margin-top: 17px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.cook-progress progress { flex: 1; min-width: 0; height: 9px; accent-color: #59793b; }
.cook-step { margin-block: 18px 21px; font-size: clamp(1.1rem, 4vw, 1.55rem); line-height: 1.45; }
.cook-timer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 17px; }
.cook-timer [role="status"] { font-size: .82rem; }
.plain-button { border: 0; padding: 6px; color: var(--muted); background: transparent; text-decoration: underline; }
@media (max-width: 1020px) {
  .wrap { width: min(var(--max-width), calc(100% - 42px)); }
  .hero { min-height: 405px; }
  .section-grid { gap: 8px; }
  .section-card { padding-inline: 10px; }
}
@media (max-width: 800px) {
  .hero { min-height: 365px; }
  .hero-copy { padding-inline: 22px; }
  .section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .field-query { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-icon { width: 31px; height: 31px; border-radius: 9px; }
  .brand-icon svg { width: 20px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 1.16rem; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: .74rem; }
  .nav-about { display: none; }
  .header-action { width: 35px; min-height: 35px; padding: 4px; }
  .header-action span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .home-content { padding-block: 14px 40px; }
  .hero { grid-template-columns: 1fr; border-radius: 22px; }
  .hero-copy { padding: 24px 16px 17px; }
  .hero h1 { margin-block: 9px 10px; font-size: clamp(2.6rem, 10vw, 3.55rem); }
  .hero p { font-size: .94rem; }
  .search-hero { margin-top: 15px; }
  .hero-media { min-height: 220px; aspect-ratio: 1.67; }
  .hero-feature { inset: auto 9px 9px 9px; padding: 7px 8px 7px 11px; }
  .hero-feature a { width: 33px; height: 33px; }
  .hero-index { top: 9px; right: 9px; }
  .home-section { margin-top: 30px; }
  .section-heading { margin-bottom: 12px; }
  .section-heading .text-link { font-size: .75rem; }
  .section-heading .text-link svg { width: 15px; }
  .section-card { min-height: 87px; gap: 7px 3px; border-radius: 13px; padding: 9px 8px; }
  .section-icon { width: 36px; height: 36px; border-radius: 10px; }
  .section-icon svg { width: 20px; }
  .section-card strong { font-size: .83rem; }
  .section-card > svg { width: 12px; }
  .recipe-grid { gap: 11px; }
  .card-content { padding: 11px 10px; }
  .card-content h3 { font-size: 1.07rem; }
  .card-content p { font-size: .77rem; }
  .card-arrow { display: none; }
  .card-badge { top: 6px; left: 6px; gap: 4px; padding: 3px 6px; font-size: .64rem; }
  .card-badge svg { width: 12px; }
  .fridge-promo { grid-template-columns: 1fr; margin-top: 30px; }
  .promo-copy { padding: 21px 18px 0; }
  .promo-visual { min-height: 175px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .inner-page { padding-block: 24px 44px; }
  .collection-intro { align-items: flex-start; gap: 11px; padding: 16px; }
  .collection-intro .section-icon { width: 38px; height: 38px; }
  .collection-intro h1 { font-size: 2.22rem; }
  .collection-intro p { font-size: .88rem; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 11px; }
  .recipe-hero, .recipe-body { grid-template-columns: 1fr; gap: 15px; }
  .recipe-body { margin-top: 20px; }
  .recipe-photo img { aspect-ratio: 1.63; }
  .recipe-facts { margin-block: 12px; }
  .recipe-actions .button { padding-inline: 11px; font-size: .81rem; }
}
@media (max-width: 370px) {
  .main-nav { gap: 7px; }
  .main-nav a { font-size: .69rem; }
  .recipe-grid { grid-template-columns: 1fr; }
  .section-heading .text-link svg { display: none; }
  .hero-shortcuts { gap: 5px; }
}
@media (max-width: 580px) {
  .guide-option { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide-option-picture + .guide-option-body { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
