.cart {
  background-color: #F0F0F0;
  padding: 10px 30px 24px;
}

.cart .breadcrumbs {
  margin-bottom: 32px;
}

.cart h4 {
  text-transform: lowercase;
}

.cart h4:first-letter,
.cart h4:first-line {
  text-transform: uppercase;
}

.cart__wrapper {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.cart__wrapper--small {
  max-width: 820px;
}

.cart__item {
  display: grid;
  grid-template-areas:
    'itemTitle itemTitle itemTitle itemTitle itemTitle'
    'img img title title delete'
    'qntTitle qntTitle null totalTitle totalTitle'
    'qnt qnt null total total';
  row-gap: 15px;
  column-gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.cart__item__title-label {
  grid-area: itemTitle;
}

.cart__item__image {
  grid-area: img;
  width: 105px;
  border-radius: 10px;
  background-color: var(--white);
  aspect-ratio: 1/1;
}

.cart__item__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.cart__item__image img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.cart__item__title {
  grid-area: title;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  color: var(--black);
}

.cart__item__title a {
  color: currentColor;
}

.cart__item__trash {
  grid-area: delete;
  border: none;
  outline: none;
  background-color: transparent;
  width: 40px;
  height: 40px;
  border: 1px solid var(--black);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
}

.cart__item__trash svg {
  width: 13px;
  height: 13px;
}

.cart__item__qnt {
  grid-area: qnt;
}

.cart__item__qnt-label {
  grid-area: qntTitle;
}

.cart__item__price {
  grid-area: price;
  display: none;
}

.cart__item__price-label {
  grid-area: priceTitle;
  display: none;
}

.cart__item__total {
  grid-area: total;
  font-weight: 700;
}

.cart__item__total-label {
  grid-area: totalTitle;
}

.cart--padding {
  padding: 60px 30px 90px;
}

.cart__summary {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart__total {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--black);
  color: var(--black);
  font-family: 'Roboto', sans-serif;
  font-size: 1.3125rem;
  font-style: normal;
  line-height: normal;
  text-transform: capitalize;
}

.cart__summary__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.cart__input {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart__input label {
  color: var(--black);
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}

.cart__input__wrapper {
  height: 3.75rem;
  border-radius: 3.75rem;
  width: 100%;
  border: 1px solid #C3C3C3;
  padding: 0 10px 0 20px;
  display: grid;
  grid-template-columns: 1fr 2.5rem;
  align-items: center;
  gap: 16px;
}

.cart__input__wrapper input {
  color: #7E746D;
  width: 100%;
  border: none;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
}

.cart__input__wrapper input::placeholder {
  color: #7E746D;
}

.cart__input__msg {
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.cart__wrapper .button--green {
  align-self: self-start;
}

.cart__item__qnt {
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 2.5rem;
  border: 1px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  width: fit-content;
}

.cart__item__qnt:has(span) {
  justify-content: center;
  vertical-align: middle;
}

.cart__item__qnt button,
.cart__item__qnt input {
  height: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  text-align: center;
}

.cart__item__qnt button {
  width: 1.5rem;
  color: var(--black);
}

.cart__item__qnt input {
  width: 3rem;
}

@media only screen and (min-width: 992px) {
  .cart h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .cart__item {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
      'itemTitle null priceTitle qntTitle totalTitle nulll'
      'img title price qnt total delete';
  }

  .cart__item__price,
  .cart__item__price-label {
    display: block;
  }

  .cart__item__image {
    width: 100%;
  }

  .cart__item__trash {
    width: 51px;
    height: 51px;
  }

  .cart__summary {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
  }

  .cart__wrapper .button--green {
    align-self: self-end;
  }

  .cart .breadcrumbs {
    margin-bottom: 64px;
  }
}

.stripe h4 label {
  display: flex;
  width: 25rem;
  padding-right: 2.5rem;
  align-items: center;
  align-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  color: #000;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5625rem;
}