/* NRO (locations/new-locations Page ------------------------------------------------------------ START*/

.locations-page {
  margin: 0;
  padding: 32px 0 32px;
  background: transparent;
  min-height: calc(100vh - 432px);

  .new-locations.container {
    max-width: 880px;
    border-radius: 12px;
    padding: 24px;
  }

  .new-locations p.no-record {
    text-align: center;
    font-family: "TradeGothicLTStd", "Trade Gothic LT Std", sans-serif;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .new-locations .tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 680px;
    /* padding: 3px;
        background: #e7e7e7; */
    border-radius: 40px;
    flex-wrap: wrap;
  }

  .new-locations .tab {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    font-family: "TradeGothicLTStd", "Trade Gothic LT Std", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    color: #606060;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.25s ease;
    background: #e7e7e7;
  }

  .new-locations .tab a {
    color: inherit !important;
    text-decoration: none;
    text-wrap-mode: nowrap;
    white-space: nowrap;
  }

  .new-locations .tab:not(.active):hover {
    background: #dcdcdc;
  }

  .new-locations .tab.active {
    background: var(--brand-red, #be2f37);
    color: #ffffff;
  }

  .location-card {
    display: flex;
    min-height: 150px;
    margin-bottom: 16px;
    background: transparent;
    border: 1px solid #000;
    border-radius: 16px;
    overflow: hidden;
    flex-direction: column;
  }

  .location-card .card-image {
    flex: 0 0 180px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .location-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-fit: cover; */
    display: block;
  }

  .card-content {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    width: 100%;
    padding: 32px;
    flex-direction: column;
  }

  .loc-title {
    font-family: "TradeGothicLTStd-BdCn20";
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 0;
  }

  a .loc-title:hover {
    color: black;
  }

  .card-text a {
    text-decoration: underline;
  }

  .card-text a:hover {
    text-decoration: none;
    color: #000;
  }

  .address {
    font-family: "TradeGothicLTStd-Cn18";
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--brand-body-accent-color, #606060);
  }

  .card-status {
    display: flex;
    align-items: center;
  }

  .status-pill {
    padding: 8px 32px;
    border: 2px solid var(--brand-red, #be2f37);
    border-radius: 30px;
    background: transparent;
    font-family: "TradeGothicLTStd-BdCn20";
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--brand-red, #be2f37);
  }

  .comingsoon .status-pill {
    background: var(--brand-red);
    color: #ffffff;
    border: none;
  }

  @media (max-width: 767px) {
    .locations-page {
      padding: 20px 0;

      .new-locations.container {
        padding: 16px;
      }

      .new-locations .tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        background: transparent;
        border-radius: 16px;
      }

      .new-locations .tab {
        padding: 12px 0;
        background: #e7e7e7;
      }

      .location-card {
        gap: 10px;
      }

      .card-content {
        display: grid;
        grid-template-rows: auto auto;
        gap: 16px;
        padding: 20px 20px 20px 0;
        justify-content: center;
      }

      .card-text {
        text-align: center;
      }

      .card-status {
        justify-content: center;
        width: 100%;
      }

      .status-pill {
        padding: 6px 14px;
      }
    }
  }

  @media (min-width: 576px) {
    .location-card {
      flex-direction: row;
    }

    .location-card .card-image {
      flex: 0 0 12.5rem;
    }
  }

  @media (min-width: 768px) {
    .new-locations .tabs {
      flex-wrap: nowrap;
      background: #e7e7e7;
    }
  }

  @media (min-width: 992px) {
    .card-content {
      flex-direction: row;
      align-items: center;
    }

    .address {
      margin-bottom: 0;
    }
  }
}

/* NRO (locations/new-locations  Page ------------------------------------------------------------END*/
