label.my-gift-wrap {
  margin-top: 10px;
  line-height: 20px;
  font-size: 14px;
}

@media screen and (max-width: 599px) {
  label.my-gift-wrap {
    font-size: 11px;
    line-height: 12px;
    width: 190px;
  }
}

label.my-gift-wrap input {
  margin-right: 8px;
}

label.my-gift-wrap input[type="checkbox"] {
  transform: scale(1.5);
}

label.my-gift-wrap input[type="checkbox"] {
  /* width: 25px; */
  width: 0;
  height: 15px;
  margin-right: -5px;
  /* margin-right: 8px; */
  cursor: pointer;
  visibility: hidden;
  display: inline-block;
  font-size: 12px;
}

label.my-gift-wrap input[type="checkbox"] + .after-input:after {
  content: "-";
  background-color: #fff;
  display: inline-block;
  margin-left: 6px;
  padding-bottom: 5px;
  color: #555;
  width: 19px;
  height: 20px;
  visibility: visible;
  border: 1px solid #555;
  padding-left: 3px;
  border-radius: 5px;
  color: transparent;
}
@media screen and (max-width: 599px) {
  label.my-gift-wrap input[type="checkbox"] + .after-input:after {
    width: 15px;
    height: 15px;
  }
}

.after-input {
  display: inline-block;
  margin-right: 5px;
}

label.my-gift-wrap input[type="checkbox"]:checked + .after-input:after {
  content: "\2714";
  /* font-weight: bold; */
  color: #555;
}

/* gift wrap tooltip text */
.my-gift-wrap:has(.tooltip-text) {
  position: relative;
  width: fit-content;
}

.m-cart-wrapper .my-gift-wrap {
  margin-top: 7px;
  margin-bottom: 3px;
}

@media screen and (max-width: 648px) {
  .my-gift-wrap {
    font-size: 11px;
    line-height: 12px;
  }
}

.my-gift-wrap-label-outer .tooltip-button {
  cursor: pointer;
  display: inline-block;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAFYAAABWAHfbyrhAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAHVQTFRF////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANuvKZAAAACZ0Uk5TAAYHCQ4QERcnLTA5Pj9JXHN0d3h9kJaYnsHE0Nna4uXy8/T1/f6e30rzAAABHUlEQVQ4y4WT25aCMAxFAyooKopysQhIBfb/f+I8cGs7y0Ve2iQnaZqciCzix4Wqta5VEfvyX8K8ZZE2Dx23l+rR1XXjqVPPCi+BXiVRIBJEieqB0khyaoDqvBrOFdCclvgGhmxnptxlAzRTDq+Ez3Xy7PfT5fqBcqwjhWH2377f24wYIBURCTVkc+o3vOd7BjoUkRyq5f0XvJY6KshF/JZ+rf9wvx/Wv/S0vsSg5IcoiKWA5BcggUIURIbtbLRLIlBSQ7CaLnBZtQBq0XRGzAMehtqhHcATng7AfsIGBFA7RdqACJTzTRuQQOE0ygYoiJ1WW4Cx1fawTMA0LHvciVHRPG6LMEetjy5htim3Sdpt2m8vzvbqbS/v7/X/A2JpLgt+npD1AAAAAElFTkSuQmCC);
  width: 14px;
  height: 14px;
  content: " ";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
  padding-left: 11px;
  font-size: 9px;
  vertical-align: middle;
  /* margin-left: 3px; */
  margin-top: -2px;
}

@media screen and (max-width: 648px) {
  .my-gift-wrap-label-outer .tooltip-button {
    width: 13px;
    height: 13px;
  }
}

.my-gift-wrap-label-outer .tooltip-button:hover + .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 600px) {
  .my-gift-wrap-label-outer .tooltip-button:hover + .tooltip-text {
    transition-delay: 1s;
  }
}

.my-gift-wrap-label-outer {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
}

.my-gift-wrap-label-outer .tooltip-text {
  width: 200px;
  box-sizing: content-box;
  text-align: left;
  font-size: 11px;
  line-height: 15px;
  bottom: calc(100% - 6px);
  right: -2px;
  left: unset;
  z-index: 999999999;
  background: #e52028;
  /* border: 1px solid #e52028; */
  padding: 2px;
}

.my-gift-wrap-label-outer .tooltip-text::after {
  border-top: 5px solid #e52028;
}

.my-gift-wrap-label-outer .tooltip-text img {
  border-radius: 2px;
}

.my-gift-wrap-label-outer .tooltip-text:after {
  left: unset;
  right: -1px;
}

.my-gift-wrap-label-outer .tooltip-text h3 {
  font-size: 13px !important;
  color: white !important;
}
