/* 상품상세 PC 배송기간 안내 — 도착예정일 옆 도움말 버튼과 말풍선. */
.product-delivery-guide {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  vertical-align: middle;
}

.product-delivery-guide-button {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #999;
  border-radius: 50%;
  background: #fff;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.product-delivery-guide-button:focus-visible {
  outline: 2px solid var(--color-action-blue, #597fd0);
  outline-offset: 2px;
}

.product-delivery-guide-tooltip {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 10px);
  z-index: 20;
  display: none;
  width: 330px;
  padding: 18px 20px;
  border: 1px solid #b8b8b8;
  background: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
  color: var(--color-text, #222);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.product-delivery-guide-tooltip::after {
  position: absolute;
  right: 10px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #b8b8b8;
  border-bottom: 1px solid #b8b8b8;
  background: #fff;
  content: '';
  transform: rotate(45deg);
}

.product-delivery-guide-tooltip strong,
.product-delivery-guide-tooltip > span {
  display: block;
}

/* 목업 product.css의 도착예정 강조색이 말풍선 본문까지 번지지 않게 되돌린다. */
#root .product-delivery-info .product-delivery-guide-tooltip > span {
  color: var(--color-text, #222);
}

.product-delivery-guide-tooltip strong {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.product-delivery-guide.is-open .product-delivery-guide-tooltip {
  display: block;
}
