.commerce {
  position: relative;
  aspect-ratio: 16/9;
  /* min-height: 100vh; */
  display: grid;
  background-color: var(--warm-shade);
}

.commerce-card-container {
  display: grid; /*for children*/
}

.commerce-card {
  display: grid;
  height: fit-content;
  width: 100%;
}

.commerce-card img {
  width: 100%;
}

.commerce-card * {
  grid-column: 1;
  grid-row: 1;
}

.commerce-card a {
  height: fit-content;
  place-self: center center;
}

.commerce-card .new-gradient-button{
  width:15vw;
}

.commerce-card-square {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  background-color: var(--white);
}

.square-top-right {
  place-self: start end;
}

.square-bottom-left {
  place-self: end start;
}

.commerce-card-stroke {
  border: 1px solid white;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  place-self: center;
  margin: 2rem;
  /* width: 100%;
    height: 100%; */
}
.commerce-grid-top {
  display: none;
}
.commerce-grid-bottom {
  display: none;
}

@media screen and (min-width: 600px) {
  .commerce {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    /* grid-template-columns: 1fr 1fr; */
  }
  .commerce-card {
    /* max-width: 539px; */
  }

  .commerce-card-container {
    grid-column: 1/5; /*place in parent*/
    grid-template-columns: 1fr 1fr;
    grid-row: 1;
    gap: 2rem;
    place-items: start;
    padding-left: 36px;
    padding-right: 36px;
    margin:auto;
  }
  .card-01 {
    margin-top: 130px;
    /* grid-column: 1;
      grid-row: 1; */
  }

  .card-02 {
    margin-top: 330px;
    /* grid-column: 2;
      grid-row: 1; */
  }
}

@media screen and (min-width: 1360px) {
  .commerce-card-container {
    /* grid-column: 1/5; */
    grid-column:2/5;
    justify-items: center;
    width: 80%;
    grid-gap: 10vw;
  }
}

@media screen and (min-width: 1475px) {
  .commerce-grid-top {
    display: block;
    grid-column: 1/5;
    grid-row: 1;
    place-self: start end;
  }
  .commerce-grid-bottom {
    display: block;
    grid-column: 1/5;
    grid-row: 1;
    place-self: end end;
  }
}
