/*
Theme Name: Natura&Peru
Description: Motyw sklepu Natura&Peru dla WordPress i WooCommerce.
Version: 2.2.1
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naturaperu
*/

@font-face {
  font-family: Gloock;
  src: url(assets/fonts/gloock-latin.woff2) format("woff2");
  font-display: swap;
  font-weight: 400;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Gloock;
  src: url(assets/fonts/gloock-latin-ext.woff2) format("woff2");
  font-display: swap;
  font-weight: 400;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rethink Sans";
  src: url(assets/fonts/rethink-latin.woff2) format("woff2");
  font-display: swap;
  font-weight: 400 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rethink Sans";
  src: url(assets/fonts/rethink-latin-ext.woff2) format("woff2");
  font-display: swap;
  font-weight: 400 700;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --np-cream: #f7f1e5;
  --np-ink: #272921;
  --np-muted: #60594d;
  --np-rule: #d1c5af;
  --np-clay: #8f382a;
  --np-dark-clay: #743328;
  --np-light: #fff6e5;
  --np-amber: #f1bd7b;
  --np-olive: #273429;
  --np-paper: #fdf9f0;
  --np-display: Gloock, Georgia, serif;
  --np-body: "Rethink Sans", system-ui, sans-serif;
  --np-gutter: clamp(1.15rem, 4.5vw, 4.5rem);
}

html { box-sizing: border-box; scroll-behavior: smooth; scrollbar-color: #a89576 var(--np-cream); }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; color: var(--np-ink); background: var(--np-cream); font: 400 1rem/1.58 var(--np-body); }
h1, h2, h3 { font-family: var(--np-display); font-weight: 400; line-height: 1.08; letter-spacing: -.028em; }
h1, h2, h3, figure, p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .26em; }
button, input, select, textarea { font: inherit; caret-color: var(--np-clay); }
:focus-visible { outline: 2px solid currentColor; outline-offset: .24rem; }
::selection { background: var(--np-amber); color: var(--np-ink); }
.np-shell { width: min(calc(100% - 2 * var(--np-gutter)), 80rem); margin-inline: auto; }
.np-skip { position: fixed; top: .75rem; left: .75rem; z-index: 100000; padding: .75rem 1rem; color: var(--np-ink); background: var(--np-light); transform: translateY(-200%); }
.np-skip:focus { transform: translateY(0); }

.np-header { background: var(--np-cream); }
.np-utility { color: var(--np-light); background: var(--np-olive); }
.np-utility-inner { min-height: 2.45rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.np-utility-message { color: #f0e1c9; font-size: .79rem; }
.np-status { display: inline-flex; gap: .49rem; align-items: center; }
.np-status::before { content: ""; width: .42rem; height: .42rem; flex: none; border-radius: 50%; background: var(--np-amber); }
.np-languages { flex: none; }
.np-languages ul, .np-nav ul, .np-footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.np-languages ul { gap: .35rem clamp(.65rem, 1.65vw, 1.35rem); }
.np-languages a { min-height: 2.45rem; display: inline-flex; align-items: center; position: relative; color: #f0e1c9; font-size: .84rem; line-height: 1.2; text-decoration: none; }
.np-languages a:hover { color: #fff; text-decoration: underline; }
.np-languages a[aria-current] { color: #fff; font-weight: 700; }
.np-languages a[aria-current]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--np-amber); }

.np-header-inner { min-height: 5.15rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; }
.np-brand { display: inline-flex; gap: .55rem; align-items: center; width: fit-content; font-family: var(--np-display); font-size: clamp(1.6rem, 2.45vw, 2.5rem); line-height: 1; letter-spacing: -.038em; text-decoration: none; white-space: nowrap; }
.np-brand-amp { color: var(--np-clay); padding-inline: .025em; }
.np-emblem { width: 1.74rem; height: 1.55rem; position: relative; display: inline-block; color: var(--np-clay); flex: none; }
.np-emblem::before, .np-emblem::after { content: ""; position: absolute; border: solid currentColor; border-width: .11rem 0 0 .11rem; transform: rotate(45deg); }
.np-emblem::before { width: .91rem; height: .91rem; bottom: .06rem; left: .17rem; }
.np-emblem::after { width: .65rem; height: .65rem; bottom: .16rem; left: .92rem; }
.np-emblem span { width: .35rem; height: .35rem; background: currentColor; border-radius: 50%; position: absolute; top: .06rem; right: .22rem; }
.np-nav ul { gap: .35rem clamp(1.4rem, 3.2vw, 3.5rem); }
.np-nav a, .np-cart, .np-footer-nav a { font-size: 1rem; font-weight: 650; }
.np-nav a { display: inline-flex; align-items: center; min-height: 2.8rem; text-decoration: none; }
.np-nav a:hover, .np-footer-nav a:hover { text-decoration: underline; }
.np-header-end { justify-self: end; }
.np-cart { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.np-cart:hover { text-decoration: underline; }
.np-bag { display: inline-block; position: relative; width: 1rem; height: .92rem; border: 1.5px solid currentColor; border-radius: .13rem; }
.np-bag::before { content: ""; position: absolute; top: -.32rem; left: .21rem; width: .44rem; height: .39rem; border: 1.5px solid currentColor; border-bottom: 0; border-radius: .25rem .25rem 0 0; }

.np-hero { display: grid; position: relative; isolation: isolate; overflow: hidden; background: var(--np-olive); color: var(--np-light); }
.np-hero-art, .np-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-hero-art { z-index: -2; }
.np-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.np-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(20, 25, 18, .87), rgba(20, 25, 18, .72) 34%, rgba(20, 25, 18, .18) 67%, transparent 100%), linear-gradient(0deg, rgba(20, 25, 18, .32), transparent 28%); }
.np-hero-layout { min-height: clamp(35rem, 45.5vw, 44rem); display: flex; align-items: center; position: relative; padding-block: 4rem 5rem; }
.np-hero-copy { width: min(41rem, 63%); }
.np-hero h1 { font-size: clamp(3.55rem, 6.25vw, 6rem); line-height: 1.015; letter-spacing: -.037em; }
.np-hero h1 span { display: block; }
.np-hero h1 span + span { margin-top: .04em; color: var(--np-amber); }
.np-hero-copy p { max-width: 33ch; margin-top: clamp(1.2rem, 2.45vw, 2rem); font-size: clamp(1.04rem, 1.65vw, 1.27rem); line-height: 1.52; color: #fff6e5; }
.np-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.65rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.np-button { display: inline-flex; align-items: center; gap: 1.15rem; min-height: 3.4rem; padding: .74rem 1.15rem; background: var(--np-cream); color: #354031; border-radius: 2px; text-decoration: none; font-weight: 700; transition: background-color .25s ease; }
.np-button:hover { background: var(--np-amber); }
.np-button:focus-visible { outline-color: var(--np-light); }
.np-hero-link { font-weight: 650; }
.np-hero-link:hover { color: var(--np-amber); }
.np-arrow { width: .94rem; height: .94rem; display: inline-block; position: relative; flex: none; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.np-arrow::before { content: ""; position: absolute; width: .72rem; height: 1.5px; background: currentColor; top: .43rem; left: .05rem; }
.np-arrow::after { content: ""; position: absolute; width: .42rem; height: .42rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); top: .27rem; right: .15rem; }
.np-arrow-down { transform: rotate(90deg); }
.np-button:hover .np-arrow-down { transform: translateY(3px) rotate(90deg); }
.np-hero-caption { position: absolute; bottom: 1rem; right: 0; color: #fff5e3; background: #273024; padding: .26rem .55rem; font-size: .78rem; }

.np-section { padding-block: clamp(3.8rem, 7.6vw, 7.4rem); scroll-margin-top: 1.25rem; }
.np-section-heading { display: flex; justify-content: space-between; align-items: end; gap: .85rem 2.5rem; border-bottom: 1px solid var(--np-rule); padding-bottom: 1.1rem; margin-bottom: clamp(1.55rem, 3.2vw, 2.8rem); }
.np-section-heading h2 { font-size: clamp(2.3rem, 4.45vw, 4.55rem); }
.np-section-heading p { max-width: 36ch; color: var(--np-muted); font-size: 1rem; padding-bottom: .09rem; }
.np-collections { display: grid; grid-template-columns: 1.18fr 1fr; align-items: start; gap: clamp(1.2rem, 3.35vw, 3.5rem); }
.np-collection { min-width: 0; background: var(--np-dark-clay); color: var(--np-light); overflow: hidden; border-radius: 12px; scroll-margin-top: 1.2rem; }
.np-collection:nth-child(2) { margin-top: clamp(1rem, 4vw, 4.25rem); background: #3a4838; }
.np-collection img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; background: var(--np-rule); }
.np-collection-copy { display: grid; grid-template-columns: minmax(max-content, .75fr) minmax(0, 1fr); align-items: baseline; gap: .5rem 1.5rem; padding: clamp(1.25rem, 2.45vw, 2.25rem); }
.np-collection h3 { font-size: clamp(1.9rem, 3.35vw, 3.5rem); }
.np-collection p { color: #f7e8d1; font-size: clamp(.98rem, 1.25vw, 1.1rem); }
.np-text-link { display: inline-flex; gap: .5rem; align-items: center; justify-self: start; color: var(--np-clay); font-weight: 700; }
.np-text-link:hover .np-arrow { transform: translateX(3px); }
.np-collection .np-text-link { margin-top: .6rem; color: var(--np-light); }

.np-ingredients { background: #e8e9db; }
.np-ingredients .np-section-heading { border-color: #afad98; }
.np-ingredient-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem clamp(1.1rem, 2.65vw, 2.45rem); }
.np-ingredient { border-bottom: 1px solid #afad98; padding-bottom: 1.25rem; }
.np-ingredient img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; background: #c1beab; border-radius: 6px; }
.np-ingredient h3 { font-size: clamp(1.45rem, 2.55vw, 2.55rem); margin-top: 1rem; }
.np-ingredient p { margin-top: .42rem; color: #535746; line-height: 1.5; }

.np-about { display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; }
.np-about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.1rem, 5.25vw, 5.75rem); color: var(--np-light); background: var(--np-dark-clay); border-radius: 12px 0 0 12px; }
.np-about h2 { max-width: 11.5ch; font-size: clamp(2.15rem, 4.15vw, 4.5rem); text-wrap: balance; }
.np-about p { max-width: 49ch; margin-top: 1.4rem; color: #fbead3; }
.np-about > img { width: 100%; height: 100%; min-height: 23rem; object-fit: cover; border-radius: 0 12px 12px 0; background: #9f7455; }
.np-products { padding-top: 0; }

.np-footer { color: var(--np-light); background: var(--np-olive); }
.np-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding-block: clamp(2rem, 4.1vw, 4rem); }
.np-footer-inner p { color: #f0e1c9; margin-top: .7rem; }
.np-footer-brand .np-brand-amp, .np-footer-brand .np-emblem { color: var(--np-amber); }
.np-footer-nav ul { gap: .7rem clamp(1.2rem, 3.4vw, 3rem); }
.np-footer-nav a { text-decoration: none; }
.np-footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-block: 1rem 1.3rem; border-top: 1px solid #66705b; }
.np-footer small { color: #e9dbc3; }

.np-page, .np-shop { padding-top: clamp(2.6rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 7rem); min-height: 56vh; }
.np-page h1, .np-shop h1 { font-size: clamp(2.5rem, 5vw, 5rem); text-wrap: balance; margin-bottom: .85em; }
.np-prose > :where(p, ul, ol, blockquote) { max-width: 71ch; margin-bottom: .9em; }
.np-prose > :where(h2, h3) { margin-top: 1.35em; margin-bottom: .45em; }
.np-prose + .np-prose { margin-top: 2.75rem; }
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a { color: var(--np-muted); }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 1.4rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-weight: 400; font-size: 1.38rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--np-dark-clay); font-variant-numeric: tabular-nums; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) { color: var(--np-light); background: var(--np-clay); border-radius: 0; border: 0; font-weight: 700; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover { color: var(--np-light); background: var(--np-dark-clay); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled],
.wc-block-components-button:not(.is-link):disabled { color: var(--np-ink); background: var(--np-rule); }
.woocommerce .quantity .qty, .woocommerce .input-text, .woocommerce select { background: var(--np-paper); border: 1px solid var(--np-rule); padding: .5rem .6rem; color: var(--np-ink); }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { background: var(--np-paper); color: var(--np-ink); border-top-color: var(--np-clay); }

@media (max-width: 1080px) {
  .np-collection-copy { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .np-header-inner { grid-template-columns: 1fr auto; column-gap: 1rem; }
  .np-header:has(.np-cart) .np-header-inner { grid-template-columns: 1fr auto auto; }
  .np-nav ul { gap: .25rem 1.4rem; }
  .np-hero-copy { width: min(37rem, 83%); }
  .np-hero::after { background: linear-gradient(90deg, rgba(20,25,18,.86), rgba(20,25,18,.65) 53%, rgba(20,25,18,.19)), linear-gradient(0deg, rgba(20,25,18,.31), transparent 25%); }
  .np-ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-about-copy { padding: 2.2rem; }
}

@media (max-width: 680px) {
  .np-header-inner, .np-header:has(.np-cart) .np-header-inner { grid-template-columns: 1fr auto; min-height: 0; padding-top: .9rem; }
  .np-nav { grid-column: 1 / -1; grid-row: 2; margin-top: .6rem; }
  .np-nav ul { gap: .15rem 1.3rem; }
  .np-nav a { font-size: .9rem; min-height: 2.45rem; }
  .np-utility-message, .np-languages a { font-size: .735rem; }
  .np-languages a { min-height: 2.25rem; }
  .np-utility-inner { min-height: 2.25rem; }
  .np-hero-layout { min-height: min(37rem, 132vw); padding-top: clamp(5.5rem, 17vw, 9rem); padding-bottom: 4.2rem; align-items: end; }
  .np-hero-copy { width: 100%; max-width: 29rem; }
  .np-hero h1 { font-size: clamp(2.75rem, 10.9vw, 4.75rem); }
  .np-hero-actions { gap: .65rem 1rem; }
  .np-hero-link { font-size: .94rem; }
  .np-hero-art img { object-position: 55% 44%; }
  .np-hero::after { background: linear-gradient(0deg, rgba(20,25,18,.93), rgba(20,25,18,.76) 47%, rgba(20,25,18,.39) 77%, rgba(20,25,18,.12)); }
  .np-hero-caption { bottom: .75rem; font-size: .71rem; }
  .np-section-heading { align-items: start; flex-direction: column; gap: .55rem; }
  .np-collections { grid-template-columns: 1fr; gap: 1.35rem; }
  .np-collection:nth-child(2) { margin-top: 0; }
  .np-collection img { aspect-ratio: 1.53; }
  .np-collection-copy { padding: 1.25rem; }
  .np-ingredient img { aspect-ratio: 1.15; }
  .np-ingredient p { font-size: .94rem; }
  .np-about { grid-template-columns: 1fr; }
  .np-about-copy { border-radius: 12px 12px 0 0; padding: 1.75rem; }
  .np-about > img { border-radius: 0 0 12px 12px; min-height: 0; aspect-ratio: 1.36; }
}

@media (max-width: 370px) {
  .np-utility-message, .np-languages a { font-size: .68rem; }
  .np-languages ul { gap: .5rem; }
  .np-nav ul { gap: .15rem 1.08rem; }
  .np-hero-actions { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .np-button, .np-arrow { transition: none; }
}

/* Journal and long-form articles */
.np-nav a[aria-current="page"] { color: var(--np-clay); text-decoration: underline; }
.np-cacao-guide-link { margin-top: .75rem; font-size: .94rem; }
.np-journal, .np-editorial { padding-block: clamp(1.8rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem); }
.np-journal-head { display: grid; gap: .9rem; padding-bottom: clamp(1.6rem, 4vw, 3rem); border-bottom: 1px solid var(--np-rule); }
.np-journal-head h1 { font-size: clamp(3.05rem, 7vw, 6.3rem); }
.np-journal-head p { max-width: 48ch; color: var(--np-muted); font-size: clamp(1.04rem, 2vw, 1.3rem); }
.np-journal-list { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: clamp(1.4rem, 3.5vw, 2.65rem); }
.np-journal-card { display: grid; grid-template-columns: 1.16fr 1fr; background: var(--np-paper); border: 1px solid var(--np-rule); border-radius: 12px; overflow: hidden; }
.np-journal-image img { display: block; width: 100%; height: 100%; min-height: 250px; max-height: 440px; object-fit: cover; }
.np-journal-card-copy { display: grid; gap: .95rem; align-content: center; padding: clamp(1.35rem, 4.25vw, 4.5rem); }
.np-journal-card-copy h2 { font-size: clamp(1.85rem, 3.5vw, 3.7rem); }
.np-journal-card-copy h2 a { text-decoration: none; }
.np-journal-card-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.np-journal-card-copy div { max-width: 43ch; color: var(--np-muted); }
.np-editorial-breadcrumbs { margin-bottom: 1.1rem; color: var(--np-muted); font-size: .88rem; }
.np-editorial-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .15rem .55rem; margin: 0; padding: 0; list-style: none; }
.np-editorial-breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--np-muted); }
.np-editorial-breadcrumbs a { display: inline-block; padding-block: .25rem; color: var(--np-clay); font-weight: 650; }
.np-post-language { font-size: .87rem; color: var(--np-muted); }
.np-editorial > .np-post-language { margin-bottom: .75rem; }
.np-editorial-head { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; color: var(--np-light); background: var(--np-olive); border-radius: 12px; }
.np-editorial-copy { display: grid; align-content: center; gap: clamp(.85rem, 1.8vw, 1.45rem); padding: clamp(1.4rem, 4.6vw, 4.6rem); }
.np-editorial-kicker { color: var(--np-clay); font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.np-editorial-copy .np-editorial-kicker { color: var(--np-amber); }
.np-editorial-head h1 { font-size: clamp(2.15rem, 4.25vw, 4.5rem); }
.np-editorial-dek { max-width: 38ch; color: #f2e6d4; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.np-editorial-byline { display: flex; flex-wrap: wrap; column-gap: .8rem; row-gap: .25rem; padding-top: .5rem; border-top: 1px solid #727b66; font-size: .85rem; }
.np-editorial-byline span { font-weight: 720; }
.np-editorial-cover img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center; }
.np-editorial-body, .np-editorial-end { width: min(100%, 50rem); margin-inline: auto; }
.np-editorial-body { font-size: clamp(1rem, 1.65vw, 1.12rem); line-height: 1.7; }
.np-editorial-body [id] { scroll-margin-top: 1.2rem; }
.np-editorial-body > h2 { margin: clamp(2.55rem, 5vw, 4.4rem) 0 .85rem; font-size: clamp(1.95rem, 4vw, 3.15rem); }
.np-editorial-body > p + p, .np-article-legend p + p { margin-top: .85rem; }
.np-editorial-body > p { max-width: 69ch; }
.np-cite { color: var(--np-clay); font-size: .82em; font-weight: 720; white-space: nowrap; }
.np-article-toc { margin-top: clamp(1.7rem, 4vw, 3rem); padding: 1.1rem clamp(1rem, 3.2vw, 2rem); border-block: 1px solid var(--np-rule); background: var(--np-paper); }
.np-article-toc p { color: var(--np-clay); font-weight: 750; }
.np-article-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.2rem; margin: .35rem 0 0; padding: 0 0 0 1.15rem; }
.np-article-toc a { display: inline-block; padding-block: .2rem; }
.np-article-figure { margin-block: 1.65rem 0; background: var(--np-paper); border: 1px solid var(--np-rule); border-radius: 10px; overflow: hidden; }
.np-article-figure img { display: block; width: 100%; height: auto; }
.np-article-figure figcaption { padding: clamp(.95rem, 3vw, 1.6rem); }
.np-article-figure figcaption > strong { display: block; margin-bottom: .85rem; font-size: 1.08em; }
.np-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.np-steps li { counter-increment: step; border-top: 1px solid var(--np-rule); padding-top: .6rem; }
.np-steps li::before { content: counter(step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-bottom: .45rem; border-radius: 50%; color: var(--np-light); background: var(--np-clay); font-size: .85rem; font-weight: 750; }
.np-steps strong, .np-steps span { display: block; }
.np-steps span { color: var(--np-muted); font-size: .92rem; line-height: 1.48; }
.np-comparison small { display: block; margin-top: .85rem; color: var(--np-muted); }
.np-article-legend, .np-article-recipe { margin-top: clamp(2.55rem, 5vw, 4.4rem); border-radius: 10px; overflow: hidden; }
.np-article-legend { background: #eadbc2; }
.np-article-legend img { display: block; width: 100%; }
.np-article-recipe h2 { margin-bottom: .75rem; font-size: clamp(1.78rem, 4vw, 2.7rem); }
.np-article-recipe { color: var(--np-light); background: var(--np-olive); }
.np-article-recipe ol { margin: .7rem 0 0; padding-left: 1.3rem; }
.np-article-recipe li + li { margin-top: .35rem; }
.np-article-faq { border-top: 1px solid var(--np-rule); }
.np-article-faq details { border-bottom: 1px solid var(--np-rule); }
.np-article-faq summary { padding: .8rem .1rem; font-weight: 730; cursor: pointer; }
.np-article-faq p { padding: 0 .2rem .9rem; }
.np-article-sources { margin-top: 2.6rem; padding-top: 1.25rem; border-top: 1px solid var(--np-rule); }
.np-article-sources h2 { font-size: 1.65rem; }
.np-article-sources ol { margin: .7rem 0; padding-left: 1.3rem; }
.np-article-sources li { padding: .2rem 0; }
.np-article-sources a { overflow-wrap: anywhere; color: var(--np-clay); }
.np-article-sources p { color: var(--np-muted); font-size: .85rem; }
.np-editorial-end { margin-top: 1.8rem; }

@media (max-width: 760px) {
  .np-editorial-head, .np-journal-card { grid-template-columns: 1fr; }
  .np-editorial-head h1 { font-size: clamp(2.15rem, 7.6vw, 3.3rem); }
  .np-editorial-cover img, .np-journal-image img { height: auto; min-height: 0; max-height: 390px; }
  .np-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .np-article-toc ul { grid-template-columns: 1fr; }
  .np-article-toc a { padding-block: .36rem; }
}

.np-editorial-body > .np-article-lead { margin-top: 2rem; font-size: clamp(1.1rem, 2vw, 1.26rem); }
.np-cacao-table { width: 100%; margin-top: 1.15rem; border-collapse: collapse; table-layout: fixed; background: var(--np-paper); font-size: .94rem; line-height: 1.45; }
.np-cacao-table caption { padding: .35rem 0 .6rem; text-align: left; font-weight: 720; }
.np-cacao-table th, .np-cacao-table td { padding: .65rem .6rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.np-cacao-table thead { color: var(--np-light); background: var(--np-olive); }
.np-cacao-table tbody tr { border-bottom: 1px solid var(--np-rule); }
.np-cacao-table tbody tr:nth-child(even) { background: #f1e8d8; }
.np-cacao-table th:first-child { width: 26%; }
.np-cacao-varieties th:last-child { width: 19%; }
.np-comparison .np-cacao-table { margin-top: 0; }
.np-table-note { margin-top: .7rem; color: var(--np-muted); font-size: .86rem; }
.np-article-subhead { margin: 1.6rem 0 .55rem; font-size: clamp(1.45rem, 3.3vw, 2rem); }
.np-legend-compact { display: grid; grid-template-columns: .68fr 1fr; align-items: center; margin-top: 1.35rem; }
.np-legend-compact img { height: 100%; min-height: 140px; object-fit: cover; }
.np-legend-compact p { padding: clamp(.9rem, 2.5vw, 1.35rem); font-size: .93em; }
.np-article-checklist { padding-left: 1.3em; }
.np-article-checklist li + li { margin-top: .55rem; }
.np-article-recipe > img { width: 100%; display: block; }
.np-recipe-copy { padding: clamp(1.15rem, 3.5vw, 2.15rem); }
.np-recipe-copy h3 { margin-top: 1.1rem; font-size: 1.35rem; }
.np-recipe-copy ul { margin: .55rem 0; padding-left: 1.3rem; }
.np-recipe-copy .np-recipe-facts { display: flex; flex-wrap: wrap; list-style: none; gap: .5rem 1rem; margin-block: 1.1rem; padding: .6rem 0; border-block: 1px solid #727b66; font-size: .87rem; }
.np-recipe-facts li + li { margin-top: 0; }
.np-author-bio { margin-top: 1.5rem; padding: 1rem 1.15rem; background: var(--np-paper); border-left: 3px solid var(--np-clay); }
.np-author-bio h2 { font-size: 1.35rem; margin-bottom: .3rem; }

@media (max-width: 530px) {
  .np-cacao-table { font-size: .79rem; }
  .np-cacao-table th, .np-cacao-table td { padding: .55rem .31rem; }
  .np-cacao-varieties th:last-child { width: 20%; }
  .np-legend-compact { grid-template-columns: 1fr; }
  .np-legend-compact img { max-height: 170px; }
}

.np-launch-cta { margin: 2.6rem 0; padding: clamp(1.15rem, 3.5vw, 2.15rem); border: 1px solid var(--np-rule); border-radius: 10px; background: #eadbc2; }
.np-launch-cta h2 { margin-bottom: .65rem; font-size: clamp(1.75rem, 4vw, 2.8rem); }
.np-launch-cta form { display: grid; gap: .55rem; margin-top: 1rem; }
.np-launch-cta input[type="email"] { width: min(100%, 25rem); min-height: 2.75rem; padding: .45rem .7rem; border: 1px solid var(--np-muted); border-radius: 4px; background: var(--np-paper); }
.np-launch-consent { display: flex; gap: .5rem; align-items: baseline; margin: .25rem 0; font-size: .9em; }
.np-launch-consent input { accent-color: var(--np-olive); }
.np-launch-cta button { width: fit-content; min-height: 2.8rem; padding: .55rem .9rem; border: 0; border-radius: 4px; color: var(--np-light); background: var(--np-olive); font-weight: 740; cursor: pointer; }
.np-launch-cta button:hover { background: var(--np-clay); }
.np-launch-notice { margin-top: .75rem; padding: .5rem .7rem; border-left: 3px solid var(--np-clay); background: var(--np-paper); }
.np-launch-privacy { margin-top: 1rem; color: var(--np-muted); font-size: .86rem; }
.np-launch-privacy summary { cursor: pointer; font-weight: 680; }
.np-launch-privacy p { margin-top: .55rem; overflow-wrap: anywhere; }
