/* Collection pages. Builds on styles.css tokens. */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-2); }
.crumbs i { font-size: 12px; }
.chead { padding-top: 48px; padding-bottom: 40px; }
.chead__h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: 1.08; letter-spacing: -0.025em; margin-top: 16px; max-width: 28ch;  /* two lines on desktop (Guido 10-29) */ text-wrap: balance; }
.chead__sum { margin-top: 20px; font-size: 1.1875rem; max-width: 60ch; color: var(--ink-2); }

/* olive pages: tasting notes and pairings under the heading */
.ointro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 56px; }
.ointro__cell { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--bg-2); }
.ointro__cell--pairs { background: var(--accent); }
.ointro .pnotes, .ointro .ppairs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.ointro li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.875rem; font-weight: 600; min-width: 72px; }
.ointro .ico { width: 64px; height: 64px; }
@media (max-width: 760px) { .ointro { grid-template-columns: 1fr; } }


/* sticky filters */
.filters { position: sticky; top: var(--nav-h); z-index: 30; overflow-x: clip; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.filters__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 12px; }
.filters .chips button { height: 40px; padding-inline: 16px; }
.sel select { height: 40px; border-radius: 999px; border: 0; background-color: var(--bg-2); padding: 0 36px 0 16px; font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--ink); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23171715' stroke-width='1.6' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.filters__count { margin-left: auto; font-size: 0.9375rem; color: var(--ink-2); }
.filters__count span { color: var(--ink); font-weight: 600; }
.cbody { padding-bottom: 40px; }
.cbody .pgrid { margin-top: 32px; }


.sibs { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sib { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: clip; display: flex; align-items: flex-end; isolation: isolate; color: var(--on-dark); }
.sib img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.sib::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,12,.8), rgba(14,14,12,0) 60%); }
.sib span { padding: 22px; font-family: var(--serif); font-weight: 600; font-size: 1.75rem; }
@media (hover: hover) and (pointer: fine) { .sib:hover img { scale: 1.04; } }
.cfaq .faq { margin-top: 24px; padding-top: clamp(96px, 12vw, 160px); }

@media (max-width: 760px) {
  .filters__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .filters__in::-webkit-scrollbar { display: none; }
  .filters .chips { flex-wrap: nowrap; flex: none; }
  .filters .chips button { white-space: nowrap; }
  .sel { flex: none; }
  .filters__count { margin-left: 0; flex: none; white-space: nowrap; }
  .sibs { grid-template-columns: 1fr; }
}
