/* Quill content styles for frontend display - only for elements with Quill classes */

/* Alignment styles - only for elements that have Quill alignment classes */
.text_content .ql-align-center,
.product_description .ql-align-center,
.product-content .ql-align-center {
  text-align: center;
}

.text_content .ql-align-justify,
.product_description .ql-align-justify,
.product-content .ql-align-justify {
  text-align: justify;
}

.text_content .ql-align-right,
.product_description .ql-align-right,
.product-content .ql-align-right {
  text-align: end;
}

/* Image styles - only for images inside Quill content */
.text_content img,
.product_description img,
.product-content img {
  max-inline-size: 100%;
}

/* Blockquote styles - only for blockquotes inside Quill content */
.text_content blockquote,
.product_description blockquote,
.product-content blockquote {
  font-size: 0.9375rem;
}

/* Font styles - only for elements with Quill font classes */
.text_content .ql-font-serif,
.product_description .ql-font-serif,
.product-content .ql-font-serif {
  font-family: georgia, "Times New Roman", serif;
}

.text_content .ql-font-monospace,
.product_description .ql-font-monospace,
.product-content .ql-font-monospace {
  font-family: "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
}

/* Size styles - only for elements with Quill size classes */
.text_content .ql-size-large,
.product_description .ql-size-large,
.product-content .ql-size-large {
  font-size: 1.0625rem;
}

.text_content .ql-size-huge,
.product_description .ql-size-huge,
.product-content .ql-size-huge {
  font-size: 1.25rem;
}

.text_content .ql-size-small,
.product_description .ql-size-small,
.product-content .ql-size-small {
  font-size: 0.8125rem;
}

/* List styles - only for lists with Quill data attributes */
.text_content ul li[data-list=bullet],
.text_content ol li[data-list=bullet],
.product_description ul li[data-list=bullet],
.product_description ol li[data-list=bullet],
.product-content ul li[data-list=bullet],
.product-content ol li[data-list=bullet],
.info_popap_content .text ul li[data-list=bullet],
.info_popap_content .text ol li[data-list=bullet] {
  position: relative;
  list-style: none;
  padding-inline-start: 1em;
}

.text_content ul > li[data-list=bullet]::before,
.text_content ol > li[data-list=bullet]::before,
.product_description ul > li[data-list=bullet]::before,
.product_description ol > li[data-list=bullet]::before,
.product-content ul > li[data-list=bullet]::before,
.product-content ol > li[data-list=bullet]::before,
.info_popap_content .text ul > li[data-list=bullet]::before,
.info_popap_content .text ol > li[data-list=bullet]::before {
  position: absolute;
  content: "•";
  font-size: 1em;
  inset-inline-start: 0;
}

.text_content li[data-list=bullet]::before,
.product_description li[data-list=bullet]::before,
.product-content li[data-list=bullet]::before,
.info_popap_content .text li[data-list=bullet]::before {
  display: inline-block;
  inline-size: calc(2rem - 0.3em);
  white-space: nowrap;
}
