.tasting-gallery [hidden] { display: none; }
.tasting-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.7rem);
}
.tasting-tabs {
  display: flex;
  align-items: stretch;
  gap: .25rem;
  width: fit-content;
  max-width: 100%;
  padding: .22rem;
  background: #edeadf;
  border: 1px solid #d5d2c5;
  border-radius: 3rem;
}
.tasting-tabs button {
  border: none;
  border-radius: 3rem;
  padding: .75rem clamp(.85rem, 1.5vw, 1.55rem);
  color: var(--green);
  background: transparent;
  font-size: .93rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.tasting-tabs button[aria-selected="true"] { background: var(--green); color: var(--paper); }
.tasting-tabs button:hover:not([aria-selected="true"]) { background: #e3e1d5; }
.tasting-panel {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #efece0;
}
.tasting-biscoff { background: #f3e8d7; }
.tasting-panel + .tasting-panel:not([hidden]) { margin-top: 1.4rem; }
.tasting-panel[hidden] + .tasting-panel { margin-top: 0; }
.tasting-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #ddcbb4;
}
.tasting-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
  transform-origin: 49% 62%;
}
.tasting-biscoff img { transform-origin: 53% 69%; }
.tasting-photo.is-close-up img { transform: scale(1.65); }
.tasting-zoom {
  position: absolute;
  z-index: 1;
  bottom: 1.1rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  border: 1px solid #f8f4e0;
  border-radius: 4rem;
  background: var(--paper);
  padding: .55rem .95rem;
  color: var(--green);
  font-size: .87rem;
  line-height: 1.2;
  font-weight: 550;
}
.tasting-zoom:hover { background: white; }
.is-close-up .zoom-plus { display: none; }
.tasting-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.7rem, 3.7vw, 4.5rem);
}
.tasting-copy h3 {
  margin: 0 0 .85rem;
  color: var(--green);
  font-size: clamp(2.6rem, 4vw, 4.7rem);
  line-height: .97;
  letter-spacing: -.057em;
}
.tasting-copy h3 em { color: #814830; }
.tasting-intro {
  margin: 0;
  color: #405047;
  line-height: 1.63;
  letter-spacing: -.01em;
  max-width: 34ch;
}
.tasting-notes {
  width: 100%;
  margin: clamp(1.2rem, 2vw, 2.05rem) 0;
  color: var(--green);
}
.tasting-notes div {
  display: grid;
  grid-template-columns: minmax(3.5rem, .36fr) 1fr;
  align-items: baseline;
  gap: .75rem;
  padding-block: .74rem;
  border-top: 1px solid #c9c9b8;
}
.tasting-notes div:last-child { border-bottom: 1px solid #c9c9b8; }
.tasting-notes dt {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.tasting-notes dd {
  margin: 0;
  font: italic clamp(1.1rem, 1.48vw, 1.45rem)/1.22 var(--serif);
  letter-spacing: -.025em;
}
.tasting-purchase {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 1.6rem clamp(1.7rem, 3.7vw, 4.5rem) 2rem;
  border-top: 1px solid #d5d2c5;
}
.package-options {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  width: 100%;
}
.package-options legend {
  padding: 0;
  margin: 0 0 .55rem;
  font-size: .93rem;
  font-weight: 600;
}
.package-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.package-choices label { position: relative; cursor: pointer; min-width: 0; }
.package-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.package-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem .4rem;
  height: 100%;
  padding: .5rem .65rem .65rem;
  border: 1px solid #bcbfae;
  border-radius: .48rem;
  background: #fbf8ef;
  color: var(--green);
  font-size: .95rem;
  font-weight: 500;
}
.package-choice > img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: .24rem; }
.package-label { display: block; min-width: 0; }
.package-label small { display: block; margin-top: .2rem; color: #506055; font-size: .875rem; font-weight: 400; }
.package-choice::after {
  content: "";
  width: .75rem;
  height: .75rem;
  flex: none;
  border: 1px solid #78887a;
  border-radius: 50%;
}
.package-choices input:checked + .package-choice { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.package-choices input:checked + .package-choice::after { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 2px #fbf8ef; }
.package-choices input:focus-visible + .package-choice { outline: 3px solid #b95b33; outline-offset: 3px; }
.tasting-add { min-height: 2.9rem; }
.tasting-add svg { flex-shrink: 0; }
@media (max-width: 1100px) {
  .tasting-purchase { grid-template-columns: minmax(0, 1fr); }
  .tasting-add { justify-self: start; }
}
@media (min-width: 721px) {
  .tasting-photo { aspect-ratio: auto; min-height: clamp(26rem, 32vw, 40rem); }
}
@media (max-width: 720px) {
  .tasting-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .tasting-panel { grid-template-columns: 1fr; }
  .tasting-photo { aspect-ratio: 4 / 3; }
  .tasting-copy { padding: 1.6rem clamp(1.1rem, 5vw, 2rem) 2rem; }
  .tasting-notes { margin-block: 1.25rem; }
  .tasting-zoom { bottom: .75rem; left: .75rem; }
  .tasting-purchase { padding: 1.5rem clamp(1.1rem, 5vw, 2rem) 2rem; }
  .package-choices { grid-template-columns: 1fr; }
  .package-choice { grid-template-columns: 6rem minmax(0, 1fr) auto; gap: .8rem; }
  .package-choice > img { grid-column: auto; }
}
