/* Shared tariff rows; keep the existing typography, palette and card borders. */
#access .price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#access .price {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

#access .price > h3 {
  min-height: 2.24em;
  margin: 0;
  line-height: 1.12;
}

#access .price > p {
  flex: 1;
  margin: 0;
}

#access .price > strong {
  margin: 7px 0;
}

#access .price > .button {
  width: 100%;
  min-height: 56px;
  text-align: left;
}

#access .price > .button > span {
  flex-shrink: 0;
}

@supports (grid-template-rows: subgrid) {
  #access .price-grid {
    grid-template-rows: repeat(5, auto);
    row-gap: 18px;
  }

  #access .price {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-items: start;
  }

  #access .price > h3 {
    min-height: 0;
  }

  #access .price > .button {
    align-self: stretch;
  }
}

@media (max-width: 760px) {
  #access .price-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 0;
  }

  #access .price {
    display: flex;
    grid-row: auto;
    gap: 16px;
  }

  #access .price > h3 {
    min-height: 0;
  }

  #access .price > p {
    flex: initial;
  }

  #access .price > strong {
    margin: 2px 0;
  }
}
