.ch-pdp-page {
  background: var(--ch-paper);
}

.ch-pdp-hero {
  display: grid;
  gap: 18px 62px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  padding: 42px var(--ch-pad-page) 78px;
}

.ch-pdp-breadcrumb {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 10px;
  grid-column: 1 / -1;
  letter-spacing: 0.12em;
  margin: 0;
}

.ch-pdp-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 74px minmax(0, 1fr);
}

.ch-pdp-thumb-rail {
  display: grid;
  gap: 12px;
  grid-auto-rows: 74px;
}

.ch-pdp-thumb {
  background: var(--ch-surface);
  border: 1px solid var(--ch-hairline-2);
  overflow: hidden;
  padding: 0;
}

.ch-pdp-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ch-pdp-thumb:hover,
.ch-pdp-thumb--active,
.ch-pdp-thumb[aria-pressed="true"] {
  border-color: var(--ch-ink);
}

.ch-pdp-gallery-stage {
  display: grid;
}

.ch-pdp-gallery-stage .ch-pdp-media-frame {
  grid-area: 1 / 1;
}

.ch-pdp-media-frame {
  aspect-ratio: 1 / 1.08;
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, var(--ch-hairline) 9px 10px),
    var(--ch-mist);
}

.ch-pdp-media-frame:not(.ch-pdp-media-frame--active) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.ch-pdp-media-frame img,
.ch-pdp-related-media img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transform: none;
  width: 100%;
}

.ch-pdp-panel {
  align-self: center;
  display: grid;
  gap: 20px;
}

.ch-pdp-panel h1 {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: clamp(48px, 4.8vw, 72px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.ch-pdp-description,
.ch-pdp-related-copy p,
.ch-pdp-shipping-note {
  color: var(--ch-ink-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.ch-pdp-tier-block {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.ch-pdp-tier-grid {
  border: 1px solid var(--ch-hairline-2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ch-pdp-tier {
  align-content: center;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ch-hairline-2);
  color: var(--ch-ink-muted);
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px 10px;
  text-align: left;
}

.ch-pdp-tier:last-child {
  border-right: 0;
}

.ch-pdp-tier:hover,
.ch-pdp-tier--active,
.ch-pdp-tier[aria-pressed="true"],
.ch-pdp-tier:has(.ch-choice__input:checked) {
  background: var(--ch-ink);
  color: var(--ch-surface);
}

.ch-pdp-tier__label,
.ch-pdp-tier__price,
.ch-pdp-tier__discount {
  font-family: var(--ch-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ch-pdp-tier__range {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.ch-pdp-purchase-row {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
}

.ch-pdp-purchase-form {
  display: grid;
  gap: 18px;
}

.ch-pdp-quantity {
  min-height: 50px;
}

.ch-pdp-price-summary {
  align-content: center;
  display: grid;
  gap: 3px;
}

.ch-pdp-price-summary strong {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.ch-pdp-price-summary span,
.ch-pdp-shipping-note {
  font-family: var(--ch-mono);
  font-size: 10px;
}

.ch-pdp-add-button {
  margin-top: -4px;
}

.ch-pdp-quantity-error,
.ch-pdp-quote-note {
  font-family: var(--ch-mono);
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
}

.ch-pdp-quantity-error {
  color: var(--ch-state-danger);
}

.ch-pdp-quote-note {
  color: var(--ch-ink-muted);
  text-align: center;
}

.ch-pdp-quote-link {
  color: var(--ch-ink);
  margin-left: 4px;
}

.ch-pdp-shipping-note {
  border-bottom: 1px solid var(--ch-hairline);
  padding-bottom: 18px;
  text-align: center;
}

.ch-pdp-facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.ch-pdp-facts div {
  border-bottom: 1px solid var(--ch-hairline);
  border-top: 1px solid var(--ch-hairline);
  padding: 16px 0;
}

.ch-pdp-facts dt,
.ch-pdp-mobile-ingredients .ch-kicker {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ch-pdp-facts dd {
  color: var(--ch-ink-soft);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 180px;
}

.ch-pdp-mobile-ingredients {
  border-top: 1px solid var(--ch-hairline);
  padding: 28px 14px;
}

.ch-pdp-mobile-ingredients ol {
  display: grid;
  gap: 12px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-pdp-mobile-ingredients li {
  color: var(--ch-ink-soft);
  font-size: 13px;
}

.ch-pdp-mobile-ingredients span {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 10px;
  margin-right: 10px;
}

.ch-pdp-related {
  border-top: 1px solid var(--ch-hairline);
  padding: 72px var(--ch-pad-page);
}

.ch-pdp-related > .ch-kicker {
  margin-bottom: 38px;
}

.ch-pdp-related-card {
  align-items: center;
  background: var(--ch-paper-soft);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  padding: 36px;
}

.ch-pdp-related-media {
  aspect-ratio: 1.75 / 1;
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, var(--ch-hairline) 9px 10px),
    var(--ch-cream);
}

.ch-pdp-related-copy {
  display: grid;
  gap: 14px;
}

.ch-pdp-related-copy h2 {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.ch-pdp-editorial,
.ch-pdp-source,
.ch-pdp-specs,
.ch-pdp-faq {
  border-top: 1px solid var(--ch-hairline);
  padding: 84px var(--ch-pad-page);
}

.ch-pdp-section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 740px;
}

.ch-pdp-section-heading h2,
.ch-pdp-profile-panel h3 {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.ch-pdp-taste-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 48px;
}

.ch-pdp-note {
  background: var(--ch-surface);
  border: 1px solid var(--ch-hairline-2);
  display: grid;
  gap: 12px;
  min-height: 176px;
  padding: 24px;
}

.ch-pdp-note h2 {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.ch-pdp-note p:last-child,
.ch-pdp-source-card p,
.ch-pdp-spec-table td,
.ch-pdp-faq-item p {
  color: var(--ch-ink-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.ch-pdp-profile-panel {
  background: var(--ch-paper-soft);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  padding: 38px;
}

.ch-pdp-profile-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.ch-pdp-profile-row {
  align-items: center;
  border-bottom: 1px solid var(--ch-hairline);
  display: grid;
  gap: 24px;
  grid-template-columns: 120px 1fr;
  padding: 14px 0;
}

.ch-pdp-profile-row:first-child {
  border-top: 1px solid var(--ch-hairline);
}

.ch-pdp-profile-row dt,
.ch-pdp-spec-table th,
.ch-pdp-source-card__number,
.ch-pdp-source-card__place {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ch-pdp-profile-row dd {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 42px;
  margin: 0;
}

.ch-pdp-profile-row meter {
  appearance: none;
  background: transparent;
  height: 8px;
  width: 100%;
}

.ch-pdp-profile-row meter::-webkit-meter-bar {
  background: var(--ch-hairline);
  border: 0;
  border-radius: 0;
}

.ch-pdp-profile-row meter::-webkit-meter-optimum-value,
.ch-pdp-profile-row meter::-webkit-meter-suboptimum-value,
.ch-pdp-profile-row meter::-webkit-meter-even-less-good-value {
  background: var(--ch-forest);
}

.ch-pdp-profile-row meter::-moz-meter-bar {
  background: var(--ch-forest);
}

.ch-pdp-profile-row span {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 10px;
  text-align: right;
}

.ch-pdp-source-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ch-pdp-source-card {
  background: var(--ch-surface);
  border: 1px solid var(--ch-hairline-2);
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
}

.ch-pdp-source-card h3 {
  color: var(--ch-ink);
  font-family: var(--ch-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.ch-pdp-source-card__number,
.ch-pdp-source-card__place {
  margin: 0;
}

.ch-pdp-spec-table {
  border-collapse: collapse;
  width: 100%;
}

.ch-pdp-spec-table th,
.ch-pdp-spec-table td {
  border-bottom: 1px solid var(--ch-hairline);
  padding: 18px 0;
  text-align: left;
  vertical-align: top;
}

.ch-pdp-spec-table th {
  width: 32%;
}

.ch-pdp-faq-list {
  border-top: 1px solid var(--ch-hairline);
  display: grid;
}

.ch-pdp-faq-item {
  border-bottom: 1px solid var(--ch-hairline);
  padding: 0;
}

.ch-pdp-faq-item summary {
  align-items: center;
  color: var(--ch-ink);
  cursor: pointer;
  display: grid;
  font-family: var(--ch-display);
  font-size: 30px;
  font-weight: 400;
  gap: 24px;
  grid-template-columns: 1fr auto;
  line-height: 1.1;
  list-style: none;
  padding: 22px 0;
}

.ch-pdp-faq-item summary::-webkit-details-marker {
  display: none;
}

.ch-pdp-faq-item summary span:last-child {
  color: var(--ch-ink-muted);
  font-family: var(--ch-mono);
  font-size: 14px;
  transition: transform var(--ch-transition-fast);
}

.ch-pdp-faq-item[open] summary span:last-child {
  transform: rotate(45deg);
}

.ch-pdp-faq-item p {
  max-width: 680px;
  padding: 0 0 24px;
}

@media (max-width: 760px) {
  .ch-pdp-thumb-rail.ch-desktop-only {
    display: none;
  }

  .ch-pdp-hero {
    padding: 56px 18px;
  }

  .ch-pdp-hero,
  .ch-pdp-gallery,
  .ch-pdp-related-card {
    grid-template-columns: 1fr;
  }

  .ch-pdp-panel h1 {
    font-size: 38px;
  }

  .ch-pdp-hero {
    gap: 0;
    padding: 0;
  }

  .ch-pdp-gallery {
    background: var(--ch-mist);
  }

  .ch-pdp-media-frame {
    aspect-ratio: 1 / 1.23;
    border: 0;
  }

  .ch-pdp-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    padding: 12px 0;
  }

  .ch-pdp-dot {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    padding: 0;
    width: 24px;
  }

  .ch-pdp-dot::before {
    background: var(--ch-hairline-2);
    border-radius: inherit;
    content: "";
    height: 5px;
    width: 5px;
  }

  .ch-pdp-dot--active::before,
  .ch-pdp-dot[aria-selected="true"]::before {
    background: var(--ch-ink);
  }

  .ch-pdp-panel {
    gap: 16px;
    padding: 26px 14px 28px;
  }

  .ch-pdp-panel h1 {
    line-height: 1;
  }

  .ch-pdp-description {
    font-size: 13px;
  }

  .ch-pdp-tier-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ch-pdp-tier {
    gap: 4px;
    min-height: 54px;
    padding: 9px 8px;
    text-align: center;
  }

  .ch-pdp-tier__discount {
    letter-spacing: 0;
  }

  .ch-pdp-purchase-row {
    grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
  }

  .ch-pdp-price-summary {
    justify-items: end;
    text-align: right;
  }

  .ch-pdp-price-summary strong {
    font-size: 23px;
  }

  .ch-pdp-shipping-note {
    padding-bottom: 18px;
  }

  .ch-pdp-facts {
    grid-template-columns: 1fr;
  }

  .ch-pdp-facts div {
    border-top: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: 70px 1fr;
    padding: 14px 0;
  }

  .ch-pdp-facts dd {
    max-width: none;
  }

  .ch-pdp-mobile-tasting {
    border-top: 1px solid var(--ch-hairline);
    padding: 28px 14px 0;
  }

  .ch-pdp-mobile-tasting .ch-kicker {
    margin-bottom: 16px;
  }

  .ch-pdp-note-stack {
    display: grid;
    gap: 10px;
  }

  .ch-pdp-note {
    min-height: 0;
    padding: 18px;
  }

  .ch-pdp-note h2 {
    font-size: 24px;
  }

  .ch-pdp-related {
    padding: 36px 14px;
  }

  .ch-pdp-related > .ch-kicker {
    margin-bottom: 18px;
  }

  .ch-pdp-related-card {
    background: var(--ch-surface);
    border: 1px solid var(--ch-hairline-2);
    gap: 0;
    padding: 0;
  }

  .ch-pdp-related-media {
    aspect-ratio: 1.58 / 1;
  }

  .ch-pdp-related-copy {
    gap: 10px;
    padding: 18px;
  }

  .ch-pdp-related-copy h2 {
    font-size: 27px;
  }
}
