.mejs-container {
  direction: ltr;
  border-radius: 12px;
  overflow: hidden;
}

.editor-content em {
  font-style: italic;
}

/* .editor-content *:not([class*="mejs"], button):first-child {
  margin-top: 0;
} */
.editor-content :is(h1, h2, h3, h4, h5, h6):not(.product-card__title):first-child {
  padding-top: 0;
}

/* .editor-content *:not([class*="mejs"], tabutton):last-child {
  margin-bottom: 0;
} */

.editor-content.main-content img:not(.img_gallery, .bg-cta-m) {
  max-width: 100%;
  border-radius: 12px;
}

.sw-gallery .swiper-slide {
  height: auto;
}

.gallery_item {
  position: relative;
  display: block;
  height: 100%;
  background: #fff;
  overflow: hidden;
  border-radius: 16px;
}

/* .pg-gallery {
  margin-top: 5.6rem;
} */
.gallery_item a {
  display: block;
  position: relative;
  text-align: center;
  margin: auto;
  overflow: hidden;
  border-radius: 16px;
}

/* .gallery_item a:after {
  opacity: 0;
  content: "\e904";
  font-family: "icomoon";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: 0.3s;
  z-index: 1;
  position: absolute;
  color: #fff;
  font-size: 2.7rem;
  text-decoration: none;
  line-height: 1;
} */

.gallery_item a:before {
  content: "";
  position: absolute;
  height: 100%;
  background: var(--c-primary);
  opacity: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  z-index: 1;
  border-radius: 16px;
}

.gallery_item:hover a:after {
  opacity: 1;
}

.gallery_item a:hover::before {
  opacity: 0.6;
}

/* .gallery_item:hover .caption {
  border: 1px solid var(--c-primary-light1);
  color: var(--c-primary-light1);
} */
.sw-gallery {
  /* margin-top: 3.2rem; */
  /* margin-bottom: 3.2rem; */
}

.alignleft {
  float: left;
  margin: 0 3rem 3rem 0;
}

.alignright {
  float: right;
  margin-left: 3rem;
}

.aligncenter {
  text-align: center;
  display: block;
  margin-inline: auto;
}

.blockquote {
  position: relative;
}

.editor-content li :is(h1, h2, h3, h4, h5, h6):not(.product-card__title) {
  margin-bottom: 0;
  display: inline;
  line-height: 2;
}

.editor-content h1:not(.product-card__title) {
  line-height: 2;
  font-variation-settings: var(--fw-500);
  color: #303030;
}

.editor-content :is(h2, h3, h4, h5, h6):not(.product-card__title) {
  line-height: 2;
  font-variation-settings: var(--fw-500);
  color: #303030;
}

.editor-content.main-content ul > li > :is(h1, h2, h3, h4, h5, h6):not(.product-card__title) {
  margin-top: 0;
  padding: 0;
}

.editor-content h1:not(.product-card__title) {
  font-size: calc(var(--fs-26));
}

.editor-content h2:not(.product-card__title) {
  font-size: calc(var(--fs-26) - 2px);
}

.editor-content h3:not(.product-card__title) {
  font-size: calc(var(--fs-26) - 4px);
}

.editor-content h4:not(.product-card__title) {
  font-size: calc(var(--fs-26) - 5px);
}

.editor-content h5:not(.product-card__title) {
  font-size: calc(var(--fs-26) - 6px);
}

.editor-content h6:not(.product-card__title) {
  font-size: calc(var(--fs-26) - 7px);
}

.editor-content ul,
.editor-content ol {
  /* margin-bottom: 1rem; */
  /* margin-top: 2rem; */
  line-height: 2;
}

.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl, .producthome-attrs) li {
  margin-bottom: 1.3rem;
  list-style: none;
  /* list-style-position: inside; */
  /* text-indent: -2rem; */
  padding-right: 2rem;
  position: relative;
}

.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl, .producthome-attrs) li::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--c-primary);
  border-radius: 50vw;
  position: absolute;
  right: 0;
  top: 10px;
}

.main-text .editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl, .producthome-attrs) li::before {
  top: 15px;
}

/* .editor-content.main-content ul li:before {
  content: "";
  background: var(--c-primary);
  margin-left: 1.2rem;
  display: inline-flex;
  height: 1.2rem;
  width: 1.2rem;
  border-radius: 50%;
  box-shadow: 0px 5px 15px rgba(237, 26, 35, 0.25);
  flex-shrink: 0;
} */
.main-content.editor-content ul li::marker {
  color: var(--c-primary);
  line-height: 1;
}

.comment-single li::marker {
  content: none;
}

/* .editor-content.main-content .wp-caption-text {
  text-align: center;
} */
/* .editor-content.main-content .wp-caption {
  width: auto !important;
} */

.editor-content.main-content a:not(.btn, .button) {
  color: var(--c-primary);
  font-variation-settings: "wght" 400;
  /* text-decoration: underline; */
  /* border-bottom: 1px solid currentColor; */
}

.editor-content.main-content .btn-see-product,
.editor-content.main-content .product-card-name a {
  text-decoration: inherit !important;
  font-variation-settings: normal !important;
}

.editor-content.main-content .product-card-name a {
  color: inherit !important;
}

.editor-content.main-content a:not(.btn, .button):hover {
  color: var(--c-secondary) !important;
}

.editor-content.main-content strong {
  color: #303030;
  font-variation-settings: var(--fw-500);
}

.editor-content blockquote {
  padding: min(3rem, 7vw) min(3rem, 4vw);
  position: relative;
  display: block;
  border-radius: 12px;
  background: #fc8b0029;
}

.editor-content ol {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.editor-content ol li {
  counter-increment: item;
  position: relative;
  margin-bottom: 1rem;
  text-indent: -2rem;
  padding-right: 2rem;
}

.editor-content ol li:before {
  content: counter(item) ".";
  color: var(--c-primary);
  font-variation-settings: var(--fw-500);
  padding-left: 1.1rem;
  font-size: 2.2rem;
  line-height: 1;
}

.editor-content.main-content > * + * {
  margin-top: 1rem;
}

.gallery_item img {
  transition: all 0.3s;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 12px;
  aspect-ratio: 1/1;
}

.editor-content .wp-video {
  display: block;
  /* margin: 3.2rem auto; */
  margin-inline: auto;

  overflow: hidden;
}
.editor-content table:not(.acf-table) th ,
.editor-content table:not(.acf-table) td {
  border-bottom: none;
padding: 1rem min(1.5rem, 2vw);
  font-size: inherit;
  line-height: 2;
  vertical-align: middle;
}
.editor-content table:not(.acf-table) tr:last-child,
.editor-content table:not(.acf-table) tr:first-child {
  border-bottom: none;
}
.editor-content table:not(.acf-table) tr:first-child td,
.editor-content table:not(.acf-table) tr:first-child th {
  padding: 1rem min(2rem, 2.3vw);
  background: var(--c-secondary);
  color: #fff;
}
.editor-content table:not(.acf-table) tr:first-child td:first-child,
.editor-content table:not(.acf-table) tr:first-child th:first-child {
  border-radius: 0 16px 16px 0;
}
.editor-content table:not(.acf-table) tr:first-child td:last-child,
.editor-content table:not(.acf-table) tr:first-child th:last-child {
  border-radius: 16px 0 0 16px;
}
.editor-content table:not(.acf-table) :is(tbody, thead) {
  display: table;
  width: 100%;
}
.editor-content table:not(.acf-table) {
  border-collapse: collapse;
  display: block;
  border-radius: 16px;
  width: 100%;
  /* overflow-x: auto; */
  display: block;
  -webkit-overflow-scrolling: auto;
  border-bottom: 0;
  border: 1px solid #0040b059;
  padding: min(1.6rem, 2vw);
  background: #fff;
  font-size: min(14px , 3.3vw);
  overflow-x: auto;
}
.editor-content table:not(.acf-table) tr {
  border-bottom: 2px solid rgb(0 65 255 / 7%);
}
/* .editor-content table:not(.acf-table) tr,
.editor-content table:not(.acf-table) td,
.editor-content table:not(.acf-table) th {
  text-align: center;
} */
.editor-content table:not(.acf-table) th {
  font-variation-settings: var(--fw-500);
}

/* width */
.editor-content table:not(.acf-table):not(.acf-table)::-webkit-scrollbar {
  height: 4px !important;
  width: 3px !important;
}
/* Track */
.editor-content table:not(.acf-table)::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
}
/* Handle */
.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb {
  background: var(--c-primary) !important;
  height: 4px !important;
}


/* width */
.editor-content table::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
/* Track */
.editor-content table::-webkit-scrollbar-track {
  border-radius: 0 0 4px 4px;
  background-color: #ececec;
}
/* Handle */
.editor-content table::-webkit-scrollbar-thumb {
  background: var(--c-primary);
  border-radius: 0 0 4px 4px;
}
.editor-content table {
  scrollbar-color: var(--c-primary);
  height: auto !important;
}
/**************************/
/* BELOW 576px */
/**************************/
@media (min-width: 36em) {
  .sw--gallery {
    margin-inline: 3rem;
  }
}

/**************************/
/* ABOVE 768px */
/**************************/
@media (min-width: 48em) {}

/**************************/
/* ABOVE 992px */
/**************************/
@media (min-width: 62em) {}

/**************************/
/* ABOVE 1200px */
/**************************/
@media (min-width: 75em) {}

/**************************/
/* BELOW 1200px */
/**************************/
@media (max-width: 75em) {
  html {
    font-size: 59.5%;
  }
}

/**************************/
/* BELOW 992px */
/**************************/
@media (max-width: 62em) {
  html {
    font-size: 56.5%;
  }
}

/**************************/
/* BELOW 768px */
/**************************/
@media (max-width: 48em) {
  html {
    font-size: 53.5%;
  }

  .alignleft,
  .alignright {
    float: none;
    margin-inline: auto;
  }

  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr;
  }

  .editor-content.main-content table:not(.acf-table) {
    /*white-space: nowrap;*/
    line-height: 1.7;
  }
}

/**************************/
/* BELOW 576px */
/**************************/
@media (max-width: 36em) {
  html {
    font-size: 51.5%;
  }
}