.po-packs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* row */
.po-pack {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 70px 1fr 190px;
  align-items: center;
  justify-content: flex-start !important;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d8b6ad !important;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  position: relative;
  border-radius: 10px !important;
  overflow: hidden;
}

.po-pack:nth-child(2)::after {
  content: "Populaire";
  position: absolute;
  top: 0px;
  left: 89%;
  transform: translateX(-50%);
  background: #7a4a1a;
  color: #fff;
  font-family: sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 25px 6px 25px;
  border-radius: 0 0 18px 18px;
  line-height: 1;
  z-index: 10;
}

.po-pack__media {
  width: 70px;
}

/* selected state */
.po-pack.is-selected {
  border-color: #7a4a1a; /* dark brown */
  border-width: 3px;
}

/* radio */
.po-pack__radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #7a4a1a;
  display: inline-block;
  position: relative;
}
.po-pack.is-selected .po-pack__radio::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: #7a4a1a;
  border-radius: 50%;
}

/* image */
.po-pack__img {
  width: 54px;
  height: auto;
  display: block;
}

/* content */
.po-pack__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
  color: #111;
  display: block;
}
.po-pack__sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #2a2a2a;
  opacity: 0.75;
}

/* prices */
.po-pack__prices {
  flex: 1;
  justify-self: end;
  text-align: right;
  position: relative;
}

.po-pack:nth-child(2) .po-pack__prices {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 25px;
}

.po-pack__new {
  display: block;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  color: #111 !important;
}
.po-pack__new .amount {
  color: #111 !important;
}
.po-pack__old {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #ff4d1a;
  text-decoration: line-through;
}

/* badge (only if you output it) */
.po-pack__badge {
  position: absolute;
  top: -18px;
  right: 10px;
  background: #7a4a1a;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  line-height: 1;
}

.po-pack__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .po-pack:nth-child(2)::after {
    left: initial;
    right: 0;
  }
  .po-pack__media {
    width: 60px;
  }
  .po-pack__title {
    font-size: 21px;
  }
}
