/* FR 0821 remediation — scoped additions layered after the approved Shopify CSS. */

/* Homepage: the sixth verified shop review has no invented product association. */
.hp-rev__prod--verified {
  min-height: 78px;
  padding-left: 18px;
  border-left: 3px solid #3a9d5f;
  background: #f3f8f4;
}

/* Gift card: show the official variant denominations as text pills. */
body.fr-gift-card .color-swatches--v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.fr-gift-card .color-swatches--v2 .swatch-v2 {
  width: auto;
  min-width: 76px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #d9dedb;
  border-radius: 6px;
  background: #fff;
  color: #1b1b1b;
  font: 600 15px/1.2 Poppins, sans-serif;
}

body.fr-gift-card .color-swatches--v2 .swatch-v2.active {
  border-color: #276b42;
  box-shadow: 0 0 0 1px #276b42;
  color: #276b42;
}

body.fr-gift-card .color-swatches--v2 .swatch-v2-thumb,
body.fr-gift-card .color-swatches--v2 .swatch-v2-dot {
  display: none;
}

.fr-gift-denomination {
  display: inline-block;
  white-space: nowrap;
}

/* ALTO stories: four official Shopify videos in the approved circular format. */
.lh-stories [data-fr-story-video] {
  cursor: pointer;
}

.fr-story-dialog {
  width: min(92vw, 820px);
  max-width: 820px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.fr-story-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}

.fr-story-dialog__video {
  display: block;
  width: 100%;
  max-height: 82vh;
  background: #000;
}

.fr-story-dialog__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(20, 20, 20, .72);
  color: #fff;
  cursor: pointer;
}

.fr-story-dialog__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* ALTO key facts: user-supplied official 0821 icons on the requested green discs. */
.at-a-glance-bar .glance-item .icon-box {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-inline: auto;
  border-radius: 50%;
  background: #e6f2ea;
}

.at-a-glance-bar .glance-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* Related products: the attributes and review data shown in the 0821 reference. */
.reco-tags {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reco-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #276b42;
  font: 600 11px/1 Poppins, sans-serif;
}

.reco-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  color: #7a817c;
  font-size: 12px;
}

.reco-rating__stars {
  display: inline-flex;
  gap: 2px;
  color: #f6a429;
  white-space: nowrap;
}

.reco-rating__stars svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

/* Official founder copy from the 0821 collection-page reference. */
.fr-founder-quote {
  max-width: 1180px;
  margin: clamp(34px, 5vw, 70px) auto;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 3px;
  background: #f1f1f1;
  color: #272727;
  text-align: center;
}

.fr-founder-quote blockquote {
  max-width: 920px;
  margin: 0 auto;
  font: 500 clamp(18px, 2vw, 26px)/1.55 Poppins, sans-serif;
}

.fr-founder-quote p {
  margin: 22px 0 0;
  color: #6d6d6d;
  font-size: 14px;
}

@media (max-width: 720px) {
  .lh-stories {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .fr-founder-quote {
    margin-inline: 0;
    padding: 28px 20px;
  }
}
