#form-pattern.wocommerce-form
  :is(
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    .select2
  ) {
  margin-bottom: 3rem;
}
#form-pattern
  :is(
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    .select2
  ) {
  font-family: inherit;
  padding: 1rem 2rem;
  height: 5.5rem;
  background-color: var(--c-neutral-000);
  border: 1px solid var(--c-neutral-200);
  transition: 0.3s;
  width: 100%;
  margin-bottom: 1rem;
  text-overflow: ellipsis;
  position: relative;
  display: block;
  border-radius: 12px;
}
#form-pattern
  :is(
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="url"]
  ) {
  direction: ltr;
}
#form-pattern
  form.submitted
  :is(
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    .select2
  ):invalid:required {
  border-color: var(--danger);
}
#form-pattern textarea {
  height: 13rem !important;
}
#form-pattern .af-submit,
.af-field-type-repeater,
.af-field-type-textarea {
  grid-column: 1/-1;
}
#form-pattern
  :is(
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    .select2
  ):focus-visible {
  border-color: var(--c-primary);
}

#form-pattern :is(textarea, input)::-webkit-input-placeholder,
#form-pattern :is(textarea, input)::-webkit-input-placeholder {
  opacity: 0.6;
  font-size: var(--fs-14);
}

#form-pattern :is(textarea, input)::-moz-placeholder,
#form-pattern :is(textarea, input)::-moz-placeholder {
  opacity: 0.6;
  font-size: var(--fs-14);
}

#form-pattern :is(textarea, input):-ms-input-placeholder,
#form-pattern :is(textarea, input):-ms-input-placeholder {
  opacity: 0.6;
  font-size: var(--fs-14);
}

#form-pattern :is(textarea, input)::-ms-input-placeholder,
#form-pattern :is(textarea, input)::-ms-input-placeholder {
  opacity: 0.6;
  font-size: var(--fs-14);
}

#form-pattern :is(textarea, input)::placeholder,
#form-pattern :is(textarea, input)::placeholder {
  opacity: 0.6;
  font-size: var(--fs-14);
}

#form-pattern label:not(.error, [for="acf-field_form_success_message"]) {
  line-height: 1;
  display: flex;
  margin: 0;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: var(--fs-14);
  /* font-weight: 500; */
}
#form-pattern label.error {
  line-height: 1;
  font-size: var(--fs-12);
  color: var(--danger);
  margin-bottom: 1rem;
  display: block;
  background: var(--bg_danger);
  padding: 10px;
}

#form-pattern.ab-label .acf-field .acf-label {
  position: relative;
}
#form-pattern.ab-label label:not([for="rating"], .acf-basic-uploader) {
  right: 2rem;
  position: absolute;
  bottom: 100%;
  transform: translateY(50%);
  margin: 0 !important;
  z-index: 1;
  background-color: var(--c-neutral-000);
  padding-inline: 0.6rem;
}
#form-pattern.ab-label
  :is(
    .af-field-type-repeater,
    .af-field-type-checkbox,
    .af-field-type-true-false,
    .af-field-type-radio
  )
  label {
  position: static;
  transform: none;
  margin-bottom: 1.1rem !important;
  padding-inline: 0rem;
  background: transparent;
}
#form-pattern .acf-field .acf-label {
  margin: 0;
}
#form-pattern .acf-form .acf-field .acf-input {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 2rem;
  position: relative;
}
#form-pattern .acf-form .acf-repeater .acf-input {
  margin-bottom: 0 !important;
}
#form-pattern input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 23px;
  width: 23px;
  outline: none;
  cursor: pointer;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
}
#form-pattern ul.acf-radio-list:focus-within,
#form-pattern ul.acf-checkbox-list:focus-within {
  border: none;
}
#form-pattern input[type="checkbox"]::before {
  content: "";
  width: 14px;
  height: 14px;
  transform: scale(0);
  background-color: var(--c-primary);
  transition: 120ms transform ease-in-out;
  transform-origin: bottom left;
  -webkit-clip-path: polygon(
    14% 44%,
    0 65%,
    50% 100%,
    100% 16%,
    80% 0%,
    43% 62%
  );
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
#form-pattern input[type="checkbox"]:checked::before {
  transform: scale(1);
}
#form-pattern input[type="radio"]:checked {
  border: 2px solid var(--c-primary) !important;
  box-sizing: border-box !important;
  background: var(--c-primary) !important;
  box-shadow: inset 0 0px 0px 4px #fff !important;
}
#form-pattern input[type="radio"] {
  height: 23px;
  width: 23px;
  border-radius: 50%;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  border: 2px solid #ccc;
  margin-left: 7px;
  vertical-align: middle;
}
#form-pattern .af-form.acf-form {
  width: min(100%, 95rem);
  margin: 2rem auto;
  border: 1px solid #d9d9d9;
  padding: 4rem;
  box-shadow: 0 10px 20px #00000024;
  container-type: inline-size;
}
/* #form-pattern form.submitted :is(
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    .select2
  ):invalid:required ~ label{
 color: var(--danger);
} */
#form-pattern .acf-temp-remove,
#form-pattern .acf-notice.-error {
  background: #ffff;
  color: var(--danger);
  order: 1;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--bg_danger);
  padding: 5px 10px;
  border-radius: 12px;
}
#form-pattern .acf-notice p {
  font-size: 12px;
  margin: 0;
  text-shadow: none;
  color: inherit;
}
#form-pattern .acf-notice.-dismiss {
  display: none;
}
.acf-spinner {
  position: absolute;
}
.acf-form .acf-fields > .acf-field {
  border: none;
  padding: 0;
}
#form-pattern .mce-panel .mce-btn i.mce-caret:before,
#form-pattern .select2-selection--single .select2-selection__arrow:before,
#form-pattern .acf-field-select .acf-input::before {
  content: "\e90e";
  position: absolute;
  display: block;
  left: min(1.5rem, 2vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: "icomoon";
  pointer-events: none;
  /* color: #a5a4a4; */
  line-height: 1;
  font-size: min(1.3rem, 2.5vw);
}
#form-pattern .acf-field select {
  font-size: 14px;
  /*padding-top: 1.6rem;*/
  line-height: inherit;
  text-align: right;
}
#form-pattern .af-submit {
  margin-top: -2rem;
}
#form-pattern .af-field-type-textarea textarea {
  padding-top: 2rem;
}
#form-pattern .acf-field-message.acf-field label{
    position: static;
    transform: none;
    padding: 0;
    margin-bottom: 2rem;
}
#form-pattern .acf-field.acf-field-message {
  grid-column: 1 / -1;
}
#form-pattern .acf-field-message.acf-field label:empty,
#form-pattern .acf-form .acf-field .acf-input:empty{
    display:none!important;
}
.af-form.acf-form > .acf-fields {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  row-gap: 2rem;

  /* container-name: formbuilder; */
}
@container (min-width: 32em) {
  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr 1fr;
  }
}
@container (max-width: 32em) {
  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr;
  }
}
#form-pattern input:-webkit-autofill,
#form-pattern input:-webkit-autofill:active,
#form-pattern input:-webkit-autofill:hover,
#form-pattern input:-webkit-autofill:focus {
  -webkit-animation-name: autofill;
  -webkit-animation-delay: 1s;
  -webkit-animation-fill-mode: both;
  -webkit-box-shadow: 0 0 0 100px var(--c-white) inset !important;
  -webkit-box-shadow: none;
}
.acf-form-submit {
  text-align: center;
}
.form-plugin label {
  line-height: 2;
}
.af-field-type-file .button {
  /* color: inherit !important; */
  height: 4rem;
  font-size: 14px;
  min-width: 5rem;
  font-weight: 600;
}
.acf-file-uploader input {
  border: none !important;
  box-shadow: none !important;
  padding: 1rem 0 0 !important;
  min-height: 3rem !important;
  width: 100%;
  line-height: 2;
}

html[dir="rtl"] .acf-field[data-width] + .acf-field[data-width] {
  border: none !important;
}
.af-submit {
  padding: 0 !important;
}
.af-field-instructions {
  margin: 0;
  position: absolute;
  top: 6rem;
  font-size: 12px;
}
.acf-file-uploader {
  border: 1px dashed var(--c-neutral-200);
  border-radius: 12px;
  min-height: 6rem;
  padding: 0.8rem 2rem;
}
.af-field-type-file label {
  line-height: 1;
  position: static;
  margin-bottom: 1rem !important;
}
.editor-content.main-content {
}
.comment-form-rating label {
  margin-bottom: 0 !important;
}
.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"], button):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: var(--c-neutral-000);
  overflow: hidden;
}

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

.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: var(--c-neutral-000);
  font-size: 2.7rem;
  text-decoration: none;
  line-height: 1;
}

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

.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;
}
.aligncenter img {
  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: var(--c-neutral-500);
}
.editor-content :is(h2, h3, h4, h5, h6):not(.product-card__title) {
  line-height: 2;
  font-variation-settings: var(--fw-500);
  color: var(--c-neutral-500);
}

.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-24));
}
.editor-content h2:not(.product-card__title) {
  font-size: calc(var(--fs-24) - 2px);
}
.editor-content h3:not(.product-card__title) {
  font-size: calc(var(--fs-24) - 4px);
}
.editor-content h4:not(.product-card__title) {
  font-size: calc(var(--fs-24) - 5px);
}
.editor-content h5:not(.product-card__title) {
  font-size: calc(var(--fs-24) - 6px);
}
.editor-content h6:not(.product-card__title) {
  font-size: calc(var(--fs-24) - 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;
}
.text_comment {
}
/* .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;
  line-break: anywhere;
}
.byadmin .editor-content.main-content a:not(.btn, .button) {
  color: #fff;
}
.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: var(--c-neutral-500);
  font-variation-settings: var(--fw-500);
}
.editor-content blockquote {
  padding: min(3rem, 7vw) min(3rem, 4vw);
  border: 1px solid var(--c-neutral-200);
  position: relative;
  margin-top: 5rem !important;
  display: block;
  border-radius: 12px;
}

.editor-content blockquote::before {
  content: "\e903";
  font-family: "icomoon";
  position: absolute;
  color: var(--c-neutral-400);
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-neutral-000);
  left: 50%;
  pointer-events: none;
  top: 0;
  line-height: 1;
  font-size: 6.4rem;
  transform: translate(-50%, -67%);
}
.editor-content blockquote:after {
  content: "\e902";
  font-family: "icomoon";
  position: absolute;
  border-radius: 100vw;
  color: var(--c-neutral-000);
  width: 3.9rem;
  height: 3.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-secondary);
  pointer-events: none;
  line-height: 1;
  font-size: 2rem;
  top: 0;
  left: 50%;
  transform: translate(-50%, -65%);
}

.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: 2rem;
}
.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.main-content table:not(.acf-table) td {
  border-bottom: none;
  padding: 1rem 1.5rem;
  font-size: inherit;
}
.editor-content.main-content table:not(.acf-table) caption {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}
.editor-content.main-content table:not(.acf-table) tr:first-child th,
.editor-content.main-content table:not(.acf-table) tr:first-child {
  /* border: none;
  border-right: none; */
  padding: 1rem;
  background: var(--c-secondary-light);
  /* color: var(--c-neutral-700); */
}
.editor-content.main-content table:not(.acf-table) :is(tbody, thead) {
  display: table;
  width: 100%;
}
.editor-content.main-content table:not(.acf-table) {
  border-collapse: collapse;
  display: block;
  border-radius: 12px;
  width: 100%;
  overflow-x: auto;
  display: block;
  -webkit-overflow-scrolling: auto;
  border-bottom: 0;
}
.editor-content.main-content table:not(.acf-table) td > ul li:before {
  display: none;
}
.editor-content.main-content table:not(.acf-table) tr,
.editor-content.main-content table:not(.acf-table) td,
.editor-content.main-content table:not(.acf-table) th {
  border: 4px solid var(--c-secondary-light);
  text-align: center;
}
.editor-content.main-content table:not(.acf-table) th {
  font-variation-settings: var(--fw-500);
}

.editor-content.main-content table:not(.acf-table) td {
  border-bottom: none;
  color: #000;
  padding: 10px 15px;
  font-size: inherit;
}
/* width */
.editor-content.main-content
  table:not(.acf-table):not(.acf-table)::-webkit-scrollbar {
  height: 4px !important;
  width: 3px !important;
}
/* Track */
.editor-content.main-content table:not(.acf-table)::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
}
/* Handle */
.editor-content.main-content table:not(.acf-table)::-webkit-scrollbar-thumb {
  background: rgb(123, 123, 123) !important;
  height: 4px !important;
}
/* Handle on hover */
.editor-content.main-content
  table:not(.acf-table)::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary) !important;
}

/* width */
.editor-content.main-content table::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
/* Track */
.editor-content.main-content table::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 3px #cfcfcf; */
  border-radius: 0 0 4px 4px;
  background-color: #ececec;
}
/* Handle */
.editor-content.main-content table::-webkit-scrollbar-thumb {
  background: #aca9a9;
  border-radius: 0 0 4px 4px;
}
/* Handle on hover */
.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary);
}
.editor-content.main-content table {
  scrollbar-color: var(--c-primary) #fff;
  scrollbar-width: thin;
}

/**************************/
/* BELOW 576px */
/**************************/
@media (min-width: 36em) {
  .sw--gallery {
    margin-inline: 3rem;
  }
}
/**************************/
/* ABOVE 768px */
/**************************/
@media (min-width: 48em) {
}
/**************************/
/* ABOVE 992px */
/**************************/
@media (min-width: 62em) {
  .page-template-home-template .editor-content blockquote {
    margin-inline: 15rem !important;
  }
}
/**************************/
/* 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%;
  }
}
