.archive.post-type-archive-negozio {
  #main-container {
    .inner--main {
      max-width: 100%;
    }
  }
}

.archive-store {
  display: flex;
  flex-direction: column;
  font-family: $font-family-sans-serif;

  @media screen and($bp-larger-than-desktop) {
    flex-direction: row;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: calc(100vw);
  }

  .map-store {
    width: 100%;
    height: 600px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: calc(100vw);

    @media screen and($bp-larger-than-desktop) {
      height: calc(100vh - 189px);
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      max-width: 100%;
    }
  }

  .store-number {
    text-align: center;
    width: 100%;
    border: 1px solid #ccc;
    border-right: 0;
    border-left: 0;
    border-top: 0;
    font-weight: 500;
    color: #ccc;
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: $font-family-sans-serif;
    letter-spacing: inherit;
    line-height: inherit;
  }

  .store-list-mobile {
    @media screen and($bp-larger-than-desktop) {
      display: none;
    }

    .teaser-store {
      min-height: 142px;
      margin: 5px 0;

      .content {
        width: 100%;
        padding: 0px 20px;
      }

      article {
        width: 100%;
        height: 100%;

        figure {
          position: absolute;
          inset: 0;
          padding: 0;
          width: 100%;
          height: 100%;
        }
      }

      .city {
        display: flex;
        align-items: center;
        margin-bottom: 15px;

        h5 {
          width: auto;
          margin-bottom: 0;
          padding-left: 5px;
        }
      }

      .address {
        text-align: left;

        h3 {
          font-weight: 600;
          margin-bottom: 20px;
        }

        a {
          margin: 0;
          font-weight: 500;
        }

        span {
          font-weight: 500;
        }
      }
    }
  }

  .store-list {
    width: 100%;
    display: none;
    flex-direction: column;
    padding-right: 4rem;
    margin-left: 5rem;
    flex-shrink: 0;

    @media screen and($bp-larger-than-desktop) {
      display: flex;
      width: 450px;
    }

    .teaser-store {
      min-height: 104px;
      margin: 5px 0;

      .content {
        width: 100%;
        padding: 0px 20px;
      }

      article {
        width: 100%;
        height: 100%;

        figure {
          position: absolute;
          inset: 0;
          padding: 0;
          width: 100%;
          height: 100%;
        }
      }

      .city {
        display: flex;
        align-items: center;
        margin-bottom: 15px;

        h5 {
          width: auto;
          margin-bottom: 0;
          padding-left: 5px;
          color: black;
        }
      }

      .address {
        display: flex;
        justify-content: space-between;

        h3 {
          margin: 0;
          font-weight: 600;
        }

        a {
          margin: 0;
          font-weight: 500;
        }

        span {
          font-weight: 500;
        }
      }
    }
  }

  .popup-marker {
    .content {
      text-align: center;

      header {
        margin: 10px 0;

        a {
          font-family: $font-family-sans-serif  !important;
          color: black !important;
        }

        h5 {
          font-weight: 500;
        }

        h3 {
          font-weight: 600;
        }

        h5,
        h3 {
          font-family: $font-family-sans-serif  !important;
          margin-bottom: 0;
          font-size: 16px;
          letter-spacing: 1px;
        }
      }

      a {
        font-weight: 500;
      }
    }
  }
}