
.polly-recipes-page {
  --polly-forest: #174c3b;
  --polly-forest-dark: #09251d;
  --polly-ink: #0a1d17;
  --polly-paper: #fcfbf6;
  --polly-oak: #e5ddd0;
  --polly-oak-light: #eee8dc;
  --polly-lime: #d9f75f;
  --polly-line: rgba(10, 29, 23, .17);
  --polly-muted: #5a6c65;
  background:
    linear-gradient(140deg, rgba(226, 216, 200, .9), rgba(244, 239, 228, .96)),
    repeating-linear-gradient(105deg, rgba(85, 65, 43, .055) 0 1px, transparent 1px 15px);
  color: var(--polly-ink);
  font-family: var(--sans, "Manrope", Arial, sans-serif);
  margin: 0;
  min-height: 70vh;
  overflow: clip;
  padding: calc(var(--header-height, 86px) + 24px) 0 clamp(64px, 8vw, 104px);
}

.polly-recipes-page *, .polly-recipes-page *::before, .polly-recipes-page *::after { box-sizing: border-box; }
.polly-recipes-page img { max-width: 100%; }
.polly-recipes-page button, .polly-recipes-page input { font: inherit; }
.polly-recipes-page a { color: inherit; }
.polly-recipes-page [hidden] { display: none !important; }
.polly-shell { margin: 0 auto; width: var(--shell, min(1440px, calc(100% - 36px))); }
.polly-anchor { display: block; height: 0; position: relative; top: calc(-1 * var(--header-height, 86px)); }
.polly-breadcrumbs { align-items: center; color: var(--polly-muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px; margin-bottom: clamp(22px, 3vw, 34px); }
.polly-breadcrumbs a { text-decoration: none; }
.polly-breadcrumbs a:hover { color: var(--polly-forest); text-decoration: underline; text-underline-offset: 3px; }
.polly-kicker { color: var(--polly-forest); font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 11px; font-weight: 650; letter-spacing: .065em; margin: 0 0 18px; text-transform: uppercase; }
.polly-lead { color: #314a41; font-size: var(--type-lead, clamp(16px, 1.5vw, 20px)); line-height: 1.45; margin: 22px 0 0; max-width: 34ch; }
.polly-recipes-page h1, .polly-recipes-page h2, .polly-recipes-page h3 { font-weight: 600; color: var(--polly-ink); font-family: var(--display, "Unbounded", Arial, sans-serif); text-wrap: balance; }
.polly-recipes-page h1 { font-size: clamp(39px, 5.2vw, 68px); font-weight: 600; letter-spacing: 0; line-height: 1.02; margin: 0; }
.polly-heading { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.polly-heading h2 { font-size: var(--type-section, clamp(26px, 3vw, 38px)); letter-spacing: 0; line-height: 1.08; margin: 0; }
.polly-heading > p { color: var(--polly-muted); flex: none; font-size: 14px; margin: 0 0 4px; }
.polly-heading > p span { color: var(--polly-ink); font-weight: 800; }

.polly-collection-hero, .polly-recipe-hero { align-items: start; display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr); margin-bottom: clamp(46px, 5vw, 66px); }
.polly-collection-hero__copy, .polly-recipe-hero__copy { align-self: start; padding: 0; }
.polly-collection-hero__copy h1 { max-width: none; font-size: var(--type-title, clamp(32px, 4vw, 52px)); line-height: 1.12; text-wrap: pretty; }
.polly-collection-hero__image, .polly-gallery__stage, .polly-card__image, .polly-collection-card__image { background: #c9c4b8; border-radius: 20px; margin: 0; overflow: hidden; position: relative; }
.polly-collection-hero__image { aspect-ratio: 1; min-height: 420px; }
.polly-collection-hero__image::after, .polly-gallery__slide::after, .polly-card__image::after, .polly-collection-card__image::after { background: rgba(9, 37, 29, .1); content: ""; inset: 0; pointer-events: none; position: absolute; }
.polly-collection-hero__image img, .polly-gallery__slide img, .polly-card__image img, .polly-collection-card__image img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.polly-collection-count { align-items: center; border-top: 1px solid var(--polly-line); display: flex; gap: 14px; margin-top: 24px; max-width: 420px; padding-top: 15px; }
.polly-collection-count strong { font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 30px; letter-spacing: -.05em; }
.polly-collection-count span { color: var(--polly-muted); font-size: 14px; line-height: 1.35; max-width: 16ch; }
.polly-jump-link { align-items: center; background: var(--polly-forest-dark); border: 1px solid var(--polly-forest-dark); border-radius: 12px; color: var(--polly-paper) !important; display: inline-flex; font-size: 14px; font-weight: 800; gap: 22px; justify-content: space-between; margin-top: 22px; min-height: 46px; padding: 10px 11px 10px 17px; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.polly-jump-link span:last-child { align-items: center; background: var(--polly-lime); border-radius: 8px; color: var(--polly-ink); display: flex; font-size: 18px; height: 30px; justify-content: center; width: 30px; }
.polly-jump-link:hover { background: var(--polly-forest); transform: translateY(-2px); }

.polly-collection-carousel { min-width: 0; }
.polly-collection-carousel__viewport { overflow: hidden; }
.polly-collection-carousel__track { display: flex; gap: 14px; transform: translate3d(0, 0, 0); transition: transform .62s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.polly-collection-carousel__slide { aspect-ratio: 4 / 3; background: #c9c4b8; border-radius: 20px; flex: 0 0 calc(100% - 72px); min-width: 0; overflow: hidden; position: relative; text-decoration: none; }
.polly-collection-carousel__slide::after { background: linear-gradient(180deg, rgba(9, 37, 29, .1) 42%, rgba(9, 37, 29, .72) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.polly-collection-carousel__slide img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.polly-collection-carousel__slide > span { bottom: 17px; color: var(--polly-paper); font-size: 14px; font-weight: 800; left: 18px; line-height: 1.25; max-width: calc(100% - 36px); position: absolute; z-index: 1; }
.polly-collection-carousel__controls { align-items: center; display: flex; justify-content: space-between; margin-top: 12px; padding-right: 72px; }
.polly-collection-carousel__arrows { display: flex; gap: 7px; }
.polly-collection-carousel__arrows button { align-items: center; background: rgba(252, 251, 246, .72); border: 1px solid var(--polly-line); border-radius: 999px; color: var(--polly-ink); cursor: pointer; display: flex; font-size: 24px; height: 38px; justify-content: center; line-height: 1; padding: 0 0 2px; transition: background-color .16s ease, border-color .16s ease; width: 38px; }
.polly-collection-carousel__arrows button:hover { background: var(--polly-lime); border-color: #bedc3a; }
.polly-collection-carousel__status { align-items: baseline; color: var(--polly-muted); display: flex; font-size: 12px; gap: 5px; }
.polly-collection-carousel__status b { color: var(--polly-ink); font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 16px; }

.polly-catalog { scroll-margin-top: calc(var(--header-height, 86px) + 20px); }
.polly-filters { background: rgba(252, 251, 246, .76); border: 1px solid var(--polly-line); border-radius: 18px; display: grid; gap: 0; grid-template-columns: .85fr .85fr 1.3fr; margin-bottom: 26px; padding: 0 24px; }
.polly-filters fieldset { border: 0; border-right: 1px solid var(--polly-line); margin: 0; min-width: 0; padding: 21px 22px 20px 0; }
.polly-filters fieldset + fieldset { padding-left: 22px; }
.polly-filters fieldset:nth-last-of-type(1) { border-right: 0; }
.polly-filters legend { color: var(--polly-muted); float: left; font-size: 12px; font-weight: 750; letter-spacing: .025em; margin: 0; padding: 0 0 11px; text-transform: uppercase; width: 100%; }
.polly-filters fieldset > div { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.polly-filters button[data-filter-value], .polly-filters label { align-items: center; background: transparent; border: 1px solid var(--polly-line); border-radius: 999px; color: var(--polly-ink); cursor: pointer; display: inline-flex; font-size: 14px; line-height: 1.2; min-height: 40px; padding: 9px 13px; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.polly-filters button[data-filter-value]:hover, .polly-filters label:hover { border-color: var(--polly-forest); }
.polly-filters button[data-filter-value].is-active { background: var(--polly-forest-dark); border-color: var(--polly-forest-dark); color: var(--polly-paper); }
.polly-filters label:has(input:checked) { background: var(--polly-lime); border-color: #bedc3a; }
.polly-filters input { accent-color: var(--polly-forest); margin: 0 6px 0 0; }
.polly-filter-footer { align-items: center; border-top: 1px solid var(--polly-line); display: flex; gap: 14px; grid-column: 1 / -1; justify-content: space-between; min-height: 50px; padding: 7px 0; }
.polly-filter-footer > div { display: flex; flex-wrap: wrap; gap: 7px; }
.polly-filter-footer > div button { align-items: center; background: var(--polly-lime); border: 0; border-radius: 999px; color: var(--polly-ink); cursor: pointer; display: inline-flex; font-size: 12px; gap: 7px; padding: 7px 10px; }
.polly-filter-footer > div button span { font-size: 18px; line-height: .8; }
.polly-filter-reset { background: transparent; border: 0; color: var(--polly-forest); cursor: pointer; flex: none; font-size: 13px; font-weight: 750; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.polly-filter-reset:disabled { cursor: default; opacity: .38; }

.polly-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.polly-card { background: rgba(252, 251, 246, .86); border: 1px solid rgba(10, 29, 23, .13); border-radius: 18px; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.polly-card:hover { border-color: rgba(10, 29, 23, .34); transform: translateY(-2px); }
.polly-card__image { aspect-ratio: 1; border-radius: 0; display: block; }
.polly-card__body { display: flex; flex-direction: column; padding: 18px; }
.polly-card__meta { color: var(--polly-muted); display: flex; flex-wrap: wrap; font-size: 11px; font-weight: 750; gap: 9px; letter-spacing: .02em; margin-bottom: 10px; text-transform: uppercase; }
.polly-card__meta span + span::before { content: "/"; margin-right: 9px; opacity: .55; }
.polly-card h2 { font-size: clamp(18px, 1.55vw, 22px); letter-spacing: -.045em; line-height: 1.18; margin: 0; }
.polly-card h2 a { text-decoration: none; }
.polly-card h2 a:hover { color: var(--polly-forest); }
.polly-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.polly-card__tags span { border: 1px solid var(--polly-line); border-radius: 999px; font-size: 11px; line-height: 1.2; padding: 6px 8px; }
.polly-button { align-items: center; border: 1px solid transparent; border-radius: 10px; cursor: pointer; display: inline-flex; font-size: var(--type-control, 12px); font-weight: 800; justify-content: center; line-height: 1.2; min-height: 44px; padding: 11px 16px; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .1s ease; }
.polly-button--dark { background: var(--polly-forest-dark); color: var(--polly-paper) !important; margin-top: auto; }
.polly-button--dark:hover, .polly-button--dark:focus-visible { background: var(--polly-lime); border-color: #bedc3a; color: var(--polly-ink) !important; }
.polly-button:active, .polly-filters button:active { transform: translateY(1px); }
.polly-empty { background: var(--polly-paper); border: 1px solid var(--polly-line); border-radius: 18px; margin: 0 0 24px; padding: clamp(24px, 5vw, 50px); text-align: center; }
.polly-empty h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; margin: 0 0 9px; }
.polly-empty p { color: var(--polly-muted); margin: 0 auto 20px; }
.polly-empty .polly-button { margin: 0; }

.polly-recipe-nav { align-items: center; display: flex; gap: 24px; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 34px); }
.polly-recipe-nav .polly-breadcrumbs { justify-content: flex-end; margin: 0; }
.polly-back-link { align-items: center; background: var(--polly-forest-dark); border: 1px solid var(--polly-forest-dark); border-radius: 999px; color: var(--polly-paper) !important; display: inline-flex; flex: none; font-size: 13px; font-weight: 800; gap: 8px; min-height: 42px; padding: 9px 15px; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.polly-back-link:hover { background: var(--polly-lime); border-color: #bedc3a; color: var(--polly-ink) !important; transform: translateX(-2px); }
.polly-recipe-hero { align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(34px, 4vw, 48px); }
.polly-recipe-hero__copy { align-self: start; }
.polly-recipe-hero__copy h1 { font-size: var(--type-title, clamp(32px, 4vw, 52px)); max-width: none; line-height: 1.12; text-wrap: pretty; }
.polly-recipe-facts { border-bottom: 1px solid var(--polly-line); border-top: 1px solid var(--polly-line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.polly-recipe-facts > div { border-right: 1px solid var(--polly-line); padding: 16px 12px 16px 0; }
.polly-recipe-facts > div + div { padding-left: 14px; }
.polly-recipe-facts > div:last-child { border-right: 0; }
.polly-recipe-facts strong, .polly-recipe-facts span { display: block; }
.polly-recipe-facts strong { font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 17px; letter-spacing: -.04em; line-height: 1.2; }
.polly-recipe-facts span { color: var(--polly-muted); font-size: 11px; margin-top: 4px; text-transform: uppercase; }
.polly-nutrition { background: var(--polly-lime); border-radius: 16px; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; padding: 18px 0 0; overflow: hidden; }
.polly-nutrition > div { min-width: 0; padding: 0 16px 18px; }
.polly-nutrition > div + div { border-left: 1px solid var(--polly-line); }
.polly-nutrition strong, .polly-nutrition span { display: block; }
.polly-nutrition strong { font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.polly-nutrition span { font-size: 10px; margin-top: 3px; text-transform: uppercase; }
.polly-nutrition small { color: #33411a; font-size: 12px; line-height: 1.45; grid-column: 1 / -1; border-top: 1px solid var(--polly-line); padding: 10px 16px; }

.polly-gallery { min-width: 0; align-self: start; }
.polly-gallery__stage { aspect-ratio: 1; }
.polly-gallery__stage::before { background: rgba(252, 251, 246, .88); border: 1px solid rgba(10, 29, 23, .16); border-radius: 999px; bottom: 14px; color: var(--polly-ink); content: "Открыть фото"; font-size: 11px; font-weight: 800; left: 14px; padding: 7px 10px; pointer-events: none; position: absolute; z-index: 2; }
.polly-gallery__slide { appearance: none; border: 0; cursor: zoom-in; display: block; height: 100%; inset: 0; padding: 0; position: absolute; width: 100%; }
.polly-gallery__slide img { height: 100%; }
.polly-gallery__arrow { align-items: center; background: rgba(252, 251, 246, .92); border: 1px solid rgba(10, 29, 23, .2); border-radius: 999px; color: var(--polly-ink); cursor: pointer; display: flex; font-size: 29px; height: 42px; justify-content: center; line-height: 1; padding: 0 0 3px; position: absolute; top: 50%; transform: translateY(-50%); width: 42px; z-index: 2; }
.polly-gallery__arrow--prev { left: 14px; }
.polly-gallery__arrow--next { right: 14px; }
.polly-gallery__counter { background: rgba(9, 37, 29, .84); border-radius: 999px; bottom: 14px; color: var(--polly-paper); font-size: 12px; padding: 7px 10px; position: absolute; right: 14px; z-index: 2; }
.polly-gallery__thumbs { display: grid; gap: 8px; grid-auto-columns: 72px; grid-auto-flow: column; margin-top: 9px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.polly-gallery__thumbs button { background: transparent; border: 2px solid transparent; border-radius: 10px; cursor: pointer; height: 72px; overflow: hidden; padding: 0; scroll-snap-align: start; width: 72px; }
.polly-gallery__thumbs button[aria-selected="true"] { border-color: var(--polly-forest); }
.polly-gallery__thumbs img { display: block; height: 100%; object-fit: cover; width: 100%; }

.polly-lightbox { background: transparent; border: 0; color: var(--polly-paper); margin: auto; max-height: 94dvh; max-width: min(1180px, 94vw); padding: 0; width: 100%; }
.polly-lightbox::backdrop { background: rgba(4, 15, 12, .88); backdrop-filter: blur(8px); }
.polly-lightbox__panel { background: #071914; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; box-shadow: 0 28px 90px rgba(0, 0, 0, .45); max-height: 94dvh; overflow: hidden; padding: 14px; }
.polly-lightbox__header { align-items: center; display: flex; gap: 20px; justify-content: space-between; min-height: 56px; padding: 2px 3px 12px 8px; }
.polly-lightbox__header > div { align-items: baseline; display: flex; gap: 12px; min-width: 0; }
.polly-lightbox__header h2 { color: var(--polly-paper); font-size: clamp(16px, 2vw, 24px); letter-spacing: -.04em; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.polly-lightbox__header p { color: rgba(252, 251, 246, .62); flex: none; font-size: 12px; margin: 0; }
.polly-lightbox__close, .polly-lightbox__arrow { align-items: center; background: rgba(252, 251, 246, .94); border: 0; border-radius: 999px; color: var(--polly-ink); cursor: pointer; display: flex; justify-content: center; }
.polly-lightbox__close { flex: none; font-size: 25px; height: 40px; line-height: 1; padding: 0 0 3px; width: 40px; }
.polly-lightbox__stage { background: #020806; border-radius: 13px; height: min(72dvh, 760px); overflow: hidden; position: relative; }
.polly-lightbox__stage figure { height: 100%; margin: 0; width: 100%; }
.polly-lightbox__stage img { display: block; height: 100%; object-fit: contain; width: 100%; }
.polly-lightbox__arrow { font-size: 32px; height: 46px; padding: 0 0 4px; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; }
.polly-lightbox__arrow--prev { left: 14px; }
.polly-lightbox__arrow--next { right: 14px; }
.polly-lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 0; }
.polly-lightbox__thumbs button { background: transparent; border: 2px solid transparent; border-radius: 9px; cursor: pointer; flex: 0 0 58px; height: 58px; overflow: hidden; padding: 0; }
.polly-lightbox__thumbs button[aria-selected="true"] { border-color: var(--polly-lime); }
.polly-lightbox__thumbs img { display: block; height: 100%; object-fit: cover; width: 100%; }
html.polly-lightbox-open { overflow: hidden; }

.polly-recipe-intro { margin: 0 auto clamp(34px, 5vw, 60px); max-width: 780px; }
.polly-recipe-layout { align-items: start; display: grid; gap: clamp(30px, 4vw, 54px); grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr); }
.polly-ingredients-panel { background: rgba(252, 251, 246, .9); border: 1px solid var(--polly-line); border-radius: 18px; padding: clamp(22px, 2.5vw, 30px); position: sticky; top: calc(var(--header-height, 86px) + 18px); }
.polly-section-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; min-height: 44px; }
.polly-section-heading h2 { font-size: var(--type-section, clamp(26px, 3vw, 38px)); letter-spacing: 0; line-height: 1.05; margin: 0; }
.polly-method > h2, .polly-tips h2, .polly-belongs h2, .polly-related h2 { font-size: var(--type-section, clamp(26px, 3vw, 38px)); letter-spacing: 0; line-height: 1.1; margin: 0; }
.polly-servings { align-items: center; background: var(--polly-lime); border-radius: 11px; display: flex; flex: none; gap: 5px; padding: 5px; }
.polly-servings button { align-items: center; background: var(--polly-paper); border: 0; border-radius: 7px; color: var(--polly-ink); cursor: pointer; display: flex; font-size: 20px; height: 32px; justify-content: center; width: 32px; }
.polly-servings button:disabled { cursor: not-allowed; opacity: .4; }
.polly-servings span { font-size: 12px; min-width: 60px; text-align: center; }
.polly-ingredient-group + .polly-ingredient-group { margin-top: 25px; }
.polly-ingredient-group h3 { color: var(--polly-forest); font-size: 12px; letter-spacing: .025em; margin: 0 0 8px; text-transform: uppercase; }
.polly-ingredient-group ul { list-style: none; margin: 0; padding: 0; }
.polly-ingredient-group li { align-items: baseline; border-bottom: 1px solid var(--polly-line); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto; padding: 11px 0; }
.polly-ingredient-group li:last-child { border-bottom: 0; }
.polly-ingredient-group li > span { font-size: 15px; line-height: 1.35; }
.polly-ingredient-group li small { color: var(--polly-muted); display: block; font-size: 11px; margin-top: 2px; }
.polly-ingredient-group li strong { font-size: 14px; text-align: right; }
.polly-substitutions { border-top: 1px solid var(--polly-line); margin-top: 22px; padding-top: 18px; }
.polly-substitutions summary { color: var(--polly-forest); cursor: pointer; font-weight: 800; }
.polly-substitutions > div { margin-top: 12px; }
.polly-substitutions p { background: var(--polly-oak-light); border-radius: 10px; display: grid; gap: 2px; margin: 7px 0 0; padding: 11px; }
.polly-substitutions p strong { font-size: 13px; }
.polly-substitutions p span, .polly-substitutions p small { color: var(--polly-muted); font-size: 12px; }

.polly-method > h2 { margin-bottom: 12px; }
.polly-steps { counter-reset: polly-step; list-style: none; margin: 0; padding: 0; }
.polly-steps > li { align-items: start; border-bottom: 1px solid var(--polly-line); display: grid; gap: 18px; grid-template-columns: 48px minmax(0, 1fr); padding: clamp(22px, 3vw, 32px) 0; }
.polly-step-number { color: #f07157; font-family: var(--display, "Unbounded", Arial, sans-serif); font-size: 13px; font-weight: 750; padding-top: 4px; }
.polly-steps h3 { font-size: 17px; letter-spacing: -.035em; margin: 0 0 7px; }
.polly-steps p { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; margin: 0; }
.polly-steps small { color: var(--polly-forest); display: inline-block; font-weight: 750; margin-top: 9px; }
.polly-steps img { border-radius: 14px; grid-column: 2; margin-top: 2px; width: min(100%, 420px); }
.polly-tips { background: var(--polly-lime); border-radius: 18px; margin-top: 34px; padding: clamp(22px, 4vw, 38px); }
.polly-tips h2 { font-size: clamp(23px, 2.6vw, 32px); }
.polly-tips > div { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 19px; }
.polly-tips p { background: rgba(252, 251, 246, .58); border-radius: 11px; font-size: 15px; line-height: 1.45; margin: 0; padding: 15px; }

.polly-belongs, .polly-related, .polly-collection-copy { border-top: 1px solid var(--polly-line); margin-top: clamp(54px, 8vw, 96px); padding-top: clamp(34px, 5vw, 58px); }
.polly-belongs > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.polly-belongs a { background: var(--polly-paper); border: 1px solid var(--polly-line); border-radius: 999px; font-weight: 750; padding: 10px 14px; text-decoration: none; }
.polly-belongs a:hover { border-color: var(--polly-forest); }
.polly-related .polly-heading { margin-bottom: 24px; }
.polly-collection-copy { font-size: 17px; line-height: 1.7; margin-left: auto; margin-right: auto; max-width: 780px; }
.polly-prose p { margin: 0 0 1em; }
.polly-prose > :last-child { margin-bottom: 0; }

.polly-archive-header { margin-bottom: clamp(34px, 6vw, 70px); max-width: 800px; }
.polly-archive-header h1 { max-width: 12ch; }
.polly-archive-header p { color: var(--polly-muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.45; margin: 20px 0 0; }
.polly-collection-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.polly-collection-card { background: rgba(252, 251, 246, .86); border: 1px solid var(--polly-line); border-radius: 18px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.polly-collection-card__image { border-radius: 0; min-height: 300px; }
.polly-collection-card > div { display: flex; flex-direction: column; padding: 24px; }
.polly-collection-card > div > p:first-child { color: var(--polly-forest); font-size: 12px; font-weight: 750; margin: 0 0 8px; text-transform: uppercase; }
.polly-collection-card h2 { font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -.05em; margin: 0; }
.polly-collection-card h2 a { text-decoration: none; }
.polly-collection-card h2 + p { color: var(--polly-muted); line-height: 1.5; }
.polly-collection-card .polly-button { align-self: flex-start; }

.polly-recipes-page button:focus-visible, .polly-recipes-page a:focus-visible, .polly-recipes-page input:focus-visible, .polly-recipes-page summary:focus-visible { outline: 3px solid #f07157; outline-offset: 3px; }

@media (max-width: 980px) {
  .polly-collection-hero, .polly-recipe-hero { grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); }
  .polly-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polly-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polly-filters fieldset:nth-of-type(2) { border-right: 0; }
  .polly-filters fieldset:nth-of-type(3) { border-right: 0; border-top: 1px solid var(--polly-line); grid-column: 1 / -1; padding-left: 0; }
  .polly-recipe-layout { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
  .polly-collection-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .polly-recipes-page { margin: 0; padding-left: 0; padding-right: 0; padding-top: calc(var(--header-height, 76px) + 22px); }
  .polly-breadcrumbs { font-size: 12px; margin-bottom: 24px; }
  .polly-collection-hero, .polly-recipe-hero { gap: 24px; grid-template-columns: 1fr; margin-bottom: 42px; }
  .polly-collection-hero__copy, .polly-recipe-hero__copy { padding: 0; }
  .polly-recipes-page h1 { font-size: clamp(38px, 12vw, 56px); }
  .polly-lead { font-size: 17px; max-width: none; }
  .polly-collection-hero__image { min-height: 0; }
  .polly-collection-carousel__slide { flex-basis: calc(100% - 46px); }
  .polly-collection-carousel__controls { padding-right: 46px; }
  .polly-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .polly-filters { display: block; padding: 0 14px; }
  .polly-filters fieldset, .polly-filters fieldset + fieldset, .polly-filters fieldset:nth-of-type(3) { border-bottom: 1px solid var(--polly-line); border-right: 0; border-top: 0; padding: 15px 0; }
  .polly-filters fieldset:nth-last-of-type(1) { border-bottom: 0; }
  .polly-filter-footer { align-items: flex-start; flex-direction: column; }
  .polly-card-grid { grid-template-columns: 1fr; }
  .polly-card__body { padding: 16px; }
  .polly-recipe-facts { margin-top: 24px; }
  .polly-nutrition { margin-top: 14px; }
  .polly-recipe-nav { margin-bottom: 24px; }
  .polly-recipe-nav .polly-breadcrumbs { display: none; }
  .polly-gallery__stage { aspect-ratio: 1; }
  .polly-recipe-layout { grid-template-columns: 1fr; }
  .polly-ingredients-panel { position: static; }
  .polly-method > h2 { margin-top: 4px; }
  .polly-tips > div { grid-template-columns: 1fr; }
  .polly-related .polly-card:nth-child(n+3) { display: none; }
  .polly-collection-card { grid-template-columns: 1fr; }
  .polly-collection-card__image { aspect-ratio: 1; min-height: 0; }
  .polly-lightbox { max-height: 96dvh; max-width: calc(100vw - 16px); }
  .polly-lightbox__panel { border-radius: 16px; max-height: 96dvh; padding: 8px; }
  .polly-lightbox__header { min-height: 52px; padding: 2px 3px 8px 6px; }
  .polly-lightbox__header h2 { font-size: 15px; }
  .polly-lightbox__stage { border-radius: 10px; height: min(72dvh, 680px); }
  .polly-lightbox__arrow { height: 42px; width: 42px; }
}

@media (max-width: 520px) {
  .polly-recipe-facts strong { font-size: 14px; }
  .polly-recipe-facts span { font-size: 9px; }
  .polly-nutrition > div { padding: 0 9px 14px; }
  .polly-nutrition strong { font-size: 17px; }
  .polly-nutrition span { font-size: 9px; }
  .polly-section-heading { align-items: flex-start; flex-direction: column; min-height: 0; }
  .polly-servings { align-self: flex-start; }
  .polly-steps > li { gap: 11px; grid-template-columns: 34px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .polly-recipes-page *, .polly-recipes-page *::before, .polly-recipes-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.polly-collection-hero .polly-lead { max-width: 40ch; font-size: clamp(16px, 1.6vw, 20px); }
.polly-carousel-pause { background: transparent; border: 1px solid var(--polly-line); border-radius: 999px; color: var(--polly-ink); cursor: pointer; min-height: 44px; padding: 9px 14px; font-size: 12px !important; }
.polly-collection-carousel__arrows button { height: 44px; width: 44px; }
.polly-collection-carousel__track { transition-duration: .28s; }
.polly-filter-toggle { background: var(--polly-paper); border-color: var(--polly-line); margin-bottom: 16px; width: 100%; justify-content: space-between; }
.polly-filter-toggle::after { content: '+'; font-size: 20px; }
.polly-filter-toggle[aria-expanded="true"]::after { content: '−'; }
.polly-recipe-shortcuts, .polly-recipe-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 16px; }
.polly-recipe-shortcuts a { min-height: 44px; display: inline-flex; align-items: center; color: var(--polly-forest); text-underline-offset: 4px; font-size: 14px; font-weight: 750; }
.polly-button--outline { background: var(--polly-paper); border-color: var(--polly-line); color: var(--polly-ink); }
.polly-recipe-facts { margin-top: 18px; }
.polly-copy-ingredients { margin: 16px 0; width: 100%; }
.polly-ingredients-panel { position: static; }
.polly-section-heading { flex-wrap: wrap; }
.polly-servings button { height: 44px; width: 44px; }
.polly-ingredient-group li { grid-template-columns: minmax(0, 1fr) minmax(60px, .6fr); }
.polly-ingredient-group li strong { overflow-wrap: anywhere; }
.polly-card, #polly-ingredients-title, #polly-method-title { scroll-margin-top: calc(var(--header-height, 86px) + 24px); }
.polly-recipe-shortcuts a:focus, #polly-catalog-title:focus, #polly-ingredients-title:focus, #polly-method-title:focus { outline-offset: 5px; }
.polly-action-status { position: fixed; z-index: 120; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: min(520px, calc(100vw - 32px)); background: var(--polly-forest-dark); color: var(--polly-paper); padding: 12px 18px; border-radius: 12px; font-size: 14px; pointer-events: none; }
.polly-action-status:empty { display: none; }
.polly-save-dialog { background: var(--polly-paper); color: var(--polly-ink); border: 1px solid var(--polly-line); border-radius: 20px; margin: auto; max-width: min(540px, calc(100vw - 32px)); max-height: 88dvh; padding: 24px; }
.polly-save-dialog::backdrop { background: rgba(4, 15, 12, .72); }
.polly-save-dialog__heading { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.polly-save-dialog__heading h2 { font-size: 23px; margin: 0; }
.polly-save-dialog__heading button { flex: none; font-size: 24px; background: var(--polly-oak-light); }
.polly-save-dialog > p { color: var(--polly-muted); font-size: 14px; line-height: 1.5; }
.polly-save-dialog__actions { display: grid; gap: 10px; }
.polly-save-dialog textarea { width: 100%; padding: 10px; font: inherit; font-size: 16px; margin-top: 10px; border-radius: 8px; }
.polly-save-dialog label { font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
  .polly-button--outline:hover, .polly-carousel-pause:hover { background: var(--polly-lime); border-color: #bedc3a; }
}
@media (max-width: 760px) {
  .polly-collection-page .polly-breadcrumbs { margin-bottom: 18px; }
  .polly-collection-page .polly-collection-carousel { display: none; }
  .polly-collection-hero { gap: 20px; margin-bottom: 28px; }
  .polly-collection-hero__copy h1 { font-size: clamp(30px, 8.3vw, 38px); max-width: none; }
  .polly-collection-hero .polly-lead { font-size: 16px; margin-top: 12px; }
  .polly-collection-hero .polly-jump-link { margin-top: 16px; }
  .polly-collection-carousel__slide { flex-basis: calc(70% - 14px); aspect-ratio: 1; }
  .polly-collection-carousel__controls { padding-right: 0; margin-top: 8px; }
  .polly-heading { flex-direction: row; align-items: end; gap: 12px; margin-bottom: 16px; }
  .polly-heading h2 { font-size: 26px; }
  .polly-heading > p { font-size: 12px; }
  .polly-recipe-hero__copy h1 { font-size: clamp(32px, 8.7vw, 42px); max-width: none; }
  .polly-recipe-actions { gap: 8px; margin-top: 8px; }
  .polly-recipe-actions button { font-size: 12px; padding: 10px 12px; }
  .polly-recipe-hero { gap: 20px; margin-bottom: 28px; }
  .polly-gallery__stage { max-width: 480px; margin-inline: auto; }
  .polly-save-dialog { padding: 18px; }
}
@media print {
  body > header, body > footer, .site-header, .site-footer, #wpadminbar,
  .polly-recipe-nav, .polly-recipe-actions, .polly-recipe-shortcuts, .polly-servings,
  .polly-copy-ingredients, .polly-belongs, .polly-related, .polly-save-dialog,
  .polly-lightbox, .polly-action-status, .polly-gallery { display: none !important; }
  .polly-recipes-page { background: white; color: black; padding: 0; overflow: visible; min-height: 0; }
  .polly-recipe-hero, .polly-recipe-layout { display: block; margin: 0 0 20px; }
  .polly-recipes-page h1 { max-width: none; font-size: 26pt; }
  .polly-ingredients-panel { background: white; border: 0; padding: 0; margin-bottom: 24px; }
  .polly-steps > li, .polly-ingredient-group li, .polly-tips { break-inside: avoid; }
  .polly-steps > li { padding: 10px 0; }
  .polly-tips { padding: 12px; margin-top: 16px; }
}

/* Five filter groups: three primary choices and an accessible secondary disclosure. */
.polly-filters { display: block; }
.polly-filters > fieldset,
.polly-filters > fieldset + fieldset,
.polly-filters > fieldset:nth-of-type(3),
.polly-more-filters fieldset,
.polly-more-filters fieldset + fieldset {
  border: 0; border-bottom: 1px solid var(--polly-line); padding: 18px 0;
}
.polly-filters > fieldset:nth-last-of-type(1) { border-bottom: 1px solid var(--polly-line); }
.polly-filter-hint { clear: both; color: var(--polly-muted); font-size: 12px; line-height: 1.5; margin: 9px 0 0; }
.polly-more-filters summary { cursor: pointer; color: var(--polly-forest); font-size: 14px; font-weight: 750; padding: 17px 0; }
.polly-more-filters summary:focus-visible { outline: 2px solid var(--polly-forest); outline-offset: 3px; }
.polly-more-filters__body fieldset:first-child { padding-top: 0; }
.polly-more-filters__body fieldset:last-child { border-bottom: 0; }
.polly-chill-note { background: var(--polly-lime); border-radius: 10px; color: var(--polly-ink); font-size: 14px; line-height: 1.5; margin: 12px 0; padding: 12px 15px; }
@media (min-width: 1000px) {
  .polly-filters > fieldset, .polly-more-filters fieldset { padding-left: 160px; position: relative; }
  .polly-filters legend { position: absolute; left: 0; top: 22px; width: 145px; }
  .polly-more-filters fieldset:first-child legend { top: 4px; }
  .polly-more-filters fieldset + fieldset, .polly-filters > fieldset + fieldset, .polly-filters > fieldset:nth-of-type(3) { padding-left: 160px; }
}
