/* Collection and product pages */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font: 400 0.75rem/1.4 var(--mono); text-transform: uppercase; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- collection ---------- */
.chero { padding-block: 40px 28px; background: var(--fog); }
.chero__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-top: 28px; }
.chero__title { font-size: clamp(2.54rem, 6.24vw, 6.24rem); line-height: 0.88; letter-spacing: -0.015em; }
.chero__sum { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); max-width: 40em; }
.chero__icon { width: clamp(96px, 14vw, 200px); height: auto; }
.chips { display: flex; gap: 8px; margin-top: 32px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; border-radius: var(--r); background: var(--paper); white-space: nowrap; font-size: 0.9375rem; font-weight: 500; border: 1px solid transparent; transition: border-color 200ms ease, background-color 200ms ease; }
.chip img { width: 28px; height: 28px; }
.chip span { font: 400 0.75rem/1 var(--mono); color: var(--ink-2); }
.chip.is-on { background: var(--navy); color: #fff; }
.chip.is-on img { filter: brightness(0) invert(1); }
.chip.is-on span { color: rgba(255, 255, 255, 0.7); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { border-color: var(--navy); } }

.tools { position: sticky; top: calc(var(--nav-h) - 20px); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--mist); transition: top 300ms var(--ease); }
.nav.is-scrolled ~ main .tools, body:has(.nav.is-scrolled) .tools { top: 76px; }
.tools__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 12px; }
.field { position: relative; display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--mist); border-radius: var(--r); background: var(--paper); }
.field select { appearance: none; border: 0; background: transparent; font: inherit; font-size: 0.9375rem; color: var(--ink); padding: 0 38px 0 14px; min-height: 42px; cursor: pointer; max-width: 230px; }
.field > .ic { position: absolute; right: 12px; pointer-events: none; }
.field--search { flex: 1 1 240px; padding-left: 12px; gap: 8px; }
.field--search > .ic { position: static; }
.field--search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 0.9375rem; color: var(--ink); min-height: 42px; outline: none; }
.field:focus-within { border-color: var(--navy); }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; font-size: 0.9375rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 40px; height: 24px; border-radius: 12px; background: var(--mist); position: relative; transition: background-color 200ms ease; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: translate 240ms var(--ease); }
.switch input:checked + .switch__ui { background: var(--navy); }
.switch input:checked + .switch__ui::after { translate: 16px 0; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.tools__count { margin-left: auto; font-size: 0.8125rem; color: var(--ink-2); }

.cbody { padding-bottom: 64px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; padding-top: 32px; }
.empty { padding: 64px 0; font-size: 1.125rem; }
.more { display: flex; justify-content: center; padding-top: 48px; }
.faqsec { border-top: 1px solid var(--mist); padding-top: 120px; }
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 88px); }
.faq__list details { border-top: 1px solid var(--mist); interpolate-size: allow-keywords; }
.faq__list details:last-child { border-bottom: 1px solid var(--mist); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus { transition: rotate 260ms var(--ease); }
.faq__list details[open] .faq__plus { rotate: 45deg; }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size 380ms var(--ease), content-visibility 380ms allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
.faq__list p { padding-bottom: 22px; color: var(--ink-2); max-width: 46em; }

/* ---------- product ---------- */
.pdp { padding-block: 32px 72px; }
.pdp__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 88px); margin-top: 24px; align-items: start; }
.stage-col { position: sticky; top: calc(var(--nav-h) + 24px); }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--fog); overflow: hidden; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, #fff 0%, rgba(255, 255, 255, 0) 70%); }
.stage__img { position: relative; width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.stage__img--logo { width: 46%; opacity: 0.5; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 72px; height: 72px; border-radius: var(--r); background: var(--fog); border: 1px solid transparent; display: grid; place-items: center; }
.thumb img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.thumb.is-on { border-color: var(--navy); }
.buy { display: flex; flex-direction: column; gap: 0; padding-top: 8px; }
.buy__maker { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; align-self: start; }
.buy__title { margin-top: 14px; font-size: clamp(2.15rem, 3.59vw, 3.71rem); line-height: 0.92; letter-spacing: -0.015em; }
.buy__size { margin-top: 12px; color: var(--ink-2); font-size: 0.875rem; }
.buy__price { display: flex; align-items: center; gap: 16px; margin-top: 28px; font: 400 2.25rem/1 var(--mono); letter-spacing: -0.015em; }
.buy__price [data-price] { display: inline-block; transition: filter 200ms ease, opacity 200ms ease; }
.buy__price .is-blur { filter: blur(4px); opacity: 0.4; }
.buy__stock { font: 400 0.75rem/1 var(--mono); text-transform: uppercase; padding: 7px 10px; border-radius: var(--r); background: var(--fog); letter-spacing: 0; }
.buy__stock.is-in { background: #e3efe6; color: #1f5a33; }
.pills { border: 0; padding: 0; margin: 28px 0 0; }
.pills legend { margin-bottom: 10px; color: var(--ink-2); }
.pills__row { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--fog); border-radius: calc(var(--r) + 2px); width: max-content; max-width: 100%; }
.pill { position: relative; z-index: 1; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: color 250ms ease; }
.pill input:checked + span { color: #fff; }
.pill input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.pill input:focus-visible + span { outline: 2px solid var(--gold); }
.pills__thumb { position: absolute; top: 4px; left: 0; height: 40px; width: 0; background: var(--navy); border-radius: var(--r); transition: translate 420ms var(--ease), width 420ms var(--ease); }
.buy__row { display: flex; gap: 10px; margin-top: 24px; }
.buy__row .qty { height: 56px; }
.buy__row .qty__btn { height: 54px; width: 46px; }
.buy__add { flex: 1; min-height: 56px; justify-content: space-between; font-size: 1rem; }
.buy__add.is-added { background: var(--gold); color: var(--navy); }
.soldout { margin-top: 24px; padding: 16px; background: var(--fog); border-radius: var(--r); }
.buy__desc { margin-top: 36px; color: var(--ink-2); }
.buy__desc p + p, .buy__desc ul, .buy__desc h4 { margin-top: 12px; }
.buy__desc h4 { color: var(--ink); font-weight: 500; }
.buy__desc ul { padding-left: 18px; list-style: disc; }
.facts { margin-top: 32px; border-top: 1px solid var(--mist); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 0.9375rem; }
.facts dt { font: 400 0.75rem/1.6 var(--mono); text-transform: uppercase; color: var(--ink-2); }
.facts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.buybar { position: fixed; left: 10px; right: 10px; bottom: 20px; z-index: 50; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 24px; padding: 12px 12px 12px 22px; border: 1px solid var(--navy); border-radius: calc(var(--r) * 2); background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 32px rgba(0, 37, 61, 0.14); transform: translateY(calc(100% + 32px)); opacity: 0; transition: transform 420ms cubic-bezier(0.32, 0.72, 0, 1), opacity 300ms ease; }
.buybar.is-on { transform: none; opacity: 1; }
.buybar__name { flex: 1; min-width: 0; font-weight: 500; font-size: 1.0625rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar__price { font-size: 1.125rem; white-space: nowrap; }
.buybar__btn { min-height: 48px; padding: 0 28px; background: var(--gold); color: var(--navy); border: 1px solid var(--navy); box-shadow: 0 4px 0 var(--navy); margin-bottom: 4px; }
.buybar__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
@media (hover: hover) and (pointer: fine) { .buybar__btn:hover { background: #ecb84f; } }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .tools { top: calc(var(--nav-h) - 8px); }
  body:has(.nav.is-scrolled) .tools { top: 68px; }
  .faq { grid-template-columns: 1fr; }
  .pdp__grid { grid-template-columns: 1fr; }
  .stage-col { position: static; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .tools__in { gap: 8px; }
  .field--search { flex-basis: 100%; }
  .field select { max-width: 150px; font-size: 0.875rem; padding-left: 10px; }
  .tools__count { margin-left: auto; }
  .card__add { padding: 0 10px; }
  .card__row { flex-wrap: wrap; gap: 8px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .buybar { bottom: 10px; gap: 16px; padding-left: 16px; }
  .buybar__name { display: none; }
  .buybar__price { font-size: 1.375rem; }
  .buybar__btn { flex: 1; max-width: 190px; margin-left: auto; }
  .chero__icon { width: 84px; }
}

/* ---------- product: labels, tasting notes, maker ---------- */
.stage__badges { position: absolute; top: 14px; right: 14px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.stage__badges li { font: 400 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; padding: 8px 10px; border: 1px solid var(--navy); border-radius: var(--r); background: var(--paper); color: var(--navy); }
.stage__badges li:first-child { background: var(--navy); color: #fff; }
.notes { margin-top: 32px; padding: 20px; border: 1px solid var(--mist); border-radius: var(--r); }
.notes__h { color: var(--ink-2); }
.notes__list { display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 16px 12px; margin-top: 16px; }
.notes__list li { flex: 0 1 72px; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.875rem; }
.notes__ic { width: 48px; height: 48px; stroke: var(--navy); stroke-width: 1.2; }
.notes__fill { fill: var(--c); stroke: none; }  /* color under every outline, so no fill covers a line drawn earlier */
.mkr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.mkr--solo .mkr__grid { grid-template-columns: minmax(0, 760px); }
.mkr__info { min-width: 0; }
.mkr__line { margin-top: 20px; font-size: 1.125rem; line-height: 1.55; max-width: 34em; color: rgba(255, 255, 255, 0.85); }
.mkr__facts { margin-top: 28px; border-color: rgba(255, 255, 255, 0.2); }
.mkr .facts div { border-color: rgba(255, 255, 255, 0.2); }
.mkr .facts dt { color: rgba(255, 255, 255, 0.65); }
.mkr__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.mkr__ctas .btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; padding-block: 12px; }
.mkr__shelf { min-width: 0; }
.mkr__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mkr__rail.rail { grid-auto-columns: calc((100% - 16px) / 2); }
.mkr__ctrl { margin-top: 16px; justify-content: flex-end; }
.mkr__ctrl button { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
@media (hover: hover) and (pointer: fine) { .mkr__ctrl button:hover { background: #fff; color: var(--navy); } }
.mkr .card { background: #fff; color: var(--navy); border-radius: var(--r); padding: 8px 8px 14px; }
.mkr .card__body { padding: 0 6px; }
@media (max-width: 960px) { .mkr__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .stage__badges { top: 10px; right: 10px; } .stage__badges li { font-size: 0.6875rem; padding: 6px 8px; } }
