.cart {
  margin-bottom: 30px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin: 60px 0 30px;
}

.cart-header .form-control {
  width: 100%;
}

.cart-header-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

.cart-header-column {
  flex: 1;
}

.cart-header-btn-wrapper {
  display: flex;
  gap: 25px;
}

.cart-header-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cart-header-label.checkbox-label {
  align-items: start;
}

.cart-header-geuc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.cart-form-row {
  display: flex;
  gap: 20px;
}

.cart-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cart-form-field label {
  font-size: 20px;
  line-height: 1;
}

.cart-form-field input {
  width: 100%;
}

.cart-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-form-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-form-item {
  font-size: 24px;
  line-height: 29px;
  font-weight: 500;
}

.cart-form-item:last-child {
  color: var(--primary-color);
}

.cart-table-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cart-table  thead tr {
  text-align: center;
}

.cart-table thead th {
  background-color: transparent;
  border: none;
  font-size: 20px;
  font-weight: 400;
  padding: 30px;
}

.cart-table thead th.wide {
  width: 400px;
}

.cart-table .table-arrow {
  margin-left: 6px;
}

.cart-table .table-arrow a {
  text-decoration: none;
  color: var(--text-color);
}

.cart-table .table-arrow .arrow.active {
  color: var(--primary-color);
}

.cart-table .table-arrow .arrow.up {
  margin-right: -4px;
}

.cart-table tbody td {
  padding: 30px;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: start;
}

.cart-table tbody td:first-child {
  width: 400px;
}

.cart-table tfoot td {
  padding: 30px;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: start;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0;
  background: white;
}

.quantity-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-color);
  margin: 0;
  border-radius: 50%;
}

.quantity-btn:hover {
  background: #f0f0f0a5;
  border-radius: 50%;
}

.cart-quantity-input {
  flex: 1;
  border: 1px solid #007BFF;
  border-radius: 8px;
  text-align: center;
  font-size: 20px;
  outline: none;
  width: 100%;
  background-color: white;
  padding: 0 8px;
  transition: border-color 0.2s ease;
}

.order-summary-box {
  background: #fff;
  border-radius: 4px;
  min-width: 400px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.order-summary-header {
  font-weight: 600;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-icon {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.order-summary-icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 2px;
  border-radius: 30px;
  background-color: #000;
  transition: transform 0.4s ease;
}

.order-summary-icon span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.order-summary-header.open .order-summary-icon span:nth-child(2){
  transform: translate(-50%, -50%) rotate(0);
}

.order-summary-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  border-top: 1px solid rgba(0, 10, 23, 0.25);
}

.order-summary-wrapper.open {
  max-height: 500px;
  opacity: 1;
}

.order-summary-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  color: #666;
}

.order-summary-row.total {
  font-size: 24px;
  font-weight: 500;
  color: #1482FA;
  margin-top: 14px;
}

.order-summary-box .button {
  width: 100%;
}
