.cartMain {
  --primary-text-color: #00939d;
  color: var(--primary-text-color);

  display: flex;
  flex-direction: column;
}
.historyNav {
  margin-top: 20px;
  margin-left: 30px;
  margin-bottom: 10px;
  display: flex;
  gap: 5px;
  color: var(--primary-text-color);
  font-family: sans-serif;
}

.historyNav > a,
.historyNav > p {
  text-decoration: none;
  color: var(--primary-text-color);
  font-family: sans-serif;
}

.bg {
  margin: 0 5% 10px 5%;
}
.sectionBg {
  margin-top: 10px;

  padding: 20px 40px;
  background-color: white;
  border-radius: 22px;

  box-shadow:
    0 2px 5px gray,
    0 0 5px #e4e7ec;
}

#yourCart {
  display: flex;
  flex-direction: column;
  align-items: cetner;
}

.totalContainer {
  display: flex;
  justify-self: center;
  justify-content: space-between;
  align-items: center;

  padding: 5px 0;

  color: var(--primary-text-color);
  border-bottom: 3px solid var(--primary-text-color);
  width: 100%;
}
.cartTitle {
  font-size: 34px;
}

#checkCtrl {
  display: none;
  justify-items: space-between;
  align-items: center;
  padding-left: 20px;
}
.checkCtrlContainer {
  display: flex;
  align-items: center;
  gap: 20px;
}
.totalCountContainer {
  display: flex;
  justify-content: space-between;
}

#totalCount {
  color: #f29498;
  font-family: "Roboto", sans-serif;
  align-self: flex-end;
  text-align: start;
  font-size: 28px;
  min-width: 35px;
}

#cartIco {
  height: 46px;
  align-self: flex-end;
  margin-bottom: 6px;
}

.infoSection {
  display: flex;
  box-shadow: none;
  background-color: transparent;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0 !important;
}

.infoTxt {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  align-self: center;
}

/* Форма */

.formContainer {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
  width: 100%;
}

.formField {
  box-shadow: 0 0 0 1px var(--primary-text-color);
  border-color: transparent;
  border-radius: 18px;
  height: 36px;
  width: 48%;
  text-indent: 10px;
  font-family: sans-serif;
}

.formField::placeholder {
  font-size: 12px;
}
.formField:focus {
  box-shadow: 0 0 0 2px var(--primary-text-color);
  outline: none;
  border-color: transparent;
}

#commentArea {
  margin-top: 30px;
  width: 100%;
  height: 100px;
  padding: 5px 0;
  font-family: sans-serif;
  text-indent: 10px;
  resize: none;
  border: none;
  border-radius: 14px;
  box-shadow:
    2px 2px 4px grey inset,
    0 0 0 1px #6e7581;
}

#commentArea:focus {
  box-shadow:
    2px 2px 4px grey inset,
    0 0 0 2px var(--primary-text-color);
  outline: none;
}

.submitContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#submitBtn {
  display: flex;
  justify-content: center;
  align-items: center;

  color: white;
  background-color: var(--primary-text-color);
  border: none;
  border-radius: 4px;
  width: 130px;
  height: 40px;
  font-size: 18px;
  transition: background-color 0.1s ease;
}

#submitBtn:hover {
  cursor: pointer;
  background-color: color-mix(in srgb, var(--primary-text-color), black 20%);
}

#submitBtn:disabled {
  background-color: #91babc;
  cursor: unset;
}

#statusTxt {
  font-size: 15px;
  min-width: 200px;
  min-height: 30px;
  padding: 0;
  margin-right: 0;
}

@media (max-width: 900px) {
  .formField {
    width: 100%;
    min-width: 300px;
  }
  .bg {
    margin: 0;
  }
}
@media (max-width: 600px) {
  .sectionBg {
    padding: 5px;
    border-radius: 12px;
  }

  .totalContainer {
    border: none;
  }

  #brline {
    border-bottom: 3px solid var(--primary-text-color);
    width: 98%;
    margin-bottom: 5px;
  }

  #cartIco {
    height: 30px;
  }
  #yourCart {
    display: flex;
    justify-content: center;
  }
  .infoTxt {
    font-size: 10px;
    text-align: cetner;
  }
  .formField {
    width: 95%;
  }
  .formContainer {
    margin: 5px 0;
  }
}
