/* The gallery and its product brief share one spread on wide screens. */
.yuanrong .yr-product {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.88fr);
  grid-template-areas: "gallery intro" "gallery purchase";
  gap: 0 clamp(36px, 6.5vw, 104px);
  padding-block: clamp(36px, 4.8vw, 74px);
  align-items: start;
}
.yr-gallery {
  grid-area: gallery;
  align-self: center;
  min-width: 0;
}
.yr-stage {
  background: #f0ede7;
}
.yr-stage img {
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  object-fit: contain;
}
.yr-gallery-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 14px;
}
.yr-gallery-foot small {
  color: #575b54;
}
.yr-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yr-thumbs a {
  display: block;
  width: clamp(48px, 4.6vw, 70px);
  padding: 3px;
  border: 1px solid transparent;
}
.yr-thumbs a[aria-current="true"] {
  border-color: #584c55;
}
.yr-thumbs a:hover {
  background: #e6e1db;
}
.yr-thumbs img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}
.yr-intro {
  grid-area: intro;
  align-self: end;
}
.yr-crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #63615b;
}
.yr-crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yuanrong .yr-intro h1 {
  font-size: clamp(42px, 5vw, 80px) !important;
  line-height: 1.1 !important;
  margin: clamp(20px, 2.1vw, 33px) 0 16px;
}
.yr-intro h1 span {
  display: block;
  margin-top: 8px;
  font: 400 clamp(21px, 2vw, 32px) / 1.3 var(--type-display-font);
  letter-spacing: 0.03em;
}
.yr-intro p,
.yr-section-copy p {
  max-width: 34em;
  color: #495349;
}
.yr-purchase {
  grid-area: purchase;
  align-self: start;
}
.yr-facts {
  margin-block: 20px !important;
  border-top: 1px solid #64695f;
}
.yr-facts > div {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.yr-facts dt,
.yr-notes dt {
  font-size: 14px;
}
.yr-ingredient-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
  font-size: 14px;
}
.yuanrong #ingredients {
  border-top: 0;
}
.yuanrong .yr-botanical {
  background: #eae4e9;
}
.yr-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
}
.yr-detail-photo img,
.yr-use img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.yr-botanical h2 {
  margin-bottom: clamp(18px, 2vw, 32px);
}
.yr-scent {
  padding-bottom: 16px;
}
.yr-notes div {
  border-top: 1px solid #b7afb4;
  padding-block: 16px;
  display: grid;
  grid-template-columns: 5.2em 1fr;
  gap: 18px;
}
.yr-notes dt {
  font-weight: 600;
  color: #423e43;
}
.yr-section-copy .yr-aside {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.yuanrong .yr-gift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #34483d;
  color: #f3f0e7;
}
.yr-gift figure img {
  height: 100%;
  object-fit: cover;
}
.yr-gift > div {
  align-self: center;
  padding: clamp(34px, 5.5vw, 88px);
}
.yr-gift .eyeline {
  color: #dddcd2;
}
.yuanrong .yr-gift h2 {
  font: 400 clamp(24px, 2.65vw, 44px) / 1.65 var(--type-display-font);
  color: inherit;
  text-wrap: pretty;
}
.yr-gift p {
  margin-top: 20px;
  color: #e3e5da;
}
@media (max-width: 800px) {
  .yuanrong .yr-product {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "intro" "purchase";
    gap: 18px;
    padding-block: 24px 32px;
  }
  .yr-intro h1 span {
    display: inline;
    margin: 0 0 0 0.4em;
  }
  .yuanrong .yr-intro h1 {
    margin: 14px 0 10px;
  }
  .yr-stage img {
    max-height: 440px;
    object-fit: contain;
  }
  .yr-gallery-foot {
    margin-top: 8px;
  }
  .yr-facts {
    margin: 0 0 18px !important;
  }
  .yr-spread,
  .yuanrong .yr-gift {
    grid-template-columns: minmax(0, 1fr);
  }
  .yr-spread { gap: 24px; }
  .yr-use > figure { grid-row: 1; }
}
@media (max-width: 620px) {
  .yr-notes div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .yr-thumbs a {
    width: 44px;
    min-height: 44px;
  }
  .yr-gallery-foot {
    gap: 6px;
  }
  .yr-gallery-foot small {
    text-align: right;
  }
  .yr-gift > div {
    padding: 32px var(--gutter) 42px;
  }
}
