.product-detail-taste-page {
  --pdt-shell: min(1180px, calc(100vw - 96px));
  background: var(--page);
}

.pdt-shell {
  width: var(--pdt-shell);
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

.pdt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  height: clamp(620px, calc(100vh - var(--header-height)), 760px);
  background: var(--paper);
}

.pdt-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e5e6e1;
  border: 0;
  cursor: zoom-in;
}

.pdt-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.pdt-visual > span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 8px 12px;
  color: #f7f7f2;
  background: rgba(13, 45, 33, 0.76);
  font-size: 11px;
}

.pdt-visual.is-disabled,
.pdt-hero.no-product-image .pdt-visual {
  cursor: default;
}

.pdt-hero.no-product-image .pdt-visual {
  background: var(--green-deep);
}

.pdt-hero.no-product-image .pdt-visual::before {
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 24px;
  content: "SHUQUAN TEA";
  transform: translate(-50%, -50%);
}

.pdt-hero.no-product-image .pdt-visual > span {
  display: none;
}

.pdt-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(36px, 4vw, 62px);
}

.pdt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.pdt-category {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.pdt-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.04;
}

.pdt-summary {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pdt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.pdt-tags span {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(168, 125, 53, 0.5);
  font-size: 12px;
}

.pdt-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.pdt-facts div {
  display: grid;
  grid-template-columns: 1fr;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.pdt-facts div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.pdt-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.pdt-facts dd {
  margin: 0;
  font-size: 13px;
}

.pdt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}

.pdt-actions a {
  font-size: 13px;
}

.pdt-preview {
  padding: 112px 0 132px;
}

.pdt-preview-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  width: var(--pdt-shell);
  margin: 0 auto 42px;
  gap: 48px;
}

.pdt-preview-head h2,
.pdt-section-copy h2,
.pdt-understand h2,
.pdt-consult h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
}

.pdt-preview-head p {
  max-width: 420px;
  margin: 0 0 4px auto;
  color: var(--muted);
}

.pdt-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pdt-preview-grid:empty::before {
  grid-column: 1 / -1;
  width: var(--pdt-shell);
  margin-inline: auto;
  padding-block: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  content: "当前以主图与文字资料为准。";
}

.pdt-preview-grid button {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #e5e6e1;
  border: 0;
  cursor: zoom-in;
}

.pdt-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdt-preview-grid span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: #fff;
  font-size: 11px;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.pdt-understand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 126px;
  border-top: 1px solid var(--line);
  gap: 80px;
}

.pdt-understand > div > p {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
}

.pdt-understand > p {
  max-width: 580px;
  margin: 58px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.pdt-tasting {
  padding-block: 126px;
  color: #eef0ea;
  background: var(--green-deep);
}

.pdt-tasting .pdt-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 110px;
}

.pdt-section-copy p {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--muted);
}

.pdt-tasting .pdt-section-copy p {
  color: rgba(238, 240, 234, 0.68);
}

.pdt-tasting-list {
  border-top: 1px solid rgba(238, 240, 234, 0.22);
}

.tasting-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 24px 0;
  border-bottom: 1px solid rgba(238, 240, 234, 0.22);
  gap: 22px;
}

.tasting-stage > span {
  color: var(--gold);
  font-size: 12px;
}

.tasting-stage strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.tasting-stage p {
  margin: 8px 0 0;
  color: rgba(238, 240, 234, 0.68);
  font-size: 14px;
}

.pdt-image-notes {
  padding-block: 126px;
  background: var(--paper);
}

.detail-image-notes {
  display: grid;
  gap: 108px;
}

.image-note-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  width: var(--pdt-shell);
  margin: 0 auto 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.image-note-head span {
  color: var(--gold);
  font-size: 11px;
}

.image-note-head strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.image-note-product-grid,
.image-note-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.image-note-card,
.image-note-scene {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.image-note-card img,
.image-note-scene img {
  width: 100%;
  height: auto;
}

.image-note-card > span,
.image-note-scene > span {
  display: block;
  padding: 14px 20px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.pdt-fit {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  padding-block: 126px;
  gap: 110px;
}

.pdt-fit-grid {
  border-top: 1px solid var(--line);
}

.info-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}

.info-card strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pdt-consult {
  padding-block: 112px;
  color: #eef0ea;
  background: var(--green-deep);
}

.pdt-consult .pdt-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 70px;
}

.pdt-consult p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(238, 240, 234, 0.68);
}

.pdt-consult .pdt-shell > div:last-child {
  display: flex;
  gap: 28px;
}

.pdt-consult a {
  white-space: nowrap;
}

body.media-viewer-open {
  overflow: hidden;
}

.pdt-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  padding: 34px;
  color: #fff;
  background: rgba(7, 18, 13, 0.97);
}

.pdt-viewer figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  height: min(78vh, 840px);
  margin: auto;
}

.pdt-viewer figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdt-viewer figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  font-size: 12px;
}

.pdt-viewer-close,
.pdt-viewer-nav {
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.pdt-viewer-nav {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.pdt-viewer-close {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 10px;
  font-size: 30px;
  line-height: 1;
}

.pdt-viewer-thumbs {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
  overflow-x: auto;
}

.pdt-viewer-thumbs button {
  flex: 0 0 72px;
  aspect-ratio: 4 / 3;
  padding: 0;
  opacity: 0.48;
  background: #1c2c24;
  border: 1px solid transparent;
}

.pdt-viewer-thumbs button.active {
  opacity: 1;
  border-color: #fff;
}

.pdt-viewer-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 920px) {
  .product-detail-taste-page {
    --pdt-shell: min(100% - 48px, 760px);
  }

  .pdt-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .pdt-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .pdt-copy {
    padding: 62px 24px 82px;
  }

  .pdt-tasting .pdt-shell,
  .pdt-fit,
  .pdt-consult .pdt-shell {
    grid-template-columns: 1fr;
    gap: 58px;
  }
}

@media (max-width: 760px) {
  .product-detail-taste-page {
    --pdt-shell: calc(100% - 40px);
  }

  .pdt-visual {
    width: 100vw;
  }

  .pdt-visual > span {
    right: 12px;
    bottom: 12px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .pdt-copy h1 {
    font-size: 49px;
  }

  .pdt-summary {
    font-size: 16px;
  }

  .pdt-breadcrumb {
    margin-bottom: 34px;
  }

  .pdt-facts div {
    grid-template-columns: 108px 1fr;
    gap: 16px;
  }

  .pdt-facts {
    display: block;
  }

  .pdt-facts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .pdt-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pdt-preview {
    padding: 90px 0 106px;
  }

  .pdt-preview-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pdt-preview-head h2,
  .pdt-section-copy h2,
  .pdt-understand h2,
  .pdt-consult h2 {
    font-size: 42px;
  }

  .pdt-preview-head p {
    margin-left: 0;
  }

  .pdt-preview-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pdt-preview-grid button {
    width: 100vw;
  }

  .pdt-understand {
    grid-template-columns: 1fr;
    padding-block: 96px;
    gap: 28px;
  }

  .pdt-understand > p {
    margin-top: 0;
    font-size: 16px;
  }

  .pdt-tasting,
  .pdt-fit,
  .pdt-consult {
    padding-block: 96px;
  }

  .pdt-image-notes {
    padding-block: 96px;
  }

  .detail-image-notes {
    gap: 84px;
  }

  .image-note-head {
    grid-template-columns: 100px 1fr;
  }

  .image-note-product-grid,
  .image-note-scene-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .image-note-card,
  .image-note-scene {
    width: 100vw;
  }

  .image-note-card > span,
  .image-note-scene > span {
    padding-inline: 20px;
  }

  .info-card {
    grid-template-columns: 92px 1fr;
    gap: 18px;
  }

  .pdt-consult .pdt-shell > div:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .pdt-viewer {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 64px 0 18px;
  }

  .pdt-viewer figure {
    width: 100%;
    height: min(72vh, 680px);
  }

  .pdt-viewer figcaption {
    padding: 12px 16px 0;
  }

  .pdt-viewer-thumbs {
    justify-content: flex-start;
    padding-inline: 12px;
  }
}
