.taste-section {
  padding-block: clamp(2rem, 4vw, 3.8rem);
}
.taste-list,
.taste-items {
  display: grid;
  gap: clamp(.8rem, 2vw, 1.4rem);
}
.taste-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.taste-items {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.taste-card,
.taste-panel,
.taste-item > div {
  padding: clamp(1rem, 2.6vw, 1.6rem);
}
.taste-card,
.taste-item,
.taste-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}
.taste-card {
  display: grid;
  align-content: start;
  gap: .55rem;
}
.taste-card:hover {
  border-color: var(--olive);
}
.taste-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
  border-radius: .45rem;
}
.taste-shell h2 {
  margin: 0 0 .6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.taste-shell .taste-card h2,
.taste-card p {
  margin: 0;
}
.taste-item h3 {
  margin: 0 0 .4rem;
}
.taste-panel > :last-child {
  margin-bottom: 0;
}
.taste-back {
  margin-bottom: .8rem;
}
.taste-copy {
  white-space: pre-wrap;
}
.taste-empty {
  max-width: 49rem;
}
.taste-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .9rem;
  margin-top: 1.15rem;
}
.taste-order {
  display: grid;
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1.35rem;
}
.taste-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.taste-order .field {
  min-width: 0;
}
.taste-order .field :is(input, select) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
}
.taste-item .field input {
  max-width: 7rem;
}
.taste-consent {
  display: flex;
  gap: .55rem;
  align-items: start;
  margin-block: .9rem;
}
.taste-consent input {
  flex: 0 0 auto;
  margin-top: .3em;
}
.taste-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  padding-block: .8rem;
  border-top: 1px solid var(--line);
  margin-top: .95rem;
}
.taste-order .btn:disabled {
  opacity: .6;
  cursor: wait;
}
.taste-shell [hidden],
#taste-status:empty {
  display: none;
}
#taste-status {
  margin-top: .75rem;
}
.taste-error {
  color: #8d392c;
}
@media (min-width: 850px) {
  .taste-order:has(.taste-panel) {
    grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr);
  }
}

.section.taste-detail-section {
  --gift-ink: #293b28;
  --gift-accent: #793e34;
  --gift-line: #dcded1;
  --gift-muted: #555f50;
  padding-block: clamp(1rem, 2.3vw, 2rem) clamp(2.5rem, 6vw, 5.5rem);
  color: var(--gift-ink);
}
.taste-detail-section .taste-shell { width: min(90%, 75rem); max-width: none; padding-inline: 0; }
.taste-crumb { margin: 0 0 clamp(.95rem, 2vw, 1.7rem); }
.taste-crumb a, .taste-guide-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gift-muted);
  font: inherit;
  font-size: .88rem;
  text-decoration: none;
}
.taste-crumb a:hover, .taste-guide-link:hover { color: var(--gift-accent); }
.taste-product { display: grid; grid-template-columns: minmax(0, 1.09fr) minmax(0, .91fr); align-items: start; gap: clamp(2rem, 4.8vw, 4.6rem); margin: 0; }
.taste-product.taste-text-product { display: block; max-width: 46rem; margin-inline: auto; }
.taste-media { min-width: 0; margin: 0; }
.taste-stage, .taste-lightbox-stage { position: relative; min-height: 0; min-width: 0; }
.taste-main-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 1.12; padding: 0;
  overflow: hidden; border: 0; border-radius: .9rem; background: #e6e5d8; cursor: zoom-in;
  touch-action: pan-y pinch-zoom;
}
.taste-main-photo .taste-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.taste-main-photo.show-entire .taste-photo { object-fit: contain; }
.taste-enlarge, .taste-guide-image span {
  display: inline-flex; align-items: center; gap: .43rem; position: absolute;
  bottom: .85rem; right: .85rem; padding: .36rem .75rem; border-radius: 2rem;
  background: #fffdf5f5; color: var(--gift-ink);
  font-family: inherit; font-size: .76rem; font-weight: 600; line-height: 1.65;
}
.taste-enlarge i { display: block; position: relative; width: .7rem; height: .7rem; border: 1.5px solid currentColor; border-radius: 100%; margin-right: .12rem; }
.taste-enlarge i::after { content: ""; position: absolute; width: .38rem; height: 1.5px; background: currentColor; right: -.29rem; bottom: -.11rem; transform: rotate(45deg); }
.taste-arrow, .taste-view-close {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  padding: 0; background: #fffdf5f5; color: #293b28; cursor: pointer; line-height: 1;
}
.taste-arrow { position: absolute; top: 50%; transform: translateY(-50%); box-shadow: 0 1px 8px #17201126; }
.taste-arrow[data-photo-step="-1"] { left: .75rem; }
.taste-arrow[data-photo-step="1"] { right: .75rem; }
.taste-arrow span { width: .57rem; height: .57rem; border: solid currentColor; border-width: 1.65px 1.65px 0 0; transform: translateX(-15%) rotate(45deg); }
.taste-arrow[data-photo-step="-1"] span { transform: translateX(15%) rotate(-135deg); }
.taste-arrow:hover, .taste-view-close:hover { background: #fff; color: #813f36; }
.taste-thumbs { display: flex; align-items: center; gap: .5rem; overflow-x: auto; padding: .22rem; scrollbar-width: thin; }
.taste-media > .taste-thumbs { margin: .6rem -.22rem 0; }
.taste-thumb {
  flex: 0 0 auto; width: clamp(3.1rem, 5vw, 4.35rem); aspect-ratio: 1; padding: 2px;
  border: 1.5px solid transparent; border-radius: .43rem; background: transparent; cursor: pointer;
}
.taste-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: .24rem; }
.taste-thumb[aria-current="true"] { border-color: var(--gift-ink); }
.taste-thumb:hover { border-color: #89947c; }
.taste-caption { display: flex; justify-content: space-between; gap: .65rem; padding-top: .4rem; color: var(--gift-muted); font-size: .8rem; }
.taste-caption [data-main-count] { font-variant-numeric: tabular-nums; }
.taste-buy { min-width: 0; align-self: start; }
.taste-availability { display: flex; align-items: center; gap: .5rem; margin: 0 0 .65rem; color: var(--gift-muted); font-size: .82rem; font-weight: 600; }
.taste-availability::before { content: ""; width: .45rem; height: .45rem; flex: none; border-radius: 100%; background: #8d746b; }
.taste-availability.is-open::before { background: #557344; }
.taste-product h1 { margin: 0; color: var(--gift-ink); font-size: clamp(2.25rem, 3.65vw, 3.45rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.taste-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .85rem; margin: .9rem 0 .85rem; }
.taste-price strong { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 600; color: var(--gift-accent); line-height: 1.15; letter-spacing: -.04em; }
.taste-price span { color: var(--gift-muted); font-size: .94rem; }
.taste-intro, .taste-guide-groups p { line-height: 1.7; }
.taste-intro { margin: .6rem 0 .28rem; font-size: 1rem; white-space: pre-line; }
.taste-guide-link { background: none; border: 0; padding: .32rem 0; border-bottom: 1px solid #949f85; color: #435a39; cursor: pointer; font-weight: 600; }
.taste-quantity { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; }
.taste-buy > .taste-quantity { border-top: 1px solid var(--gift-line); margin-top: 1.1rem; }
.taste-quantity label, .taste-order-fields .field { color: var(--gift-ink); font-size: .9rem; font-weight: 600; }
.taste-stepper { display: inline-flex; align-items: center; border: 1px solid #b9bfac; border-radius: .45rem; background: #fffefa; }
.taste-stepper button, .taste-stepper input {
  padding: 0; min-width: 0; height: 2.65rem; border: 0; border-radius: .4rem;
  background: transparent; color: var(--gift-ink); text-align: center; font: inherit;
}
.taste-stepper button { width: 2.75rem; font-size: 1.25rem; cursor: pointer; }
.taste-stepper button:disabled { color: #9b9f92; cursor: default; }
.taste-stepper input { width: 2.55rem; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.taste-stepper input::-webkit-inner-spin-button, .taste-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.taste-order-fields { border-top: 1px solid var(--gift-line); padding-top: .93rem; }
.taste-pickup-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: .65rem; }
.taste-shell .taste-pickup-heading h2, .taste-contact legend { margin: 0; font: inherit; font-size: 1.1rem; font-weight: 650; }
.taste-pickup-heading span { color: var(--gift-muted); font-size: .9rem; }
.taste-field-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.4rem), 1fr)); gap: .65rem .85rem; }
.taste-order-fields .field { display: grid; gap: .3rem; margin: 0; min-width: 0; }
.taste-order-fields .field :is(input, select) {
  width: 100%; min-width: 0; max-width: 100%; min-height: 2.8rem; margin: 0; padding: .55rem .65rem;
  border: 1px solid #b5bdab; border-radius: .4rem; background-color: #fffefa; color: var(--gift-ink); font: inherit; font-weight: 400;
}
.taste-order-fields #taste-pickup, .taste-order-fields #taste-member-info { color: var(--gift-muted); font-size: .83rem; line-height: 1.5; margin: .6rem 0 .9rem; }
.taste-order-fields .btn {
  display: flex; justify-content: space-between; gap: .7rem; align-items: center; width: 100%; min-height: 3.1rem; padding: .7rem 1.15rem;
  border: 1px solid #374f31; border-radius: .45rem; background: #3c5536; color: #fffefa; cursor: pointer;
}
.taste-order-fields .btn:hover { background: #2c4428; }
.taste-order-fields .btn:disabled { opacity: .65; cursor: wait; }
.taste-order-message { margin: .7rem 0 0; }
.taste-order-message:empty { display: none; }
.taste-order-fields .btn :is(output,span) { color: inherit; font-weight: 500; }
.taste-contact { padding: 0; margin: 1rem 0 0; border: 0; min-width: 0; }
.taste-contact legend { padding: 0 0 .6rem; }
.taste-contact > .field { margin-top: .75rem; }
.taste-contact .taste-consent { font-size: .85rem; line-height: 1.55; }
.taste-contact input { scroll-margin-top: 8rem; }
.taste-options { margin: 1rem 0; }
.taste-options article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--gift-line); }
.taste-options h3, .taste-options p { margin: 0 0 .35rem; }
.taste-options .taste-quantity { flex-direction: column; gap: .3rem; padding: 0; }
.taste-guide { margin-top: clamp(2.5rem, 5vw, 4.8rem); padding-top: clamp(1.4rem, 3vw, 2.4rem); border-top: 1px solid #bdc5b2; }
.taste-shell .taste-guide > h2 { margin: 0 0 clamp(1.2rem, 2.5vw, 2rem); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.25; scroll-margin-top: 7.5rem; letter-spacing: -.025em; }
.taste-guide-body { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.55fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.taste-guide-body:not(:has(.taste-guide-image)) { grid-template-columns: 1fr; }
.taste-guide-image { display: block; position: relative; padding: 0; border: 0; border-radius: .6rem; background: #dedcc9; overflow: hidden; cursor: zoom-in; }
.taste-guide-image img { display: block; width: 100%; height: auto; }
.taste-guide-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.8rem); }
.taste-guide-groups section { padding-top: .85rem; border-top: 1px solid var(--gift-line); }
.taste-guide-groups h3 { margin: 0 0 .55rem; font-size: clamp(1.18rem, 1.75vw, 1.52rem); line-height: 1.35; }
.taste-guide-groups p { margin: 0 0 .6rem; font-size: .95rem; }
.taste-guide-groups .taste-flavours { margin-bottom: 0; color: var(--gift-muted); font-size: .85rem; }
.taste-lightbox {
  box-sizing: border-box; position: fixed; inset: 0; margin: auto; padding: .8rem 1rem;
  width: min(95vw, 66rem); height: min(93dvh, 56rem); max-width: none; max-height: none;
  border: 1px solid #59634e; border-radius: .85rem; background: #20291e; color: #fffdf2; overscroll-behavior: contain;
}
.taste-lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: .6rem; }
.taste-lightbox:not([open]) { display: none; }
.taste-lightbox::backdrop { background: #152014cf; }
html:has(.taste-lightbox[open]) { overflow: hidden; }
.taste-lightbox-bar, .taste-lightbox-bar > div, .taste-lightbox-foot { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.taste-lightbox-bar, .taste-lightbox-foot { justify-content: space-between; }
.taste-lightbox [data-view-count] { flex-shrink: 0; color: #d2dccb; font-size: .82rem; font-variant-numeric: tabular-nums; }
.taste-shell .taste-lightbox h2 { margin: 0; color: inherit; font: inherit; font-size: 1.05rem; font-weight: 550; }
.taste-lightbox .taste-view-close { font-size: 1.65rem; flex-shrink: 0; }
.taste-pan { width: 100%; height: 100%; overflow: hidden; background: #141b13; border-radius: .35rem; touch-action: pan-y pinch-zoom; }
.taste-pan img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.taste-pan.is-enlarged { overflow: auto; touch-action: pan-x pan-y pinch-zoom; }
.taste-lightbox .taste-thumb { width: 3.2rem; }
.taste-lightbox .taste-thumb[aria-current="true"] { border-color: #fff8dd; }
.taste-zoom { flex: none; padding: .45rem .85rem; min-height: 2.75rem; border: 1px solid #919c86; border-radius: 2rem; background: transparent; color: #fffdf2; font: inherit; font-size: .85rem; cursor: pointer; }
.taste-detail-section :is(button, a, input, select):focus-visible { outline: 3px solid #926743; outline-offset: 2px; }
.taste-lightbox :is(button, a):focus-visible { outline-color: #edd8ab; }
.taste-mobile-dock { display: none; }
@media (max-width: 800px) {
  .taste-detail-section .taste-shell { width: min(92%, 39rem); }
  .taste-product { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .taste-main-photo { aspect-ratio: 1.24; }
  .taste-thumb { width: clamp(2.8rem, 11.6vw, 3.5rem); }
  .taste-guide-body { display: flex; flex-direction: column-reverse; gap: 1.3rem; }
  .taste-guide-image { width: min(100%, 22rem); }
  .taste-guide-groups { column-gap: 1.3rem; }
  .taste-order-fields .field :is(input,select) { font-size: 16px; }
  .taste-mobile-dock:not([hidden]) {
    position: fixed; z-index: 12; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .55rem max(4vw,calc((100vw - 39rem)/2)) max(.55rem,env(safe-area-inset-bottom));
    border-top: 1px solid var(--gift-line); background: #fbfaf3; color: var(--gift-muted); font-size: .83rem;
  }
  .taste-mobile-dock strong { margin-left: .25rem; color: var(--gift-accent); font-size: 1.2rem; }
  .taste-mobile-dock button { padding: .65rem 1rem; min-height: 44px; color: white; border: 0; border-radius: .4rem; background: #3c5536; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
  .taste-lightbox[open] ~ .taste-mobile-dock { display: none; }
}
@media (max-width: 540px) {
  .taste-crumb { margin-bottom: .75rem; }
  .taste-main-photo { border-radius: .65rem; }
  .taste-stage .taste-arrow { width: 2.75rem; height: 2.75rem; }
  .taste-stage .taste-arrow[data-photo-step="-1"] { left: .4rem; }
  .taste-stage .taste-arrow[data-photo-step="1"] { right: .4rem; }
  .taste-product h1 { font-size: clamp(2.1rem, 8.7vw, 2.7rem); }
  .taste-price { margin: .7rem 0; }
  .taste-guide-groups { grid-template-columns: 1fr; gap: 1.05rem; }
  .taste-lightbox { width: 100%; height: 100dvh; border: 0; border-radius: 0; padding: max(.65rem,env(safe-area-inset-top)) .6rem max(.65rem,env(safe-area-inset-bottom)); }
  .taste-lightbox-foot { gap: .3rem; }
  .taste-lightbox .taste-thumbs { gap: .2rem; }
  .taste-lightbox .taste-thumb { width: 2.75rem; }
  .taste-zoom { padding-inline: .6rem; }
}

