.cart-item {
  display: grid;
  grid-template-columns: 64px 2fr 1fr 1fr 1fr 40px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  font-family: Arial, sans-serif;
}

.cart-remove {
  background: none;
  border: none;
  color: #d32f2f;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
  line-height: 1;
  justify-self: center;
}
.cart-remove:hover {
  color: #b71c1c;
}

.cart-img img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f9f9f9;
}

.cart-title {
  font-size: 1rem;
  font-weight: 500;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-btn {
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  border: none;
  background: #f4e049;
  color: #1c2431;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-btn:hover {
  background: #ffe066;
}

.cart-qty {
  min-width: 24px;
  text-align: center;
  font-size: 1rem;
}

.cart-price,
.cart-sum {
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.cart-item a{
    color:#000;
    text-decoration: none;
}
.cart-total-row {
    padding: 30px 70px 10px 10px;
      font-size: 1.1rem;
  display: flex;
  justify-content:space-between;
  align-items: center;

}
 


form#oreder {
  display: grid;
  gap: 18px;
  background: #fafbfc;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 32px auto;
}

.form-control {
  width: 99%;
  padding: 10px 5px;
  border: 1px solid #d2d2d2;
  border-radius: 6px;
  font-size: 1em;
  background: #fff;
  transition: border 0.2s;
}

.form-control:focus {
  border-color: #f4e049;
  outline: none;

}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.form-check-label {
  font-size: 1em;
  color: #333;
}

.error_order {
  color: #b00;
  font-size: 0.95em;
  margin-bottom: 4px;
 
}

.btn2 {
  margin-left:5px;
  width:35px;
  padding:10px;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  background:  #f4e049;;
  color: #080808;
  transition: background 0.2s;
}

.btn, .btn-primary, .btn-light {
  
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  background:  #f4e049;;
  color: #080808;
  transition: background 0.2s;
}
.btn{
  width:100%;
}
.btn-light {
  background: #f3f3f3;
  color: #222;
}

.btn:hover, .btn-primary:hover {
  background:  #f4e049;
}

.smooth-toggle {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
}

.smooth-toggle.open {
  max-height: 1000px; 
}


.inn,.bik{
  display:flex;
}

.inn button,.bik button{
  width:30px
}

#fio{
  display: flex;
  justify-content:space-between;
}

 
#fio >input{
  width:33%;
}


/* Responsive */
@media (max-width: 700px) {

#fio{
flex-direction: column;
}

#fio >input{
  width:100%;
}



  .cart-item {
    grid-template-columns: 48px 1fr 1fr 32px;
    grid-template-areas:
      "img title title remove"
      "img controls price remove"
      "img controls sum remove";
    gap: 8px;
    padding: 8px;
  }
  .cart-img { grid-area: img; }
  .cart-title { grid-area: title; }
  .cart-controls { grid-area: controls; }
  .cart-price { grid-area: price; }
  .cart-sum { grid-area: sum; }
  .cart-remove { grid-area: remove; }
  .cart-img img {
    width: 48px;
    height: 48px;
  }
}


.suggestions-suggestions>:last-child {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}