/* Custom Quill checked-bullet list (mint circle + teal check)
   Works in admin Quill (.ql-editor) and storefront CMS HTML (e.g. .box__description). */

ul[data-checked="true"],
ul[data-checked="false"] {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul[data-checked="true"] > li,
ul[data-checked="false"] > li {
  position: relative;
  list-style: none;
  list-style-type: none;
  padding-left: 28px;
  margin-bottom: 0.5em;
}

ul[data-checked="true"] > li::before,
ul[data-checked="false"] > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23C8EDE5'/%3E%3Cpath d='M6 10L9 13L15 7' stroke='%2323BA99' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;
  cursor: default;
  pointer-events: none;
}

/* Beat .section-boxes .box__description ul li { list-style: circle } */
.section-boxes .box__description ul[data-checked="true"] > li,
.section-boxes .box__description ul[data-checked="false"] > li {
  list-style: none;
  list-style-type: none;
  text-decoration: none;
}

/* Quill editor keeps snow list spacing; icon still via rules above */
.ql-editor ul[data-checked="true"],
.ql-editor ul[data-checked="false"] {
  padding-left: 1.5em;
}

.ql-editor ul[data-checked="true"] > li,
.ql-editor ul[data-checked="false"] > li {
  padding-left: 0;
}

.ql-editor ul[data-checked="true"] > li::before,
.ql-editor ul[data-checked="false"] > li::before {
  position: static;
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-left: -1.5em;
  margin-right: 0.25em;
  vertical-align: middle;
}

.ql-snow .ql-toolbar button.ql-checkedBullet {
  position: relative;
}

.ql-snow .ql-toolbar button.ql-checkedBullet svg {
  display: block;
  width: 18px;
  height: 18px;
  float: left;
}
