.cart {
  container-type: inline-size;
}
.cart__list {
  display: grid;
  grid-template-columns: 200px 1.2fr 0.5fr 128px 0.5fr;
  grid-auto-rows: min-content;
  gap: 0 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.cart__list > *:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@container (max-width: 1000px) {
  .cart__list {
    grid-template-columns: 1.2fr 0.5fr 128px 0.5fr;
  }
}
@container (max-width: 600px) {
  .cart__list {
    gap: 0 10px;
    grid-template-columns: 1.2fr 0.5fr 128px;
  }
}
@container (max-width: 1000px) {
  .cart .cart__item-img,
  .cart .cart__header-img {
    display: none;
  }
}
@container (max-width: 600px) {
  .cart .cart__header-result,
  .cart .cart__item-result {
    display: none;
  }
}
.cart__header, .cart__footer, .cart__item {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/6;
  align-items: center;
  padding: 10px;
}
@container (max-width: 1000px) {
  .cart__header, .cart__footer, .cart__item {
    grid-column: 1/5;
  }
}
@container (max-width: 600px) {
  .cart__header, .cart__footer, .cart__item {
    grid-column: 1/4;
  }
}
@container (max-width: 600px) {
  .cart__footer {
    grid-template-columns: 1fr 1fr;
  }
}
.cart__header, .cart__footer {
  background: #f7f7f7;
  font-size: 16px;
  font-weight: 600;
}
@container (max-width: 600px) {
  .cart__header, .cart__footer {
    font-size: 14px;
  }
}
.cart__footer-total {
  grid-column: 1/3;
}
@container (max-width: 600px) {
  .cart__footer-total {
    grid-column: 1/2;
  }
}
.cart__footer-checkout {
  color: white;
  background: #d32323;
  border-radius: 4px;
  padding: 4px;
  text-align: center;
  grid-column: 5/6;
}
.cart__footer-checkout:hover {
  color: white;
  text-decoration: none;
  background: #d32323;
}
@container (max-width: 1000px) {
  .cart__footer-checkout {
    grid-column: 4/5;
  }
}
@container (max-width: 600px) {
  .cart__footer-checkout {
    grid-column: 2/3;
  }
}
.cart__item-name {
  font-weight: 600;
}
.cart__item-result, .cart__item-price {
  font-size: 18px;
  font-weight: 600;
}
@container (max-width: 600px) {
  .cart__item-result, .cart__item-price {
    font-size: 14px;
  }
}
.cart__input-count {
  width: 90px;
  font-size: 13px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
}
.cart__item-img {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 300px;
  object-fit: contain;
}
.cart__item-remove {
  font-size: 16px;
  color: red;
  cursor: pointer;
  padding-left: 10px;
}

.minicart {
  container-type: inline-size;
}
.minicart__list {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  grid-auto-rows: min-content;
  gap: 0 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.minicart__list > *:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.minicart__header, .minicart__footer, .minicart__item {
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  grid-column: 1/3;
  padding: 10px;
}
.minicart__header, .minicart__footer {
  background: #f7f7f7;
  font-size: 16px;
  font-weight: 600;
}
@container (max-width: 600px) {
  .minicart__header, .minicart__footer {
    font-size: 14px;
  }
}
.minicart__item-name {
  font-weight: 600;
}
.minicart__item-result, .minicart__item-price {
  font-size: 18px;
  font-weight: 600;
}
@container (max-width: 600px) {
  .minicart__item-result, .minicart__item-price {
    font-size: 14px;
  }
}
.minicart__input-count {
  width: 70px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
}

.checkout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 0 20px;
}
@media screen and (max-width: 1024px) {
  .checkout {
    grid-template-columns: 1fr;
  }
}
.checkout__result {
  position: sticky;
  top: 60px;
  height: min-content;
}
.checkout__terms {
  padding-block: 16px;
}
.checkout__button {
  color: white;
  background: #d32323;
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border: none;
}
.checkout__button:hover {
  color: white;
  text-decoration: none;
  background: #d32323;
}
.checkout .checkout__line {
  display: grid;
  grid-auto-rows: auto;
  padding-bottom: 25px;
}
.checkout input,
.checkout textarea,
.checkout select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
}
.checkout .order-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checkout .order-type > label:first-child {
  display: block;
  width: 100%;
}
.checkout input[type=radio] {
  position: absolute;
  left: -9999px;
}
.checkout input[type=radio] + label {
  display: inline-block;
  width: min-content;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
}
.checkout input[type=radio]:checked + label {
  background: #d32323;
  border: none;
  color: white;
}
.checkout input[name=type] ~ fieldset {
  display: none;
  width: 100%;
}
.checkout input[name=type][value=delivery]:checked ~ fieldset {
  display: block;
}

.subproducts {
  container-type: inline-size;
}

.basket-add {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
@container (max-width: 250px) {
  .basket-add {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.basket-add__input {
  width: 100px;
  padding-inline: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
}
.basket-add__button {
  color: white;
  background: #d32323;
  padding: 4px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border: none;
}
.basket-add__button:hover {
  color: white;
  text-decoration: none;
  background: #d32323;
}

/*
.basket-menu{
   position: relative;
   float: left;
   padding-inline: 9px;
   margin-right: 12px;


   &__icon{
      margin-top: 9px;
   }

   &__count{
      position: absolute;
      width: 18px;
      height: 18px;
      bottom: 0;
      right: -9px;


      border-radius: 100%;
      background: #277cb5;
      color: white;
      text-align: center;
      font-size: 12px;
   }
}
*/
.header-email-line {
  margin-top: 8px;
  /*
  display: flex;
  align-items: center;

  .header-email{
     margin-top: unset;
     margin-left: 8px;
  }
  */
}

.topbar-v1 .top-v1-contacts {
  margin-top: unset !important;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.topbar-v1 .top-v1-contacts > :nth-child(2) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.topbar-v1 .top-v1-contacts .basket-menu {
  margin-top: unset;
}
.topbar-v1 .top-v1-contacts .call-back {
  margin-top: 4px;
}

.basket-menu {
  display: inline-block;
  position: relative;
  padding-inline: 9px;
  margin-top: 4px;
}
.basket-menu__count {
  position: absolute;
  width: 18px;
  height: 18px;
  bottom: 0;
  right: -9px;
  border-radius: 100%;
  background: #d32323;
  color: white;
  text-align: center;
  font-size: 12px;
}

.basket-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #818181;
  background: #f7f7f7;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-block: 10px;
  padding-inline: 60px;
  transition: all 1s;
  animation: hidePopup 1s ease-in 8s;
  animation-fill-mode: forwards;
}
@media (max-width: 980px) {
  .basket-popup {
    padding-inline: 20px 60px;
  }
}
@starting-style {
  .basket-popup {
    bottom: -100%;
  }
}
.basket-popup__text {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .basket-popup__text {
    font-size: 13px;
  }
}
.basket-popup__button {
  color: white;
  background: #d32323;
  padding: 4px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border: none;
}
.basket-popup__button:hover {
  color: white;
  text-decoration: none;
  background: #d32323;
}
@media (max-width: 980px) {
  .basket-popup__button {
    font-size: 13px;
  }
}

@keyframes hidePopup {
  to {
    bottom: -100%;
  }
}
.red {
  color: red;
}

/*# sourceMappingURL=basket.css.map */
