/* PDP Hearth — pojedynczy produkt, zestawy i dodatki. Zmienne z theme.css. */

.icon-check,
.icon-x {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
}

.icon-check circle {
  fill: var(--gold-2);
}

.icon-check path {
  stroke: var(--soot);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-x circle {
  fill: var(--line);
}

.icon-x path {
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.breadcrumb {
  padding: 1.1rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.crumb-sep {
  margin: 0 0.4rem;
  color: var(--line);
}

.product-hero {
  padding: 1.6rem 0 3.6rem;
}

.product-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-main:hover img,
.gallery-main:focus-visible img {
  transform: scale(1.02);
}

.gallery-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgb(26 22 18 / 72%);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-main:hover .gallery-zoom-hint,
.gallery-main:focus-visible .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumbs button.is-active {
  border-color: var(--gold);
}

.buybox {
  position: sticky;
  top: calc(var(--header) + 1.2rem);
}

.buybox-kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  background: var(--gold-2);
  color: var(--soot);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
}

.buybox h1 {
  max-width: none;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.buybox-tagline {
  margin: 0.45rem 0 0;
  color: var(--soot);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 46ch;
}

.buybox-sub {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.buybox-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
  margin: 1.2rem 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.buybox-stats div {
  min-width: 5.5rem;
}

.buybox-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.buybox-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

.value-list {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.96rem;
}

.buybox-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 0.3rem;
}

.buybox-price strong {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 600;
}

.buybox-save {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: var(--amber);
  font-weight: 650;
}

.buybox-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.buybox-link {
  text-align: center;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  color: var(--muted);
}

.buybox-trust {
  margin-top: 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
  list-style: none;
}

.buybox-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.7rem 5vw;
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-bar-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-bar-title strong {
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-title span {
  font-size: 0.82rem;
  color: var(--muted);
}

.sticky-bar .btn {
  flex-shrink: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.content-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.content-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.content-card-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card .vol-tag {
  align-self: flex-start;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.content-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.content-card .pages {
  margin: 0 0 0.7rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.content-card details {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.content-card summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink);
}

.content-card details ul {
  margin: 0.55rem 0 0;
  padding: 0 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.content-card details ul li {
  margin-bottom: 0.3rem;
}

.content-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.content-card-foot button {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15rem;
  cursor: pointer;
  padding: 0;
  font-size: 0.82rem;
}

.included-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--amber);
}

.compare-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--paper);
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.compare-table thead th {
  font-family: var(--serif);
  font-weight: 600;
  background: var(--bg);
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.compare-table tr.is-total td,
.compare-table tr.is-total th {
  border-bottom: none;
  font-weight: 700;
}

.compare-table tr.is-total {
  background: var(--cream);
}

.compare-table tr.is-total .now {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.fit-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
}

.fit-card.is-yes {
  background: var(--paper);
}

.fit-card.is-no {
  background: var(--bg);
}

.fit-card h3 {
  margin-bottom: 0.9rem;
}

.fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.fit-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.fit-card a {
  color: var(--amber);
  font-weight: 650;
}

.pdp-fit {
  background: var(--soot);
  color: var(--cream);
  padding: 4.6rem 0;
}

.pdp-fit .eyebrow {
  color: var(--gold-2);
}

.pdp-fit h2 {
  color: var(--cream);
  max-width: 16ch;
}

.pdp-fit-lede {
  margin: 0.85rem 0 0;
  max-width: 42ch;
  color: rgb(246 238 220 / 74%);
}

.pdp-fit .fit-grid {
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid rgb(246 238 220 / 14%);
}

.pdp-fit .fit-card,
.pdp-fit .fit-card.is-yes,
.pdp-fit .fit-card.is-no {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 1.8rem 2.4rem 0.4rem 0;
}

.pdp-fit .fit-card.is-no {
  padding: 1.8rem 0 0.4rem 2.4rem;
  border-left: 1px solid rgb(246 238 220 / 14%);
}

.pdp-fit .fit-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.pdp-fit .fit-card h3 {
  margin: 0 0 1.1rem;
  color: var(--cream);
  font-size: 1.45rem;
}

.pdp-fit .fit-card li {
  color: rgb(246 238 220 / 78%);
  font-size: 1.02rem;
  line-height: 1.45;
}

.pdp-fit .fit-card a {
  color: var(--gold-2);
  text-underline-offset: 0.18rem;
}

.pdp-fit .icon-check circle {
  fill: var(--gold-2);
}

.pdp-fit .icon-check path {
  stroke: var(--soot);
}

.pdp-fit .icon-x circle {
  fill: rgb(246 238 220 / 8%);
  stroke: rgb(246 238 220 / 28%);
  stroke-width: 1;
}

.pdp-fit .icon-x path {
  stroke: rgb(246 238 220 / 72%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.trust-card {
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.trust-card strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.crosssell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

a.crosssell-card,
.crosssell-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease;
}

.crosssell-card:hover {
  border-color: var(--gold);
}

.crosssell-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: var(--soot);
}

.crosssell-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}

.crosssell-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.crosssell-card h3 {
  font-size: 1.28rem;
  margin: 0 0 0.4rem;
}

.crosssell-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.crosssell-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.crosssell-price strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.crosssell-price span {
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 650;
}

.crosssell-bundle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--soot);
  color: var(--cream);
  text-decoration: none;
}

.crosssell-bundle-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.crosssell-bundle-copy strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.crosssell-bundle-copy span {
  font-size: 0.9rem;
  color: rgb(246 238 220 / 72%);
}

.crosssell-bundle-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
}

.crosssell-bundle-price strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.crosssell-bundle-price s {
  color: rgb(246 238 220 / 45%);
  font-size: 0.92rem;
}

.crosssell-bundle-cta {
  padding: 0.55rem 0.9rem;
  background: var(--gold-2);
  color: var(--soot);
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
}

.toc-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.toc-list li {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.toc-num {
  font-family: var(--serif);
  color: var(--amber);
  font-weight: 600;
  font-size: 1.05rem;
  min-width: 2.1rem;
  flex-shrink: 0;
}

.toc-body {
  flex: 1;
}

.toc-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.toc-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toc-page {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  padding-left: 1rem;
  flex-shrink: 0;
}

/* Spis treści — karty (PDP ebook) */
.pdp-toc-section .pdp-toc-head {
  max-width: 44rem;
}

.pdp-toc-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.pdp-toc-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pdp-toc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.45rem 1rem;
  padding: 1.15rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pdp-toc-card__num {
  grid-row: 1 / 3;
  align-self: start;
  width: 2.55rem;
  height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--amber) 14%, var(--paper));
  font-family: var(--serif);
  font-weight: 600;
  color: var(--amber);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.pdp-toc-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.pdp-toc-card__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.25;
}

.pdp-toc-card__page {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}

.pdp-toc-card__text {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.series-note {
  margin: 1.1rem 0 1.4rem;
  padding: 0.85rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.series-note strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-weight: 600;
}

.series-note a {
  color: var(--amber);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

@media (max-width: 980px) {
  .product-hero .wrap {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .buybox {
    position: static;
  }

  .content-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit-grid,
  .crosssell-grid {
    grid-template-columns: 1fr;
  }

  .pdp-fit .fit-card,
  .pdp-fit .fit-card.is-yes,
  .pdp-fit .fit-card.is-no {
    padding: 1.5rem 0 0.2rem;
    border-left: 0;
  }

  .pdp-fit .fit-card.is-no {
    border-top: 1px solid rgb(246 238 220 / 14%);
  }

  .crosssell-bundle {
    grid-template-columns: 1fr auto;
  }

  .crosssell-bundle-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 640px) {
  .content-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .sticky-bar-title span {
    display: none;
  }

  .compare-table td,
  .compare-table th {
    padding: 0.7rem 0.8rem;
  }

  .toc-list li {
    flex-wrap: wrap;
  }

  .toc-page {
    margin-left: 2.1rem;
    padding-left: 0;
  }

  .pdp-toc-grid {
    grid-template-columns: 1fr;
  }

  .pdp-toc-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .crosssell-bundle {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

.pdp-lede-wide {
  max-width: 62ch;
}

.pdp-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: start;
}

.pdp-story-copy p {
  color: var(--muted);
  max-width: 58ch;
}

.pdp-story-copy p.section-lede {
  color: var(--ink);
}

.pdp-aside {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 58ch;
}

.pdp-quote {
  margin: 0;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pdp-quote p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
  font-style: italic;
  margin: 0 0 0.9rem;
}

.pdp-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

.pdp-quote-inline {
  margin-top: 1.6rem;
  max-width: 62ch;
}

.pdp-curve-wrap {
  margin-top: 1.6rem;
}

.pdp-curve-table td:not(:first-child),
.pdp-curve-table th:not(:first-child) {
  text-align: left;
  white-space: normal;
}

.pdp-curve-stage,
.pdp-curve-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 650;
}

.pdp-footnote {
  margin: 1rem 0 0;
  max-width: 70ch;
  font-size: 0.88rem;
  color: var(--muted);
}

.recipe-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
  margin-top: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.recipe-ings-wrap {
  min-width: 0;
  padding: 1.35rem 0 0.5rem;
}

.recipe-ings-wrap > .recipe-label {
  margin: 0 1.5rem 0.35rem;
}

.recipe-ings {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recipe-ings li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.2rem;
  row-gap: 0.2rem;
  align-items: baseline;
  padding: 0.95rem 1.5rem;
  border-top: 1px solid var(--line);
}

.recipe-name {
  font-weight: 650;
}

.recipe-amt {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.recipe-hint {
  grid-column: 1 / -1;
  font-size: 0.86rem;
  color: var(--muted);
}

.recipe-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.recipe-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.recipe-side-value,
.recipe-eq {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}

.recipe-eq {
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--muted);
}

.recipe-ex {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.recipe-mix {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .recipe-card {
    grid-template-columns: 1fr;
  }

  .recipe-side {
    border-left: 0;
    border-top: 3px solid var(--gold);
  }
}

.pdp-includes,
.pdp-mistakes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pdp-includes article,
.pdp-mistakes article {
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pdp-includes h3,
.pdp-mistakes h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.pdp-includes p,
.pdp-mistakes p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pdp-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pdp-process article {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.pdp-process img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pdp-process-num {
  display: block;
  padding: 0.95rem 1.1rem 0;
  font-family: var(--serif);
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pdp-process h3 {
  padding: 0.2rem 1.1rem 0;
  font-size: 1.08rem;
}

.pdp-process p {
  padding: 0.35rem 1.1rem 1.15rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .pdp-story,
  .pdp-includes,
  .pdp-mistakes,
  .pdp-process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pdp-story,
  .pdp-includes,
  .pdp-mistakes,
  .pdp-process {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
body.pdp-lightbox-open {
  overflow: hidden;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.pdp-lightbox[hidden] {
  display: none !important;
}

.pdp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 8 6 / 88%);
  backdrop-filter: blur(6px);
}

.pdp-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1120px);
  max-height: 96vh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 0.75rem;
  padding: 0.5rem;
}

.pdp-lightbox-stage {
  margin: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pdp-lightbox-img {
  max-width: 100%;
  max-height: min(72vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
  cursor: zoom-in;
  transition: transform 0.25s ease;
  user-select: none;
}

.pdp-lightbox.is-zoomed .pdp-lightbox-img {
  cursor: zoom-out;
  transform: scale(1.75);
}

.pdp-lightbox-close,
.pdp-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(246 238 220 / 12%);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pdp-lightbox-close:hover,
.pdp-lightbox-nav:hover {
  background: rgb(246 238 220 / 22%);
}

.pdp-lightbox-close {
  top: 0.35rem;
  right: 0.35rem;
}

.pdp-lightbox-nav.is-prev {
  top: 50%;
  left: 0.2rem;
  transform: translateY(-50%);
}

.pdp-lightbox-nav.is-next {
  top: 50%;
  right: 0.2rem;
  transform: translateY(-50%);
}

.pdp-lightbox-counter {
  margin: 0;
  text-align: center;
  color: rgb(246 238 220 / 78%);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdp-lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0 2.5rem;
}

.pdp-lightbox-thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.pdp-lightbox-thumbs button.is-active,
.pdp-lightbox-thumbs button:hover {
  opacity: 1;
  border-color: var(--gold);
}

.pdp-lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-lightbox-hint {
  margin: 0;
  text-align: center;
  color: rgb(246 238 220 / 48%);
  font-size: 0.72rem;
}

@media (max-width: 640px) {
  .pdp-lightbox-nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .pdp-lightbox-hint {
    display: none;
  }

  .gallery-zoom-hint span:not(svg) {
    display: none;
  }
}

/* Editable long-form product body (hearth.product.*.body) */

.pdp-body {
  display: grid;
  gap: 2.4rem;
}

.pdp-body .pdp-kicker,
.pdp-body .pdp-intro .pdp-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.pdp-body .pdp-intro h2,
.pdp-body .pdp-included h2,
.pdp-body .pdp-toc h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 0.75rem;
}

.pdp-body .pdp-intro p,
.pdp-body .pdp-split p,
.pdp-body .pdp-included p {
  color: var(--muted);
  line-height: 1.65;
}

.pdp-body .pdp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.pdp-body .pdp-split__copy,
.pdp-body .pdp-split__media {
  min-width: 0;
}

.pdp-body .pdp-split__media {
  margin: 0;
}

.pdp-body .pdp-split--reverse .pdp-split__copy {
  order: 2;
}

.pdp-body .pdp-split--reverse .pdp-split__media {
  order: 1;
}

.pdp-body .pdp-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.pdp-body .pdp-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pdp-body .pdp-toc-grid,
.pdp-body .pdp-included__grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pdp-body .pdp-included__grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.pdp-body .pdp-included__card,
.pdp-body .pdp-toc-grid li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pdp-body .pdp-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 0;
}

.pdp-body .pdp-spec {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pdp-body .pdp-spec dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pdp-body .pdp-spec dd {
  margin: 0.25rem 0 0;
  font-weight: 650;
}

@media (max-width: 800px) {
  .pdp-body .pdp-split {
    grid-template-columns: 1fr;
  }

  .pdp-body .pdp-split--reverse .pdp-split__copy,
  .pdp-body .pdp-split--reverse .pdp-split__media {
    order: unset;
  }
}
