/* Product page template, design r2 ("calm, exact spec sheet").
   Light theme follows the approved comp; dark adapts the same blocks to the
   site's approved dark-r2 palette (html[data-theme="dark"]). Scoped to .pp. */
@font-face{font-family:"Mabry Pro";src:url("/fonts/MabryPro-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Mabry Pro";src:url("/fonts/MabryPro-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"HelveticaNeueCyr";src:url("/fonts/HelveticaNeueCyr-Roman.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"HelveticaNeueCyr";src:url("/fonts/HelveticaNeueCyr-Bold.woff2") format("woff2");font-weight:700;font-display:swap}

.pp{
  --pp-bg:#FAFAFA; --pp-line:#E3E5E8; --pp-rule:#2C2C2C;
  --pp-text:#2C2C2C; --pp-muted:#5B6168;
  --pp-blue:#25486B; --pp-blue-hover:#1D3A57; --pp-btn-ink:#FFFFFF;
  --pp-sage:#9CAC91; --pp-sage-tint:#EEF1EB; --pp-sage-line:#D5DBD0;
  --pp-photo:#ECECEC; --pp-chip:#FFFFFF;
  --pp-head:"Mabry Pro","Helvetica Neue",Arial,sans-serif;
  --pp-body:"HelveticaNeueCyr","Helvetica Neue",Arial,sans-serif;
  --pp-gutter:24px;
  background:var(--pp-bg);color:var(--pp-text);font-family:var(--pp-body);font-size:17px;line-height:28px;
  -webkit-font-smoothing:antialiased
}
html[data-theme="dark"] .pp{
  --pp-bg:#18282f; --pp-line:#425960; --pp-rule:#b5c3bf;
  --pp-text:#eef2ef; --pp-muted:#b5c3bf;
  --pp-blue:#b3d0e0; --pp-blue-hover:#c4d6b9;
  --pp-btn:#b3c8a5; --pp-btn-ink:#18282f;
  --pp-sage:#b3c8a5; --pp-sage-tint:#21363e; --pp-sage-line:#425960;
  --pp-photo:#21363e; --pp-chip:#21363e
}
.pp *,.pp *::before,.pp *::after{box-sizing:border-box}
.pp a{color:var(--pp-blue);text-decoration-thickness:1px;text-underline-offset:3px}
.pp a:hover{text-decoration-thickness:2px}
.pp :is(h1,h2,h3){font-family:var(--pp-head);font-weight:500;margin:0;max-width:none;text-wrap:balance;color:var(--pp-text)}
:where(.pp) :is(p,ul,ol,dl,figure){margin:0}
:where(.pp) :is(ul,ol){padding:0;list-style:none}
:where(.pp) li{margin:0}
.pp img{display:block;max-width:100%}
.pp-wrap{width:min(calc(100% - 2*var(--gut,80px)),1280px);margin-inline:auto}
.pp-vh{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.pp-nw{white-space:nowrap}

/* Hero */
.pp-hero{padding:40px 0 0}
.pp-hero:last-child{padding-bottom:96px}
.pp-crumbs ol{display:flex;flex-wrap:wrap;gap:0 8px;font-size:14px;line-height:20px;color:var(--pp-muted)}
.pp-crumbs li+li::before{content:"/";margin-right:8px}
.pp-crumbs a{color:var(--pp-muted);display:inline-flex;align-items:center;min-height:44px}
.pp-crumbs [aria-current]{display:inline-flex;align-items:center;min-height:44px}
.pp-hero-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto 1fr auto;column-gap:var(--pp-gutter);align-items:start;margin-top:4px}
.pp-hero-head{grid-column:1 / span 6;grid-row:1}
.pp-hero-cta{grid-column:1 / span 6;grid-row:2}
.pp-hero-photo{grid-column:7 / span 6;grid-row:1 / span 2}
.pp-hero-grid--noimg :is(.pp-hero-head,.pp-hero-cta){grid-column:1 / span 8}
.pp-figures{grid-column:1 / -1;grid-row:3}
.pp h1{font-size:64px;line-height:68px;letter-spacing:-0.02em}
.pp-intro{margin-top:24px;max-width:600px}
.pp-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:32px}
.pp-btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;background:var(--pp-btn,var(--pp-blue));color:var(--pp-btn-ink)!important;font-family:var(--pp-head);font-weight:500;font-size:17px;text-decoration:none;transition:background .15s,box-shadow .15s}
.pp-btn:hover{background:var(--pp-blue-hover);box-shadow:0 4px 14px rgba(37,72,107,.18)}
.pp-btn svg,.pp-tel svg{flex:none}
.pp-tel{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-family:var(--pp-head);font-size:17px;text-decoration:none}
.pp-tel:hover{text-decoration:underline}
.pp-producer{margin-top:16px;font-size:14px;line-height:20px;color:var(--pp-muted)}
.pp-frame{background:var(--pp-photo);border-radius:20px;overflow:hidden;aspect-ratio:3/2}
.pp-frame img{width:100%;height:100%;object-fit:cover}

/* Headline strip */
.pp-figures{margin-top:48px;border-top:3px solid var(--pp-sage);display:grid;grid-template-columns:repeat(var(--pp-n,3),auto);justify-content:start}
.pp-fig{display:flex;flex-direction:column-reverse;justify-content:flex-end;padding:20px 40px 4px;border-left:1px solid var(--pp-line);min-width:0}
.pp-fig:first-child{border-left:0;padding-left:0}
.pp-fig dd{margin:0;font-family:var(--pp-head);font-weight:400;font-size:32px;line-height:36px;letter-spacing:-0.01em;color:var(--pp-blue);font-variant-numeric:tabular-nums}
.pp-fig dt{margin-top:8px;font-size:14px;line-height:20px;color:var(--pp-muted);max-width:30ch}

/* Sections: heading left (4 cols) / content right (8 cols) */
.pp-sec{padding:88px 0 96px;border-top:1px solid var(--pp-line)}
.pp-hero + .pp-sec{margin-top:80px}
.pp-sec > .pp-wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--pp-gutter)}
.pp-sec h2{grid-column:1 / span 4;font-size:28px;line-height:34px;letter-spacing:-0.01em;margin-top:-4px;padding-right:24px}
.pp-body{grid-column:5 / span 8;min-width:0}
.pp-body > *{max-width:680px}
.pp-body > * + *{margin-top:20px}
.pp-body > :is(table,.pp-ticks,div){max-width:none}
.pp-body h3{font-size:19px;line-height:26px}
.pp-body h4{font-family:var(--pp-head);font-weight:500;font-size:17px;line-height:26px;margin:0}
.pp-body li > p{margin:0}
.pp-body strong,.pp-body b{font-weight:700}

/* Lists */
.pp-ticks{display:grid;grid-template-columns:1fr;gap:0 24px;border-top:1px solid var(--pp-line)}
.pp-body > p + .pp-ticks{margin-top:28px}
.pp-ticks--2{grid-template-columns:1fr 1fr}
.pp-ticks > li{position:relative;padding:14px 0 14px 22px;border-bottom:1px solid var(--pp-line)}
.pp-ticks > li::before{content:"";position:absolute;left:0;top:24px;width:8px;height:8px;border-radius:2px;background:var(--pp-sage)}
.pp-body ol{list-style:decimal;padding-left:22px}
.pp-chips{display:flex;flex-wrap:wrap;gap:12px}
.pp-chips a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--pp-line);border-radius:999px;background:var(--pp-chip);font-family:var(--pp-head);font-weight:500;text-decoration:none}
.pp-chips a:hover{border-color:var(--pp-blue)}

/* Tables: description tables (Key facts) and the specifications table */
.pp-body table{width:100%;border-collapse:separate;border-spacing:0;margin:0;font-variant-numeric:tabular-nums;background:none}
.pp-body table :is(th,td){text-align:left;vertical-align:top;padding:14px 24px 14px 0;border-bottom:1px solid var(--pp-line);font-size:17px;line-height:26px;font-weight:400;overflow-wrap:anywhere;background:none;color:var(--pp-text)}
.pp-body table:not(.pp-spec) tr:first-child > *{border-top:1px solid var(--pp-line)}
.pp-body table:not(.pp-spec) th[scope=row]{width:35%;color:var(--pp-muted);font-size:16px}
.pp-body table :is(td,th) p{margin:0}
.pp-body table thead{background:none!important}
.pp-body table caption:not(.pp-vh){caption-side:top;text-align:left;font-family:var(--pp-head);font-size:19px;line-height:26px;margin:0 0 12px}
.pp-spec{font-size:16px;line-height:24px}
.pp-spec thead th{font-family:var(--pp-head);font-weight:500!important;font-size:14px!important;line-height:20px!important;color:var(--pp-muted)!important;padding:0 0 12px!important;border-bottom:1px solid var(--pp-rule)!important}
.pp-spec th[scope=row]{width:58%;font-size:16px!important;line-height:24px!important;padding:15px 24px 15px 0!important}
.pp-spec td{font-size:17px!important;line-height:24px!important;padding:15px 0!important}
.pp-spec .pp-group th[scope=colgroup]{font-family:var(--pp-head);font-weight:500;font-size:14px;line-height:20px;color:var(--pp-muted);padding:40px 0 12px;border-bottom:1px solid var(--pp-rule)}

/* Certificates (description section) */
.pp-sec--certs .pp-ticks{counter-reset:none}

/* FAQ */
.pp-sec--faq .pp-body{display:grid;grid-template-columns:1fr 1fr;gap:40px 32px;align-content:start}
.pp-sec--faq .pp-body > *{margin:0;max-width:none}
.pp-sec--faq .pp-body > :not(.pp-qa){grid-column:1 / -1}
.pp-qa p{margin-top:8px;font-size:16px;line-height:26px}

/* Contact */
.pp-sec--contact{background:var(--pp-sage-tint);border-top:0}
.pp-sec--contact .pp-body{font-size:19px;line-height:30px}
.pp-sec--contact .pp-body a{font-family:var(--pp-head);text-decoration:none}
.pp-sec--contact .pp-body a:hover{text-decoration:underline}
.pp-sec--contact .pp-body > p:last-child:not(:first-child){margin-top:28px;padding-top:16px;border-top:1px solid var(--pp-sage-line);font-size:14px;line-height:20px;color:var(--pp-muted)}

/* Untitled / legacy free-text block */
.pp-rail{grid-column:1 / span 4}

/* Tablet */
@media (max-width:1023px){
  .pp-hero-grid{grid-template-columns:1fr;grid-template-rows:none}
  .pp-hero-grid > *{grid-column:1!important;grid-row:auto!important}
  .pp-hero-head{order:1}.pp-figures{order:2}.pp-hero-cta{order:3}.pp-hero-photo{order:4}
  .pp-hero-photo{margin-top:32px}
  .pp-sec > .pp-wrap{grid-template-columns:1fr}
  .pp-sec h2,.pp-body{grid-column:1}
  .pp-sec h2{margin-bottom:24px}
  .pp-rail{display:none}
  .pp-figures{grid-template-columns:1fr 1fr}
  .pp-fig:nth-child(odd){border-left:0;padding-left:0}
  .pp-fig:nth-child(n+3){border-top:1px solid var(--pp-line)}
  .pp-fig--wide{grid-column:1 / -1;border-left:0;padding-left:0}
}
/* Phone */
@media (max-width:640px){
  .pp-wrap{width:calc(100% - 40px)}
  .pp{font-size:16px;line-height:26px}
  .pp-hero{padding-top:8px}
  .pp h1{font-size:40px;line-height:44px}
  .pp-intro{margin-top:16px}
  .pp-figures{margin-top:28px;grid-template-columns:1fr}
  .pp-fig{padding:16px 0 14px!important;border-left:0!important;grid-column:1!important}
  .pp-fig + .pp-fig{border-top:1px solid var(--pp-line)}
  .pp-fig dd{font-size:24px;line-height:28px}
  .pp-fig dt{font-size:13px;line-height:18px;margin-top:6px}
  .pp-cta-row{margin-top:18px}
  .pp-btn,.pp-tel{width:100%;justify-content:center}
  .pp-producer{text-align:center;font-size:13px;line-height:18px}
  .pp-hero-photo{margin-top:28px}
  .pp-frame{border-radius:16px}
  .pp-hero + .pp-sec{margin-top:48px}
  .pp-sec{padding:56px 0 64px}
  .pp-sec h2{font-size:24px;line-height:30px;margin-bottom:20px;padding-right:0}
  .pp-body table:not(.pp-spec) tr{display:grid;grid-template-columns:1fr}
  .pp-body table:not(.pp-spec) th[scope=row]{width:auto;font-size:13px;line-height:18px;padding:12px 0 2px;border-bottom:0}
  .pp-body table:not(.pp-spec) td{font-size:16px;line-height:24px;padding:0 0 12px}
  .pp-body table:not(.pp-spec) tr:first-child > td{border-top:0}
  .pp-body table:not(.pp-spec) tr:first-child{border-top:1px solid var(--pp-line)}
  .pp-spec th[scope=row]{width:56%;font-size:15px!important;line-height:22px!important;padding:13px 16px 13px 0!important}
  .pp-spec td{font-size:15px!important;line-height:22px!important;padding:13px 0!important}
  .pp-spec thead th,.pp-spec .pp-group th[scope=colgroup]{font-size:13px!important;line-height:18px!important}
  .pp-ticks--2{grid-template-columns:1fr}
  .pp-sec--faq .pp-body{grid-template-columns:1fr;gap:28px}
  .pp-body h3{font-size:18px;line-height:24px}
  .pp-sec--contact .pp-body{font-size:17px;line-height:28px}
  .pp-sec--contact .pp-body > p:last-child:not(:first-child){font-size:13px;line-height:19px}
}

/* Key specification row (crude protein on meal pages) */
.pp-spec tr.pp-key th[scope=row]{position:relative}
.pp-spec tr.pp-key th[scope=row]::before{content:"";position:absolute;left:-14px;top:14px;bottom:14px;width:3px;border-radius:2px;background:var(--pp-blue)}
.pp-spec tr.pp-key td{color:var(--pp-blue);font-weight:700}
@media (max-width:640px){.pp-spec tr.pp-key th[scope=row]::before{left:-11px}}

/* Contact card (design r2) */
.pp-contact .pp-role{margin:0;font-size:14px;line-height:20px;color:var(--pp-muted)}
.pp-contact .pp-name{margin:4px 0 0;font-family:var(--pp-head);font-weight:500;font-size:24px;line-height:30px}
.pp-clinks{display:flex;flex-wrap:wrap;gap:8px 40px;margin:20px 0 0}
.pp-sec--contact .pp-clinks a{display:inline-flex;align-items:center;gap:10px;min-height:48px;font-family:var(--pp-head);font-size:22px;line-height:28px;color:var(--pp-blue)}
.pp-sec--contact .pp-hint{margin:20px 0 0;max-width:680px;font-size:17px;line-height:28px}
.pp-sec--contact .pp-contact + p{margin-top:28px;padding-top:16px;border-top:1px solid var(--pp-sage-line);font-size:14px;line-height:20px;color:var(--pp-muted)}
@media (max-width:640px){
  .pp-contact .pp-name{font-size:22px;line-height:28px}
  .pp-clinks{flex-direction:column;gap:4px}
  .pp-sec--contact .pp-clinks a{font-size:19px}
  .pp-sec--contact .pp-hint{font-size:16px;line-height:26px}
  .pp-sec--contact .pp-contact + p{font-size:13px;line-height:19px}
}
