
.collection-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.88) 0%,
    rgba(250, 248, 244, 0.55) 22%,
    transparent 42%,
    transparent 78%,
    rgba(26, 26, 26, 0.06) 100%
  );
  pointer-events: none;
}

.collection-card__cover-title {
  color: var(--title-color, var(--ink));
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
}

.product__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.6rem;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.16);
}

.product__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.88) 0%,
    rgba(250, 248, 244, 0.5) 24%,
    transparent 45%,
    transparent 100%
  );
}

.product__cover .collection-card__brand,
.product__cover .collection-card__cover-title {
  position: relative;
  z-index: 1;
}

.product__cover .collection-card__cover-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.product__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.product__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product__price {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.product__specs {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}

.product__blurb {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.product__bag,
.product__buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.9rem 1.4rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
}

.product__bag {
  margin-right: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
}

.product__buy-btn {
  margin-bottom: 0.6rem;
  color: var(--white);
  background: var(--brand);
  border: 1.5px solid var(--brand);
}

.product__buy-btn:hover {
  background: var(--brand-hover);
}

.product__buy-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.product__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.toc {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 8vw, 5.5rem);
}

.toc__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.toc__list li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 1.02rem;
}

.toc__num {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-weight: 600;
}

.download {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter);
  text-align: center;
}

.download__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.download__lead {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.download__cover {
  position: relative;
  width: min(260px, 70%);
  aspect-ratio: 3 / 4;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.16);
}

.download__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.88) 0%,
    rgba(250, 248, 244, 0.5) 24%,
    transparent 45%,
    transparent 100%
  );
}

.download__cover span {
  position: relative;
  z-index: 1;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.book-save-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  background: rgba(250, 248, 244, 0.96);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.06);
  backdrop-filter: blur(8px);
}

.book-save-bar__text {
  flex: 1 1 16rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.book-save-bar__btn {
  flex-shrink: 0;
}

.book-hero,
.book-toc,
.recipe {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.book-hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 2rem;
}

.book-hero__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
}

.book-hero__meta {
  color: var(--ink-muted);
}

.book-toc {
  padding-bottom: 2.5rem;
}

.book-toc h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
}

.book-toc ol {
  padding-left: 0;
  list-style: none;
  columns: 2;
  gap: 1.5rem;
}

.book-toc a {
  display: flex;
  gap: 0.6rem;
  padding: 0.35rem 0;
  color: var(--ink);
}

.book-toc a span {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.recipe {
  padding: 2.5rem var(--gutter);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.recipe__index {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.recipe__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 500;
}

.recipe__meta {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.recipe__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
}

.recipe h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.recipe__ings {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe__ings li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.95rem;
}

.recipe__note {
  max-width: 52ch;
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--brand);
  font-size: 0.95rem;
  color: var(--ink-muted);
  background: rgba(232, 118, 10, 0.06);
  border-radius: 0 6px 6px 0;
}

.recipe__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.recipe__step {
  padding: 0 0 1.15rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.recipe__step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.recipe__step-num {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.recipe__steps p {
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}

.bag-page__title {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 1rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
}

.bag-list {
  max-width: var(--page-max);
  margin: 0 auto 4rem;
  padding: 0 var(--gutter);
  list-style: none;
}

.bag-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.bag-row__cover {
  width: 72px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bag-row__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.bag-row__meta {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.bag-row__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bag-row__actions .product__buy-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}

.bag-row__remove {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.bag-row__remove:hover {
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.28);
  background: rgba(26, 26, 26, 0.04);
}

.bag-row__remove:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.bag-row__remove svg {
  width: 1rem;
  height: 1rem;
}

.bundle-includes {
  max-width: var(--page-max);
  margin: 0 auto 4rem;
  padding: 0 var(--gutter) 2rem;
}

.bundle-includes__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.bundle-includes__link {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.bundle-includes__link:hover {
  background: rgba(232, 118, 10, 0.06);
}

.bundle-includes__cover {
  width: 56px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.bundle-includes__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.bundle-includes__detail {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.bundle-download__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}

.bundle-download__item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.bundle-download__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.bundle-download__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.faq-item__answer a {
  color: var(--brand);
  font-weight: 500;
}

.empty-note {
  max-width: var(--page-max);
  margin: 2rem auto 4rem;
  padding: 0 var(--gutter);
}

@media (max-width: 800px) {
  .product,
  .recipe__grid {
    grid-template-columns: 1fr;
  }

  .book-toc ol {
    columns: 1;
  }

  .product__cover {
    max-width: 280px;
  }
}

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .bag,
  .book-save-bar {
    display: none !important;
  }

  .recipe {
    break-inside: avoid;
  }
}