.objects-archive-container {
  padding: 0px 15px;
  & h1 {
    font-family: "Playfair-Display", sans-serif;
    font-size: 56px;
    font-weight: 400;
    color: #070707;
    text-align: center;
    @media (max-width: 580px) {
      font-size: 39.6px;
    }
  }
  & .object-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;

    @media (max-width: 860px) {
      grid-template-columns: 1fr;
    }

    & .object-item {
      background-color: #ffffff;
      padding: 20px;
      border-radius: 16px;
      text-decoration: none;
      @media (max-width: 580px) {
        padding: 12px;
      }

      & .object-content {
        & .images-container {
          position: relative;

          & img {
            width: 100%;
            object-fit: cover;
            height: 480px;
            border-radius: 8px;

            @media (max-width: 1160px) {
              height: 420px;
            }

            @media (max-width: 860px) {
              height: 390px;
            }

            @media (max-width: 580px) {
              height: 365px;
            }
          }

          & .sold-object {
            position: absolute;
            left: 10px;
            bottom: 10px;
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #ffffff;
            padding: 10px 14px;
            background-color: #9a9a9a4d;
            border-radius: 4px;
          }
        }

        & .item-title {
          display: flex;
          align-items: center;
          gap: 24px;
          justify-content: space-between;
          margin-top: 28px;

          @media (max-width: 780px) {
            flex-direction: column;
            align-items: flex-start;
            margin-top: 16px;
          }

          & h3 {
            font-family: "Playfair-Display", sans-serif;
            font-size: 36px;
            font-weight: 400;
            color: #070707;
            margin: 0;
            text-decoration: none;

            @media (max-width: 780px) {
              order: 2;
            }

            @media (max-width: 580px) {
              font-size: 26px;
            }
          }
        }

        & p.address {
          font-family: "Inter-Display", sans-serif;
          font-size: 14px;
          font-weight: 500;
          color: #181811;
          margin-bottom: 0px;
          display: flex;
          gap: 6px;

          @media (max-width: 780px) {
            order: 1;
            display: flex;
            gap: 10px;
            align-items: center;
          }
        }
      }

      & .load-bar-section {
        margin-top: 48px;

        @media (max-width: 780px) {
          margin-top: 36px;
        }

        & .load-bar-container {
          width: 100%;
          background-color: #ddd;
          border-radius: 8px;
          height: 20px;
          margin-bottom: 10px;
          position: relative;

          & .load-bar-background {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: #ddd;
            border-radius: 8px;
            overflow: hidden;

            & .load-bar-fill {
              height: 100%;
              background-color: #566955;
              border-radius: 8px;
              position: absolute;
              top: 0;
              left: 0;
              transition: width 1s ease;
            }
          }
        }

        & .loadbar-text-container {
          display: flex;
          justify-content: space-between;

          & p {
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 400;
            color: #181811;
            margin-top: 16px;
            margin-bottom: 0px;
          }

          & p:last-child {
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #181811;
            margin-top: 16px;
            margin-bottom: 0px;
          }
        }
      }
    }
  }
  & .object-archive-grid.no-objects {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 200px;
    text-align: center;
    & p {
      font-size: 36px;
      font-family: "Playfair-Display", sans-serif;
    }
  }
}
.load-more-container {
  padding: 0px 15px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  & button#load-more {
    font-family: "Inter-Display", sans-serif;
    background-color: #566955;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    border-radius: 12px;
    text-transform: capitalize;
    width: 155px;
    height: 63px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }
}

.toggle-buttons {
  margin: 0 auto;
  margin-bottom: 40px;
  display: flex;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  width: 233px;
  height: 56px;
  background-color: #ffffff;
  padding: 4px;

  & .toggle-btn {
    padding: 10px 20px;
    border: none;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.5s, color 0.5s;
    font-family: "Inter-Display", sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
  }
  & .toggle-btn.active {
    background-color: #566955;
    color: #ffffff;
    border-radius: 8px;
  }
}
