.tour-guarantee-note {
  --guarantee-circle: 42px;
  --guarantee-band: 28px;
  --guarantee-label: 10.5px;
  --guarantee-number: 22px;
  --guarantee-unit: 10px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  width: calc(100% - 20px);
  max-width: 320px;
  height: var(--guarantee-circle);
  box-sizing: border-box;
  margin: 0;
  pointer-events: none;
}
.tour-guarantee-note__label {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--guarantee-band);
  box-sizing: border-box;
  padding: 0 calc(var(--guarantee-circle) + 2px) 0 10px;
  border-radius: 999px;
  background: #ff8425;
  color: #fff;
  font-size: var(--guarantee-label);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}
.tour-guarantee-note__colon { display: none; }
.tour-guarantee-note__count {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--guarantee-circle);
  height: var(--guarantee-circle);
  box-sizing: border-box;
  border: 2px solid #ff8425;
  border-radius: 50%;
  background: #fff;
  color: #f58229;
  box-shadow: 0 1px 3px rgba(94, 48, 14, .2);
  line-height: 1;
  white-space: nowrap;
}
.tour-guarantee-note__count strong {
  display: block;
  font-size: var(--guarantee-number);
  font-weight: 800;
  line-height: 1;
}
.tour-guarantee-note__count .tour-guarantee-note__number--medium { font-size: calc(var(--guarantee-number) * .65); }
.tour-guarantee-note__count .tour-guarantee-note__number--long { font-size: calc(var(--guarantee-number) * .5); }
.tour-guarantee-note__unit { font-size: var(--guarantee-unit); font-weight: 800; line-height: 1; }
/* Keep the existing photo counter clear of the new guarantee ribbon. */
.tour-guarantee-note ~ .single__photo .single__photo-count {
  top: auto;
  right: auto;
  bottom: 13px;
  left: 13px;
}
@media (min-width: 601px) {
  .single__photo-box .tour-guarantee-note {
    --guarantee-circle: 46px;
    --guarantee-band: 31px;
    --guarantee-label: 12.5px;
    --guarantee-number: 24px;
    --guarantee-unit: 11px;
  }
}
@media (max-width: 600px) {
  .tour-guarantee-note {
    gap: 3px;
    width: max-content;
    max-width: calc(100% - 20px);
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: #ff8425;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
  }
  .tour-guarantee-note__label {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    font-size: inherit;
    text-transform: none;
  }
  .tour-guarantee-note__colon { display: inline; }
  .tour-guarantee-note__count {
    position: static;
    flex-direction: row;
    gap: 3px;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
  }
  .tour-guarantee-note .tour-guarantee-note__count strong,
  .tour-guarantee-note__unit {
    font-size: inherit;
    font-weight: inherit;
  }
}
