/* --- Theme Style
-------------------------------------------------------- */

a,
.content>.video-play:hover span,
.content>.video-play svg,
a svg.icon,
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,
.wp-block-post-featured-image img,
.wp-block-euphony-blocks-pro-header-search svg,
.wp-block-euphony-blocks-pro-header-social svg,
.wp-block-search__button,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-navigation .has-child > .wp-block-navigation-item__content.wp-block-navigation-item__content + button svg  {
  transition: all 0.5s ease;
}

@media screen and (max-width: 480px) {
  .wp-custom-logo {
    .site-identity {
      display: none;
    }
  }
}

.wp-block-section:nth-child(2n) {
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-section:nth-child(2n+1) {
  background-color: var(--wp--preset--color--background);
}

.wp-block-section .wp-block-group-heading {
  margin-bottom: var(--wp--custom--spacing--group-heading-bottom-gap);
  position: relative;
  text-align: center;
}

.wp-block-group-heading .is-style-button .wp-block-button__link {
  position: relative;
  padding-right: 65px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover,
.wp-block-group-heading .is-style-button .wp-block-button__link:focus {
  padding-right: 60px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:after {
  position: absolute;
  right: 22px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:before {
  content: "";
  background-color: var(--wp--preset--color--primary);
  position: absolute;
  right: 0;
  left: auto;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  transition: 0.3s;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover::before {
  background-color: var(--wp--preset--color--border-color);
  border-radius: 50%;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover::after {
  color: var(--wp--preset--color--foreground);
}

body:not(.home) .wp-site-blocks main {
  padding-bottom: var(--wp--custom--spacing--main-block-gap);
  padding-top: var(--wp--custom--spacing--main-block-gap);
  margin-top: 0;
}

body.home .wp-site-blocks main {
  margin-top: 0;
}

body:not(.home) .wp-site-blocks main main,
.wp-site-blocks main main {
  padding: 0;
}

body.open-search .wp-site-blocks > main,
body.open-social .wp-site-blocks > main,
body.single-product .wp-product-detail {
  position: relative;
}

.error404 main .wp-block-search,
.single.post-template-default main .wp-block-template-part {
  margin-bottom: 1.75em;
}

.wp-block-table,
.wp-block-audio {
  margin-top: var(--wp--style--block-gap);
}

.wp-block-latest-posts li a {
  text-decoration: none;
}

.wp-block-latest-posts.is-grid li {
  margin-bottom: 0;
}

.wp-block-categories__list a,
.wp-block-categories-list a,
.wp-block-archives-list a {
  text-decoration: none;
}

.wp-block-section .wp-block-columns .wp-block-columns {
  margin-bottom: 0;
}

.no-margin-top {
  margin-top: 0;
}

.is-stacked-on-mobile .wp-block-media-text__media {
  margin-bottom: 35px;
}

body.page-template-blank .wp-site-blocks main {
  margin-top: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.page-template-front .wp-site-blocks main {
  margin-top: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.wp-block-section-content h2 {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

/* For case study mobile view */
@media (min-width: 600px) and (max-width: 781px) {
  .wp-block-columns.case-study-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
    flex-basis: 50% !important;
  }
}

.wp-block-template-part {
  margin-top: 0;
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header .page-title {
  display: none;
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header {
  margin-bottom: 0;
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header .page-title+.term-description p {
  margin-block-start: 0;
}

#to_top_scrollup {
  background: var(--wp--preset--gradient--gradient-1);
  color: var(--wp--preset--color--color-dark);
  border: none;
  cursor: pointer;
  display: none;
  outline: none;
  padding: 7px;
  position: fixed;
  bottom: 77px;
  right: 14px;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
  width: 40px;
  height: 40px;
  z-index: 9999;
  opacity: 1 !important;
  font-size: 24px !important;
  &:hover {
    background: var(--wp--preset--gradient--gradient-1-hover) !important;
    color: var(--wp--preset--color--color-dark) !important;
  }
}

/* --- WP Block Header
-------------------------------------------------------- */

.header-default {
  padding-bottom: 0;
  padding-top: 0;
}

.wp-block-main-header .wp-block-buttons .is-style-outline> :where(.wp-block-button__link),
.wp-block-main-header .wp-block-buttons :where(.wp-block-button__link).is-style-outline {
  padding: 9px 28px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: transparent !important;
}


/* --- WP Block Site title Style
-------------------------------------------------------- */

.wp-block-site-title a {
  text-decoration: none;
}

/* --- WP Block Navigation Main
-------------------------------------------------------- */

.wp-block-navigation .has-child {
  .wp-block-navigation__submenu-container {
    .wp-block-navigation-item {
      &:hover {
        background-color: var(--wp--preset--color--secondary) !important;
      }

    }
  }
}

.wp-block-navigation a {
  text-decoration: none;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
  text-transform: capitalize;
  font-size: var(--wp--preset--font-size--extra-small);
  font-weight: 500;
}

@media screen and (max-width: 74.9375em) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    gap: 0;
  }
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
  text-decoration: none;
}

.wp-block-buttons-header .wp-block-buttons .wp-block-button .wp-block-button__link {
  margin-top: 0;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  z-index: 4;
}

.wp-block-centered-menu .wp-block-navigation {
  text-align: center;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: none;
  border: 1px solid var(--wp--preset--color--border-color);
  padding: 7px 0;
}

.wp-block-footer .wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container),
.wp-block-footer .wp-block-navigation .wp-block-navigation__submenu-icon {
  display: none;
}

@media screen and (max-width: 1199px) {
  .items-justified-right.wp-block-navigation {
    --navigation-layout-justify: flex-start;
    --navigation-layout-justification-setting: flex-start;
  }

}

.wp-block-main-header .wp-block-navigation {
  margin-left: 0;
}

@media screen and (min-width: 600px) {
  .wp-block-main-header .wp-block-navigation {
    margin-left: auto;
  }
}

.header-media-inner-post,
.wp-block-main-header {

  ol.has-background,
  ul.has-background {
    padding: 0;
  }
}

/* --- WP Block Button
-------------------------------------------------------- */

input[type="button"],
input[type="reset"],
input[type="submit"],
.tnp-subscription-minimal form input.tnp-submit {
  font-family: var(--wp--preset--font-family--pt-sans);
  background: var(--wp--preset--gradient--gradient-1);
  border-radius: 28px;
  border: none;
  color: var(--wp--preset--color--color-dark);
  font-size: clamp(14px, 2.5vw, 15px) !important;
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.4;
  margin-top: 0.8rem;
  letter-spacing: 0.06em;
  padding: clamp(13px, 2.5vw, 14px) clamp(27px, 2.5vw, 35px);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 0 !important;
  cursor: pointer;
  transition: all 0.5s ease;
  text-align: center;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.tnp-subscription-minimal form input.tnp-submit:hover {
  border-color: transparent;
  background: var(--wp--preset--gradient--gradient-1-hover);
  color: var(--wp--preset--color--color-dark);
}

/* --- WP Block Mobile Toggle Icon
-------------------------------------------------------- */

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
  height: 28px;
  width: 28px;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  padding: 7px;
}

/* --- WP Block Query Pagination
-------------------------------------------------------- */

/* .wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
} */

.wp-block-query-pagination>.wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-child {
  margin-inline-start: initial;
}

.wp-block-query-pagination-numbers .page-numbers {
  box-sizing: border-box;
  display: inline-block;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  margin-top: 7px;
  margin-bottom: 7px;
  text-decoration: none;
  text-align: center;
  height: 40px;
  width: 40px;
  font-weight: 300;
}

.wp-block-query-pagination-numbers .page-numbers:not(.dots).current {
  color: var(--wp--preset--color--background);
  background: var(--wp--preset--gradient--gradient-1);
}

/* --- WP Block Post Terms( WP Block Post Meta)
-------------------------------------------------------- */

.wp-block-query:not(.block-editor-block-list__block) .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-columns.is-layout-flex > .wp-block-column:first-of-type {
  display: none;
}

.wp-block-query:not(.block-editor-block-list__block) .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-columns.is-layout-flex > .wp-block-column + .wp-block-column {
  width: 100%;
  flex-basis: 100% !important;
}

.wp-block-query:not(.block-editor-block-list__block) .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-columns.is-layout-flex {
  gap: 0;
}

.wp-block-post-meta .wp-block-post-author .wp-block-post-author__content {
  padding: 0;
}

.wp-block-post-meta .wp-block-post-author .icon-user {
  top: 0;
}

.wp-block-post-author__byline {
  font-size: 12px;
}

.wp-block-post-author__bio {
  font-size: 14px;
}

/* Post Terms in Single */
.single {
  .taxonomy-category.wp-block-post-terms,
  .taxonomy-post_tag.wp-block-post-terms {
    > a {
      margin-bottom: 7px;
      margin-right: 7px;
    }
    .wp-block-post-terms__separator {
      color: var(--wp--preset--color--meta);
    }
  }

  .wp-block-post-author__name {
    font-weight: 700;
  }
  .wp-block-post-author {
    padding: var(--wp--custom--spacing--extra-small);
    background-color: var(--wp--preset--color--secondary);
    .wp-block-post-author__name {
      color: var(--wp--preset--color--foreground);
      font-size: var(--wp--preset--font-size--normal);
      line-height: 1.75;
    }
    .wp-block-post-author__bio {
      font-size: 16px;
      line-height: 1.56;
    }
  }
}

/* --- WP Block Post Navigation Link
-------------------------------------------------------- */

.wp-block-post-navigation-link .post-navigation-link__label {
  display: block;
  font-size: var(--wp--preset--font-size--tiny);
  font-weight: var(--wp--custom--typography--font-weight--regular);
  line-height: 1.62;
  text-transform: uppercase;
  color: var(--wp--preset--color--meta);
  margin-bottom: 7px;
  letter-spacing: .083em;
}

.wp-block-post-navigation-link .post-navigation-link__label svg.icon {
  color: var(--wp--preset--color--meta);
  fill: var(--wp--preset--color--meta);
}

.post-navigation-link-next {
  margin-top: 21px;
}

.wp-block-post-navigation-link a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.wp-block-post-navigation-link a:hover,
.wp-block-post-navigation-link a:focus {
  color: var(--wp--preset--color--primary);
}


/* --- WP Block Post Template(wp-block-post)
-------------------------------------------------------- */

.is-flex-container.wp-block-post-template .wp-block-post-title {
    font-size: var(--wp--preset--font-size--content-heading);
    line-height: var(--wp--custom--typography--line-height--heading-two);
}

.wp-block-post-title a {
  text-decoration: none;
}

.wp-block-post-template .wp-block-post-title a {
  color: var(--wp--preset--color--foreground);
}

.wp-block-post-template .wp-block-post-title a:hover,
.wp-block-post-template .wp-block-post-title a:focus {
  color: var(--wp--preset--color--primary);
}

body>.is-root-container .wp-block-post-template>li .wp-block-post-container,
body .wp-block-post-template>li .wp-block-post-container {
  background-color: transparent;
  margin-top: 0;
  padding: 0;
}

.wp-block-post-meta {
  svg {
    display: none;
  }
}

svg.icon {
  fill: var(--wp--preset--color--body-text);
  height: 14px;
  margin-right: 7px;
  width: 14px;
  position: relative;
  top: 2px;
}

.post-navigation-link-next svg.icon {
  padding-left: 7px;
  padding-right: 0;
}

a svg.icon {
  fill: var(--wp--preset--color--foreground);
}

.wp-block-post-excerpt>*:last-child {
  margin-bottom: 0;
}

.wp-block-post-featured-image {
  overflow: hidden;
}

.wp-block-post-featured-image a {
  position: relative;
}

.wp-block-post-featured-image:hover img {
  transform: scale(1.05);
}

.wp-block-post-author {
  text-transform: capitalize;
}

.wp-block-post-author a {
  text-decoration: none;
}

.wp-block-post-featured-image a:before {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.wp-block-post-featured-image a:hover::before {
  opacity: 1;
}

.header-media-inner-post {
  .wp-block-post-date {
    svg {
      display: none;
    }
  }
}

.wp-block-post-template {
  .wp-block-post.has-post-thumbnail {
    position: relative;
    .wp-block-post-meta {
      .taxonomy-category {
        position: absolute;
        left: 21px;
        top: 21px;
        z-index: 1;
        a {
          color: var(--wp--preset--color--color-light);
          font-size: 13px;
          padding: 3px 12px;
          position: relative;
          text-decoration: none;
          &:before {
            background-color: var(--wp--preset--color--color-light);
            content: "";
            opacity: 0.47;
            height: 100%;
            left: 0;
            top: 0;
            position: absolute;
            width: 100%;
            z-index: -1;
          }
          &:hover {
            color: var(--wp--preset--color--color-dark);
            &:before {
              opacity: 1;
            }
          }
        }
      }
    }
  }
  .wp-block-post.has-post-thumbnail.sticky {
    &:before {
      content: "";
      position: absolute;
      top: 21px;
      right: 21px;
      width: 15px;
      height: 21px;
      background-image: url(assets/images/bookmark.png);
      z-index: 1;
    }
  }
}

/* For Editor Post Meta */
.block-editor-block-list__block.wp-block-post-template {
  .block-editor-block-list__block.wp-block.wp-block-post-meta,
  .block-editor-block-list__block.wp-block {
    position: static;
  }
}

/* --- WP Block Table
-------------------------------------------------------- */

.wp-block-table {
  a {
    text-decoration: none;
    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    &:hover {
      color: var(--wp--preset--color--primary);
    }
  }
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n + 1) {
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-table.is-style-stripes {
  border-bottom: 0;
}

.wp-block-table.is-style-stripes thead {
  border: 0;
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  border-color: var(--wp--preset--color--border-color);
  padding: 0.5em 1.4em;
}

.wp-block-table.is-style-stripe th:not(.has-text-align-left):not(.has-text-align-right):not(.has-text-align-center) {
  text-align: left;
}

/* --- WP Block Search
-------------------------------------------------------- */

.wp-block-search.wp-block-search__button-outside {
  .wp-block-search__inside-wrapper {
    position: relative;
    box-sizing: border-box;
    padding: 0;
    .wp-block-search__button {
      height: 100%;
      position: absolute;
      right: 0;
    }
  }
}

.wp-block-sidebar .wp-block-search {
  padding: 0;
}

/* Header Toogle Search */

.wp-block-fse-pro-header-search {
  .search-controller {
    svg {
      transition: 0.3s;
      fill: var(--wp--preset--color--color-light);
    }
    &:hover {
      svg {
        fill: var(--wp--preset--color--gray);
      }
    }
  }
  .search-container {
    background-color: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border-color);
    left: auto;
    right: 0;
    opacity: 0;
    display: block !important;
    visibility: hidden;
  }
}

.open-search {
  .wp-block-fse-pro-header-search {
      .search-container {
        opacity: 1;
        visibility: visible;
      }
    }
}

@media screen and (max-width: 1199px) {
  .mobile-gap {
    gap: 0 !important;
  }
}

/* --- WP Block Form and Input Fields
-------------------------------------------------------- */

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
  background-color: var(--wp--preset--color--secondary);;
  border-radius: 5px;
  border-color: var(--wp--preset--color--border-color);
  border-style: solid;
  border-width: 1px;
  color: var(--wp--preset--color--body-text);
  padding: 12px 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: var(--wp--custom--typography--font-weight--regular);
  width: 100%;
  box-sizing: border-box;
  transition: .2s background-color ease-in-out,.2s border-color ease-in-out;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
  &:focus {
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--foreground);
    outline: none;
  }
}

.wp-block-search__inside-wrapper input[type="search"] {
  padding-right: 49px;
}

/* --- WP Block Contact Form 7
-------------------------------------------------------- */
.wpcf7-form {
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="week"],
  input[type="month"],
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="number"],
  textarea {
    resize: none;
  }
  .two-col .wp-block-col,
  > p {
    margin-top: 0;
  }
  .wpcf7-form-control-wrap {
    display: block;
    margin-top: 7px;
  }
}

.required{
  color: #ff0000;
}
.comment-form-comment {
  margin-top: 35px;
}

/* --- WP Block Embed
-------------------------------------------------------- */

.wp-block-embed {
  margin-top: var(--wp--style--block-gap);
}

/* --- WP Block Image
-------------------------------------------------------- */

.wp-block-image .alignleft {
  margin-right: 2em;
}

.wp-block-image .alignright {
  margin-left: 2em;
}

/* --- Block Widget
-------------------------------------------------------- */

.wp-block-widget-area .wp-block-navigation ul {
  display: block;
}

.wp-block-footer .wp-block-widget-area * {
  font-size: var(--wp--preset--font-size--upper-heading);
  line-height: 1.75;
  font-weight: var(--wp--custom--typography--font-weight--regular);
}

.wp-block-widget-area .wp-block-site-title a {
  font-size: 24px;
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: var(--wp--custom--typography--line-height--paragraph);
}

.wp-block-widget-area a {
  text-decoration: none;
}

.wp-block-widget-area ul li {
  margin-bottom: 14px;
}

.wp-block-widget .wp-block-navigation .wp-block-navigation-item__content {
  font-weight: 400;
  font-size: 18px;
}

.footer-has-cover {
  .wp-block-navigation a:where(:not(.wp-element-button)) {
    &:hover {
      color: var(--wp--preset--color--meta) !important;
    }
  }
}

.wp-block-search .wp-block-search__label,
.wp-block-widget-area h3,
.wp-block-widget-area h2 {
  display: block;
  font-size: var(--wp--preset--font-size--upper-heading);
  line-height: 1.56;
  font-weight: 600;
  margin-bottom: 21px;
}

.wp-block-search .wp-block-search__label {
  color: var(--wp--preset--color--foreground);
}

.wp-block-tag-cloud>a {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 14px;
  text-decoration: none;

}

.wp-block-column-sidebar .wp-block-widget-area ul,
.wp-block-column-sidebar ul.wp-block-archives,
.wp-block-column-sidebar .wp-block-categories ul {
  list-style: none;
  padding-left: 0;
}

.wp-block-widget-area li {
  list-style: none;
}

.wp-block-archives-list>li,
.wp-block-categories-list>li {
  text-align: right;
}

.wp-block-sidebar,
.wp-block-footer {
  .wp-block-archives-list > li:before,
  .wp-block-archives-list > li:after,
  .wp-block-categories-list > li:before,
  .wp-block-categories-list > li:after {
    content: "";
    display: table;
    width: 100%;
  }

  ul.wp-block-categories,
  ul.wp-block-archives {
    padding-left: 0;
  }

  .wp-block-archives-list > li:after,
  .wp-block-categories-list > li:after {
    clear: both;
  }
}


.wp-block-archives-list>li>a,
.wp-block-categories-list>li>a {
  float: left;
}

.wp-block-sidebar {
  font-size: clamp(16px, 3.5vw, 18px);
}

.wp-block-categories .cat-item {
  text-align: right;
}

.wp-block-categories .cat-item a {
  float: left;
}

/* --- Block Widget Sidebar
-------------------------------------------------------- */

.wp-block-tag-cloud>a {
  background-color: var(--wp--preset--color--border-color);
}

.wp-block-tag-cloud>a:hover,
.wp-block-tag-cloud>a:focus {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--color-light);
}

.wp-block-sidebar .wp-block-widget .wp-block-archives li,
.wp-block-sidebar .wp-block-widget .wp-block-categories li {
  margin-bottom: 14px;
}

.wp-block-sidebar .wp-block-widget .wp-block-archives li:last-child,
.wp-block-sidebar .wp-block-widget .wp-block-categories li:last-child {
  margin-bottom: 0;
}

.wp-product-category-with-sidebar .wp-block-widget {
    padding: var(--wp--preset--spacing--30);
    background-color: var(--wp--preset--color--secondary) !important;
    width: 100%;
}

.wp-block-sidebar>*:not(:last-child) {
  margin-bottom: var(--wp--custom--spacing--wp-block-sidebar-widget);
}

.wp-block-sidebar>* h2 {
  margin-bottom: 21px;
}

.wp-block-widget-area .wp-block-latest-posts__post-author,
.wp-block-widget-area .wp-block-latest-posts__post-date {
  font-size: var(--wp--preset--font-size--tiny);
  line-height: 1.62;
  margin-top: 5px;
}


/* --- Block Footer style
-------------------------------------------------------- */

.wp-block-cover.has-sticky-playlist-visible {
  padding-bottom: 68px !important;
}

.wp-block-footer .wp-block-navigation .wp-block-page-list {
  display: block;
}

footer .wp-block-image {
  margin-top: 0;
}

footer>*+* {
  margin-block-start: 0 !important;
}

.wp-block-footer {
  margin-top: 0 !important;
}

.wp-block-footer.wp-block-site-generator p {
  white-space: normal !important;
}

.footer-has-cover {
  .wp-block-archives-list,
  .wp-block-categories-list {
    li {
      a {
        color: var(--wp--preset--color--color-light);
        &:hover {
          color: var(--wp--preset--color--primary);
        }
      }
    }
  }

}

/* --- Block Widget Footer
-------------------------------------------------------- */

.wp-block-footer-widget-area-columns {
  margin-bottom: 0;
  padding-bottom: var(--wp--custom--spacing--wp-footer-vertical);
  padding-top: var(--wp--custom--spacing--wp-footer-vertical);
}

.wp-block-footer.wp-block-site-generator p {
  font-size: var(--wp--preset--font-size--tiny);
  letter-spacing: 1px;
}

.wp-block-site-info>p a {
  color: var(--wp--preset--color--color-light);
}

.wp-block-site-info>p a:hover,
.wp-block-site-info>p a:focus {
  color: var(--wp--preset--color--primary);
}

.wp-block-footer.wp-block-site-generator a {
  text-decoration: none;
}

.footer-copyright a {
  &:hover {
    text-decoration: underline;
  }
}

.wp-block-footer .wp-block-widget:not(:last-child),
.wp-block-footer .wp-block-widget>*:not(:last-child),
.wp-block-footer .wp-block-latest-posts__list>li:not(:last-child) {
  margin-bottom: var(--wp--custom--spacing--extra-small);
}

.wp-block-widget-area .wp-block-widget figure {
  line-height: 0;
  margin-bottom: 0;
}


/* --- WP Block Sections
-------------------------------------------------------- */

.wp-block-section {
  padding-bottom: var(--wp--custom--spacing--section-block-top);
  padding-top: var(--wp--custom--spacing--section-block-top);
}

.section-has-padding-top {
  padding-top: var(--wp--custom--spacing--section-block-top);
}

.wp-block-section.wp-block-header-media-no-image {
  padding-bottom: var(--wp--custom--spacing--main-block-gap);
  padding-top: var(--wp--custom--spacing--main-block-gap);
}

.wp-block-section+.wp-block-section,
.page-template-blank .wp-site-blocks footer,
.page-template-front .wp-site-blocks footer,
footer.wp-block-template-part {
  margin-top: 0;
}

/* --- Drop Cap
-------------------------------------------------------- */

.has-drop-cap:not(:focus)::first-letter {
  color: var(--wp--preset--color--foreground);
  margin: 14px 16px 4px -3px;
  font-weight: 400;
  font-size: 92px;
  line-height: .6;
}

/* --- WP Block Image
-------------------------------------------------------- */

.wp-block-cover-image,
.wp-block-cover {
  min-height: 320px;
  transition: all 0.3s ease-in-out;
}

.header-media-inner-post {
  .wp-block-cover {
    min-height: 100%;
    //padding: clamp(3.5em, 8.5vw, 7.5em) clamp(2em, 6.5vw, 3em)
    padding: var(--wp--preset--spacing--120) var(--wp--custom--spacing--outer) clamp(80px, 9.5vw, 140px) var(--wp--custom--spacing--outer);
  }

}

.wp-block-image figure.alignright,
.wp-block-image figure.alignleft,
.wp-block[data-align="left"] .wp-block-image,
.wp-block[data-align="right"] .wp-block-image,
.wp-block-cover.alignleft,
.wp-block-cover.alignright,
.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright,
.wp-block[data-align="left"]>.wp-block-pullquote,
.wp-block[data-align="right"]>.wp-block-pullquote,
[data-align="left"]>.wp-block-cover,
[data-align="right"]>.wp-block-cover,
.wp-block-embed.alignleft,
.wp-block-embed.alignright,
.wp-block[data-align="left"]>.wp-block-embed,
.wp-block[data-align="right"]>.wp-block-embed {
  max-width: 320px;
  width: 100%;
}

.wp-block-cover.alignleft,
.wp-block-pullquote.alignleft,
.wp-block[data-align="left"]>.wp-block-pullquote,
[data-align="left"]>.wp-block-cover,
.wp-block-embed.alignleft,
.wp-block[data-align="left"]>.wp-block-embed {
  margin-right: 2em !important;
  margin-bottom: 1.5em;
}

.wp-block-cover.alignright,
.wp-block-pullquote.alignright,
.wp-block[data-align="right"]>.wp-block-pullquote,
[data-align="right"]>.wp-block-cover,
.wp-block-embed.alignright,
.wp-block[data-align="right"]>.wp-block-embed {
  margin-left: 2em !important;
  margin-bottom: 1.5em;
}


/* --- WP Block Figcaption
-------------------------------------------------------- */
.wp-block-image.alignleft,
.wp-block-image.alignright {
  margin-top: 32px;
}

.wp-site-blocks figure figcaption,
figure figcaption {
  color: var(--wp--preset--color--meta);
  font-size: 16px;
  line-height: var(--wp--custom--typography--line-height--paragraph);
  padding: 7px 14px;
  margin: 0;
}

/* --- WP Block Calendar
-------------------------------------------------------- */

.wp-block-calendar table th {
  border-color: var(--wp--preset--color--border-color);
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-calendar th,
.wp-block-calendar tbody td {
  border-color: var(--wp--preset--color--border-color);
}

.wp-block-calendar tbody td#today {
  color: var(--wp--preset--color--foreground);
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

.wp-block-calendar table caption {
  color: var(--wp--preset--color--foreground);
  margin-bottom: 7px;
}

/* --- WP Block Header Search and Social (Toggle)
-------------------------------------------------------- */

.toggle-social-and-toggle-search {
  margin-top: 0 !important;
}

.wp-block-custom-header-media-with-title-and-nav .wp-block-euphony-blocks-pro-header-social .social-container,
.wp-block-custom-header-media-with-title-and-nav .wp-block-euphony-blocks-pro-header-search .search-container {
  left: -30px;
  right: -30px;
  width: calc(100% + 60px);
}

.wp-block-main-header {
  position: relative;
  z-index: 9;
}

.wp-block-euphony-blocks-pro-header-social .social-container {
  background: var(--wp--preset--color--secondary);
}

.wp-block-euphony-blocks-pro-header-search svg:hover,
.wp-block-euphony-blocks-pro-header-search svg:focus,
.wp-block-euphony-blocks-pro-header-social svg:hover,
.wp-block-euphony-blocks-pro-header-social svg:focus {
  fill: var(--wp--preset--color--foreground);
}

.wp-block-euphony-blocks-pro-header-search .wp-block-search {
  padding: 0;
}

/* New for Social and Search */

.wp-block-main-header .wp-block-main-header-container,
.wp-block-main-header .wp-block-social-search-container {
  gap: 0;
}

.wp-block-euphony-blocks-pro-header-search .search-container,
.wp-block-euphony-blocks-pro-header-social .social-container {
  left: 0;
  padding: clamp(14px, 1.5vw, 21px) 28px;
  background-color: var(--wp--preset--color--secondary);
  animation: smoothScrollBack 0s backwards, fadein 0.6s;
}

.alignfull.wp-block-main-header .wp-block-euphony-blocks-pro-header-search .search-container,
.alignfull.wp-block-main-header .wp-block-euphony-blocks-pro-header-social .social-container {
  padding: clamp(14px, 1.5vw, 21px) var(--wp--custom--spacing--outer);
}

@keyframes smoothScrollBack {
  0% {
    transform: translateY(40px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.wp-block-euphony-blocks-pro-header-search .search-controller:hover svg,
.wp-block-euphony-blocks-pro-header-social .social-controller:hover svg,
.wp-block-social-search-container .wp-block-social-links.is-style-logos-only .wp-social-link a:hover {
  color: var(--wp--preset--color--primary);
  fill: var(--wp--preset--color--primary);
}

.wp-block-euphony-blocks-pro-header-search svg,
.wp-block-euphony-blocks-pro-header-social svg,
.wp-block-social-search-container .wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor {
  color: var(--wp--preset--color--foreground);
  fill: var(--wp--preset--color--foreground);
}

.header-with-search-cart .header-inner-wrapper {
  width: 100%;
}


/* --- WP Block Slider
-------------------------------------------------------- */

.fse-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.fse-slider-wrapper .tns-outer {
  position: relative;
}

.fse-slider-wrapper .wp-block-image figcaption {
  bottom: 55px;
  color: var(--wp--preset--color--color-light);
  font-size: var(--wp--preset--font-size--content-heading);
  left: 50%;
  margin: 0 auto;
  max-width: 760px;
  opacity: 0;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transform-origin: top;
  visibility: hidden;
  width: 100%;
  transition: all 0.5s ease;
  padding: 15px;
  box-sizing: border-box;
}

.fse-slider-wrapper .tns-item.tns-slide-active .wp-block-image figcaption {
  opacity: 1;
  transition-delay: 0.2s;
  visibility: visible;
}

/* Sliding Testimonial */
.sliding-testimonial {
  max-width: 600px;
}

/* Nan Arrows */
.tns-control>button {
  background: var(--wp--preset--color--border-color);
  border: 0;
  color: var(--wp--preset--color--foreground);
  cursor: pointer;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: var(--wp--custom--typography--line-height--paragraph);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.5s ease;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.tns-control>button.tns-prev {
  left: -50px;
}

.tns-control>button.tns-next {
  right: -50px;
}

.tns-control>button>span {
  display: none;
}

.tns-control>button:before {
  content: "";
  display: inline-block;
  color: inherit;
  opacity: 1;
  width: 0.6rem;
  height: 0.6rem;
  border-style: solid;
  border-color: currentColor;
  border-width: 0.2rem 0.2rem 0 0;
}

.tns-control>button.tns-prev:before {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  margin-left: 4px;
}

.tns-control>button.tns-next:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-right: 4px;
}

.tns-control>button:hover,
.tns-control>button:focus {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--foreground);
}

/* Nav Dots */
.tns-nav>button {
  border: 0;
  background-color: var(--wp--preset--color--border-color);
  height: 10px;
  line-height: 10px;
  margin: 0 4px;
  width: 10px;
  border-radius: 100%;
  box-shadow: none;
  position: relative;
  transition: all 0.5s ease;
  padding: 0;
}

.tns-nav>button:hover,
.tns-nav>button:focus {
  background-color: var(--wp--preset--color--foreground);
}

.tns-nav>button.tns-nav-active {
  background-color: var(--wp--preset--color--foreground);
}

.tns-nav {
  line-height: 0;
  text-align: center;
}

/* Dots Positions */
.fse-slider-wrapper.horizontal-inside-slider-bottom-left .tns-nav,
.fse-slider-wrapper.horizontal-inside-slider-bottom-center .tns-nav,
.fse-slider-wrapper.horizontal-inside-slider-bottom-right .tns-nav {
  bottom: 28px;
  position: absolute;
  width: 100%;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-left .tns-nav {
  text-align: left;
  left: 28px;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-center .tns-nav {
  text-align: center;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-right .tns-nav {
  text-align: right;
  right: 28px;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-left .tns-nav,
.fse-slider-wrapper.horizontal-outside-slider-bottom-center .tns-nav,
.fse-slider-wrapper.horizontal-outside-slider-bottom-right .tns-nav {
  margin-top: 28px;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-left .tns-nav {
  margin-left: 28px;
  text-align: left;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-center .tns-nav {
  text-align: center;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-right .tns-nav {
  margin-right: 28px;
  text-align: right;
}

/* --- WP Block The Newsletter Plugin
-------------------------------------------------------- */

.tnp-subscription-minimal form {
  text-align: left !important;
}

.site-newsletter {
  text-align: center;
}

.site-newsletter .tnp-subscription-minimal {
  margin-top: 35px;
}

.tnp-subscription-minimal form input.tnp-email {
  background-color: transparent;
  border-color: transparent;
  max-width: 100%;
  padding: 13px 21px;
  margin-right: 0;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--body-text);
  width: 100%;
  display: block;
  border-radius: 5px;
}

.tnp-subscription-minimal form input.tnp-email:focus {
  color: var(--wp--preset--color--color-dark);
}

.wp-block-tnp-minimal>p {
  margin: 0;
}

.tnp-subscription-minimal form input.tnp-submit {
  margin-top: 21px;
}

/* --- WP Block The Newsletter Plugin For Footer
-------------------------------------------------------- */

.wp-block-footer .tnp-subscription-minimal form {
  position: relative;
  max-width: 360px;
  display: flex;
}

.wp-block-footer .tnp-subscription-minimal input.tnp-submit {
  margin-top: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  font-size: 14px;
}

.wp-block-footer .wp-block-tnp-minimal {
  padding: 0 !important;
}

.wp-block-fse-pro-accordion .accordion-controls .toggle-btn {
  color: var(--wp--preset--color--body-text) !important;
  &:hover {
    color: var(--wp--preset--color--primary) !important;
  }
}

/* --- WP Block Breadcumb
-------------------------------------------------------- */

.breadcrumb-area {
  font-size: 14px;
  margin: 0;
  width: unset;
}

.woocommerce .breadcrumb-area .woocommerce-breadcrumb {
  font-size: 14px;
}

.catch-breadcrumb.breadcrumb-area {
  margin-bottom: 0;
  width: auto !important;
}

.breadcrumb-area .entry-breadcrumbs,
.catch-breadcrumb.breadcrumb-area .section-wrapper {
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  text-transform: capitalize;
}

.breadcrumb-area a,
.woocommerce .breadcrumb-area .woocommerce-breadcrumb a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.header-media-inner-post .breadcrumb-area a {
  color: var(--wp--preset--color--color-light);
}

.breadcrumb-area a:hover,
.woocommerce .breadcrumb-area .woocommerce-breadcrumb a:hover {
  color: var(--wp--preset--color--primary);
}

.breadcrumb .breadcrumb-current {
  opacity: 0.4;
}

.header-media-inner-post .wp-block-post-title+.breadcrumb-area,
.header-media-inner-post+.breadcrumb-area {
  margin: 14px 0 0 0;
}

body .wp-block-inner-page-title {
  margin-bottom: var(--wp--custom--spacing--group-heading-bottom-gap);
  font-size: 16px;
}

.wp-block-inner-page-title .wp-block-term-description {
  margin: 7px 0 0 0;
}

.wp-block-inner-page-title .wp-block-term-description p {
  margin: 0;
}

.wp-block-inner-page-title .wp-block-post-title,
.wp-block-inner-page-title .wp-block-query-title,
.woocommerce-products-header__title.page-title {
  font-size: var(--wp--preset--font-size--product-heading);
  line-height: var(--wp--custom--typography--line-height--heading-three);
}

/* --- WP Block Sidebar
-------------------------------------------------------- */
@media screen and (max-width: 782px) {
  .wp-block-sidebar-on-left > .wp-block-column.wp-block-column-sidebar {
    order: 2;
  }
  .wp-block-sidebar-on-left > .wp-block-column:not(.wp-block-column-sidebar) {
    order: 1;
  }
}

.wp-block-columns.wp-block-sidebar-on-right,
.wp-block-columns.wp-block-sidebar-on-left {
  gap: 0;
}


/* Increased Anchor Space To 42px */

.wp-block-euphony-blocks-pro-header-social .social-controller,
.wp-block-euphony-blocks-pro-header-search .search-controller {
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.wp-block-main-header .euphony-blocks-pro-icons a {
  display: flex;
  padding: 8px;
}

.simple-audio-player .simp-controls button {
  height: 40px;
  padding: 10px;
  width: 40px;
}

@media screen and (max-width: 1200px) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    padding: 7px 0;
  }
}

.wp-block-sticky-music-playlist .simple-audio-player .simp-controls .simp-others .simp-shide button svg {
  width: 22px;
  height: 22px;
}

.wp-block-sticky-music-playlist .simple-audio-player .simp-controls .simp-others .simp-shide button {
  display: inline-block;
  line-height: 0px;
  height: auto;
  width: auto;
  padding: 10px;
}

/* --- WP Block Social
-------------------------------------------------------- */

/* Overwrite the codes from fse pro */
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a,
.wp-block-social-links.is-style-default .wp-social-link .components-button,
.wp-block-social-links.is-style-default .wp-social-link a {
  background-color: inherit !important;;
  color: inherit !important;;
  border-radius: inherit !important;;
}

.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button:hover,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button:focus,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a:hover,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a:focus,
.wp-block-social-links.is-style-default .wp-social-link .components-button:hover,
.wp-block-social-links.is-style-default .wp-social-link .components-button:focus,
.wp-block-social-links.is-style-default .wp-social-link a:hover,
.wp-block-social-links.is-style-default .wp-social-link a:focus {
  background-color: inherit !important;
  color: inherit !important;
}

.wp-block-social-links.is-style-logos-only.has-small-icon-size .wp-social-link svg {
  height: 1em;
  width: 1em;
}

/* Social hover for theme */
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
  &:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--color-dark) !important;
  }
}

.wp-block-social-links.is-style-logos-only .wp-social-link {
  &:hover {
    color: var(--wp--preset--color--primary) !important;
  }
}

/* Social Inside Slider */
.wp-site-blocks {
  .absolute-social {
    display: none;
  }
}

.absolute-social {
  position: absolute !important;
  top: 70vh;
  left: 28px;
  z-index: 999;
  -webkit-transform: rotate(-90deg) translateX(0);
  -moz-transform: rotate(-90deg) translateX(0);
  -ms-transform: rotate(-90deg) translateX(0);
  -o-transform: rotate(-90deg) translateX(0);
  transform: rotate(-90deg) translateX(0);
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  margin: 0 !important;

  ul li+li a {
    position: relative;

    &:before {
      background-color: var(--wp--preset--color--primary);
      content: "";
      position: absolute;
      top: 50%;
      left: -8px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      margin-top: -2px;
    }
  }
  .wp-block-social-links.is-style-logos-only {
    .wp-social-link {
      .wp-block-social-link-anchor {
        padding: 7px;
      }
    }
  }
}


/* For Navigation colors */

.wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container {
  color: inherit;
}

.wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open {
  color: inherit;
}


/* Is Style Light */
.is-style-light {
  .wp-block-navigation {
    .has-child {
      .wp-block-navigation__submenu-container {
        .wp-block-navigation-item__content {
          color: var(--wp--preset--color--foreground);
          &:hover {
            color: var(--wp--preset--color--primary) !important;
          }
        }
        .wp-block-navigation-item.current-menu-item {
          > .wp-block-navigation-item__content {
              color: var(--wp--preset--color--primary) !important;
          }
        }

      }
    }
  }
}

@media screen and (max-width: 1199px) {
  .is-style-light {
      .wp-block-navigation {
            .wp-block-navigation-item__content {
              color: var(--wp--preset--color--foreground);

              &:hover {
                color: var(--wp--preset--color--primary) !important;
              }
            }
      }
      .wp-block-navigation__responsive-container-open {
        color: var(--wp--preset--color--background) !important;
        &:hover {
          color: var(--wp--preset--color--gray) !important;
        }
      }
      .wp-block-navigation .current-menu-item>.wp-block-navigation-item__content.wp-block-navigation-item__content,
      .wp-block-navigation .wp-block-navigation-submenu.current-menu-item>.wp-block-navigation__submenu-icon svg,
      .wp-block-navigation .current-nav-item>.wp-block-navigation-item__content.wp-block-navigation-item__content,
      .wp-block-navigation .wp-block-navigation-submenu.current-nav-item>.wp-block-navigation__submenu-icon svg {
        color: var(--wp--preset--color--primary);
      }
    }

}

audio::-webkit-media-controls-enclosure {
  border-radius: 0;
}

/* Primary Search */
.wp-primary-search {
  .wp-search-toggle-container {
    padding: 10px;
    display: inline-block;
    cursor: pointer;
    line-height: 1;

    .wp-search-toggle {
      width: 22px;
      height: 22px;
      display: inline-block;
      -webkit-mask: url(assets/images/search.svg) no-repeat 50% 50%;
      mask-size: auto;
      mask: url(assets/images/search.svg) no-repeat 50% 50%;
      mask-size: auto;
      -webkit-mask-size: cover;
      mask-size: cover;
      background-color: var(--wp--preset--color--color-light);
      text-indent: -9999px;
     transition: all .2s ease-in-out 0s;
    }

    &:is(:hover, :focus) {
      .wp-search-toggle {
        background-color: var(--wp--preset--color--gray);
      }
    }
  }

  .wp-search-container {
    position: absolute;
    top: 100%;
    background-color: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border-color);
    padding: 21px;
    margin: 0;
    z-index: 2;
    right: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease-in-out 0s;
  }

  &.toggled-on {
    .wp-search-toggle {
      -webkit-mask: url(assets/images/close.svg) no-repeat 50% 50%;
      mask-size: auto;
      mask: url(assets/images/close.svg) no-repeat 50% 50%;
      mask-size: auto;
      -webkit-mask-size: cover;
      mask-size: cover;
    }

    .wp-search-container {
      visibility: visible;
      opacity: 1;
    }
  }
}

@media screen and (min-width: 640px) {
  .wp-primary-search {
    position: relative;

    .wp-search-container {
      left: auto;
      width: 335px;
    }
  }
}

@media screen and (min-width: 782px) {
  .wp-primary-search {
    .wp-search-container {
      transform: translateX(40px);
    }
  }

  .show-search {
    .wp-primary-search {
        .wp-search-container {
          transform: translateX(0);
        }
      }
    }
}

@media screen and (max-width: 781px) {
  .btn-mobile-filters {
    .wp-block-button {
      width: 100%;

      .wp-block-button__link {
        display: block;
        text-transform: uppercase;

        &:after {
          content: "\279C";
          transform: rotate(90deg);
          display: inline-block;
          margin-left: 5px;
          font-size: 12px;
          transition: 0.3s;
        }
      }
    }
  }

  .mobile-filters {
    display: none;
  }

  .btn-mobile-filters.toggled-on {
    .wp-block-button {
      .wp-block-button__link {
        &:after {
          transform: rotate(270deg);
        }
      }
    }

    +.mobile-filters {
      display: block;
    }
  }

  .wp-product-category-with-sidebar.wp-block-sidebar-on-left,
  .wp-product-category-with-sidebar.wp-block-sidebar-on-right {
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 782px) {
  .btn-mobile-filters {
    display: none !important;
  }

  .btn-mobile-filters {
    +.mobile-filters {
      margin-top: 0;
    }
  }
}

