section.widget {
  margin-bottom: 20px;

  &:not(.widget_media_image) {
    background: #fff;
    padding: 20px;
    border-radius: var(--ns-radius) ;
  }

  .wg-header {
    margin-bottom: 15px;

    h6 {
      text-align: right;
      color: #7a7a7a;
      font-size: 14px;
      margin: 0;
    }

    &--underline {
      h6 {
        display: inline-block;
        position: relative;
        color: #222;
        padding-bottom: 10px;


        &:after {
          background-color: #222;
          content: "";
          display: block;
          width: 100%;
          height: 2px;
          position: absolute;
          bottom: 0;
          right: 0;
        }
      }
    }

    &--bold {
      h6 {
        display: inline-block;
        position: relative;
        color: #222 !important;
        padding-bottom: 10px;
        font-size: 16px;
        font-weight: 700;
      }
    }
  }


  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: normal;

    li {
      a {
        font-size: 13px;

        &:hover {
          color: var(--ns-primary);
        }
      }
    }
  }

  .blog-posts {
    ul {
      li {
        position: relative;
        padding-right: 60px;
        list-style: none !important;
        margin-bottom: 10px;

        figure {
          width: 50px;
          margin: 0;
          margin-right: -60px;
          float: right;

          img {
            width: 100%;
            border-radius: 100%;
          }
        }

        a {
          &::after {
            content: "";
            display: block;
            clear: both;
          }
        }

        h3 {
          font-size: 13px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          margin-bottom: 3px;
          padding-top: 5px;
          display: block;
          font-weight: normal;
        }

        time {
          font-size: 13px;
          color: #aaa;
          text-align: left;
          display: block;
        }
      }
    }
  }

  &--underline {
    border-bottom: #eee 1px solid !important;
    padding: 0 0 20px 0 !important;
    background: transparent !important;
  }

  &--bordered {
    border: #eee 1px solid !important;
  }

  &--simple {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
  }
}

@media screen and (min-width: 992px) {
  .product-archive-filters--popup {

    .shop-archive-sidebar {
      position: absolute;
      margin-top: 20px;
      left: 10px;
      right: 10px;
      z-index: 99;
      background: #fff;
      padding: 60px 30px;
      box-shadow: rgba(0, 0, 0, 0.1) 0 6px 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      transition: 0.2s;

      section.widget {
        flex: 20%;
        margin-bottom: 0 !important;
      }

      &:not(.show) {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
      }

      &.show {
        display: flex !important;
      }
    }
  }
}