/* The example belongs to the title and price on all three gift cards. */
.atelier-page .atelier-product:not(#neocut) .atelier-product-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  padding-top: 0;
}

.atelier-page .atelier-product-heading .atelier-examples-trigger {
  width: min(100%, var(--product-preview-width));
  margin: 15px 0 0;
  padding: 10px;
  gap: 4px;
  border: 1px solid #93a590;
  border-radius: 12px;
  background: #fbfcf6;
  color: #203c32;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #aebca9;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.atelier-page .atelier-product-heading .atelier-examples-trigger strong {
  font: 800 clamp(15px, 1.55vw, 18px)/1.2 Manrope, Arial, sans-serif;
  letter-spacing: -.025em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .17em;
  transition: text-decoration-color 160ms ease;
}

.atelier-page .atelier-product-heading .atelier-examples-trigger small {
  white-space: normal;
  font-size: 11px;
  line-height: 1.35;
  color: #526557;
}

.atelier-examples-trigger .book-examples-preview,
.atelier-examples-trigger .video-examples-preview {
  margin-bottom: 2px;
}

.atelier-page .atelier-examples-trigger:focus-visible {
  outline: 2px solid #355c49;
  outline-offset: 4px;
}

.atelier-page .atelier-product-heading .atelier-examples-trigger:focus-visible strong {
  text-decoration-color: currentColor;
}

@media (hover: hover) {
  .atelier-page .atelier-product-heading .atelier-examples-trigger:hover {
    transform: translateY(-2px);
    background: #eff4e9;
    border-color: #617d61;
    box-shadow: inset 0 1px 0 #fff, 0 3px 0 #a6b69f, 0 5px 12px #233e2d13;
  }
  .atelier-page .atelier-product-heading .atelier-examples-trigger:hover strong {
    text-decoration-color: currentColor;
  }
}

.atelier-page .atelier-product-heading .atelier-examples-trigger:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #aebca9;
}

@media (min-width: 601px) {
  .atelier-page .atelier-product:not(#neocut) .atelier-product-heading h2 {
    font-size: clamp(25px, 4.1vw, 32px);
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .atelier-page .atelier-product:not(#neocut) {
    row-gap: 14px;
  }
  .atelier-page .atelier-product:not(#neocut) .atelier-product-heading h2 {
    margin: 0 0 9px;
  }
  .atelier-page .atelier-product:not(#neocut) .atelier-examples-trigger {
    width: min(100%, 200px);
    min-height: 106px;
    aspect-ratio: 1.28;
    justify-content: center;
    margin-top: 9px;
    padding: clamp(6px, 2vw, 10px);
    gap: clamp(3px, 1.1vw, 6px);
  }
  .atelier-page .atelier-product-heading .atelier-examples-trigger strong {
    font-size: clamp(15px, 4.45vw, 18px);
  }
  .atelier-page .atelier-product-heading .atelier-examples-trigger small {
    font-size: clamp(11px, 3vw, 12px);
  }
  .atelier-examples-trigger :is(.book-examples-preview, .video-examples-preview) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 2px;
  }
  .atelier-examples-trigger :is(.book-examples-preview, .video-examples-preview) img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .atelier-examples-trigger .video-examples-preview img {
    aspect-ratio: 1.25;
  }
  .atelier-examples-trigger .song-examples-wave {
    max-width: none;
    height: clamp(37px, 11.5vw, 49px);
  }
}

.book-examples-image {
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.book-examples-inner figcaption {
  white-space: normal;
  text-wrap: balance;
}

.book-examples-navigation .book-examples-thumbnails {
  display: flex;
  flex: 1 1 0;
  width: auto;
  max-width: 760px;
  min-width: 0;
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #94a691 transparent;
  padding: 3px 1px 5px;
}

.book-examples-dialog .book-examples-thumbnails button {
  flex: 0 0 82px;
}
.book-examples-dialog .book-examples-navigation > button {
  flex: none;
}

@media (max-width: 600px) {
  .book-examples-dialog .book-examples-thumbnails button {
    flex-basis: 62px;
  }
  .book-examples-dialog .book-examples-navigation > button {
    min-width: 40px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atelier-page .atelier-product-heading .atelier-examples-trigger,
  .atelier-page .atelier-product-heading .atelier-examples-trigger strong {
    transition: none;
  }
  .atelier-page .atelier-product-heading .atelier-examples-trigger:is(:hover, :active) {
    transform: none;
  }
}

.atelier-hero .gift-category-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.2em .5em;margin-inline:auto;max-width:45rem}
.gift-category-links a{color:inherit;text-decoration:underline;text-underline-offset:.22em;text-decoration-color:#819180}
.gift-category-links a:hover,.gift-category-links a:focus-visible{color:#304d39}
