.load-card-add {
      --primary-color: #ffffff;
      --background: rgb(31, 31, 31);
      --hover-bg: #151515;
      --box-shadow: #12e58b;
      --border: #12e58b;
      --price-color: #12e58b;
      --unit-pills-bg: #12e58b;
      --unit-pills-color: rgb(72, 72, 72);
      --bold: 600;
      --semi-bold: 500;
      font-family: "poppins", sans-serif;
      display: grid;
      grid-row-gap: 4px;
      text-decoration: none;
      padding: 8px 16px;
      border-radius: 8px;
      box-shadow: var(--box-shadow) 0px 0px 10px 0px;
      background: var(--background);
      margin-bottom: 10px;
      color: var(--primary-color);
      transition: 0.4s ease-in-out;
      border-bottom: 6px solid var(--unit-pills-bg);
      cursor: pointer;
      margin: 8px;
    }
    .load-card-add:hover {
      box-shadow: var(--box-shadow) 0px 2px 4px 0px;
      background: var(--hover-bg);
      border-bottom: 6px solid var(--border);
      transition: 0.2s ease-in-out;
    }
    .card-name-price-add,
    .card-time-add,
    .card-info-add,
    .units-wrapper-add {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .card-name-price-add {
      font-size: 16px;
    }
    .load-card-price-add {
      color: var(--price-color);
      font-weight: var(--bold);
    }
    .card-time-add {
      font-size: 12px;
      opacity: 0.5;
    }
    .card-info-add {
      column-gap: 12px;
      margin: 8px 0px 8px 19px;
      text-align: center;
    }
    .card-date-wrapper-add {
      display: flex;
      flex-direction: column;
    }
    .card-info-add .month,
    .card-info-add .day {
      font-size: 12px;
      opacity: 0.5;
    }
    .card-info-add .date {
      font-size: 28px;
      font-weight: var(--semi-bold);
      transition: 0.4s ease-in-out;
    }
    .city-with-mi-add {
      display: flex;
      align-items: center;
    }
    .city-nm-add {
      font-size: 14px;
    }
    .mi-add {
      font-size: 12px;
      opacity: 0.5;
      flex-shrink: 0;
    }
    .rc-add {
      font-size: 9px;
      opacity: 0.5;
    }
    .card-city-unit-wrapper-add {
      display: flex;
      flex-direction: column;
      row-gap: 30px;
      position: relative;
      overflow: hidden;
    }
    .card-city-unit-wrapper-add::before {
      content: "";
      position: absolute;
      height: 71%;
      top: 15%;
      left: 4px;
      border-left: 2px dotted gray;
      opacity: 0.5;
      z-index: 0;
    }
    .city-with-mi-add {
      display: flex;
      align-items: center;
      column-gap: 8px;
    }

    .rate-check-box-add {
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      row-gap: 4px;
      border: 1px dashed rgb(145, 145, 145);
      border-radius: 2px;
      padding: 4px;
      transition: 0.2s ease-in-out;
    }
    .load-card-add:hover .rate-check-box-add {
      border: 1px dashed var(--background);
      color: var(--background);
      background-color: var(--border);
    }
    .load-card-add:hover .rate-check-box-add .rc,
    .load-card-add:hover .rate-check-box-add .mi {
      opacity: 1;
    }
    .rate-check-box-add .rate {
      font-size: 12px;
      height: 15px;
      line-height: 16px;
      opacity: 1;
      transition: opacity 2s ease 0s;
    }
    .pills-wrapper-add {
      display: flex;
      align-items: center;
      column-gap: 4px;
      color: rgb(72, 72, 72);
      font-size: 12px;
    }
    .unit-pill-add {
      background-color: var(--unit-pills-bg);
      border-radius: 10px;
      padding: 4px 12px;
      transition: 0.4s ease-in-out;
    }
    .unit-pill-add:hover {
      background-color: var(--price-color);
      color: var(--background);
    }

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  justify-content: center; /* centra las tarjetas */
  max-width: 100%;
  margin: 0 auto;
}


.cards-container .load-card-add {
  width: 100%;   /* se adapta al contenedor */
  max-width: 400px; /* opcional, para no crecer demasiado */
  height: 165px;
}


/* 🔹 Responsividad */
@media (max-width: 480px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
  .cards-container .load-card-add {
    width: 100%;
  }
}