.table__wrapper {
  overflow: hidden;
  border: 1px solid #7E9FD4;
  border-radius: 1vw;
  width: 70%;
  overflow: scroll;
}
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: scroll;
}
.table__th, 
.table__td {
  border-right: 1px solid #7E9FD4;
  border-bottom: 1px solid #7E9FD4;
  margin: 0;
  padding: 0.5vw 1vw;
}
.table__th-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}
.trash-icon {
  color: #7E9FD4;
  cursor: pointer;
}
/* Убираем правую границу у последней колонки */
.table__th:last-child,
.table__td:last-child {
  border-right: none;
}

/* Убираем нижнюю границу у последней строки */
.table__tr:last-child .table__td {
  border-bottom: none;
}

.table__th {
  font-weight: 500;
  text-align: left;
  
}
.table__td {
  color: black;
}
.table__img {
  height: 6vw;
  aspect-ratio: 1.5 / 1;
}

.spinner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
  font-family: sans-serif;
}

.spinner-input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  padding: 6px 4px;
  font-size: 16px;
  background: transparent;
}

.spinner-btn {
  border: none;
  color: #7E9FD4;
  cursor: pointer;
  font-size: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.spinner-btn:hover {
  background: #e9e9e9;
}

.checkadio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkadio input {
  display: none;
}

.icon {
  width: 18px;
  height: 18px;
}

.checkadio__outer {
  fill: none;
  stroke:#7575754D;
  stroke-width: 1;
}

.checkadio input:checked + .icon .checkadio__inner {
  opacity: 1;
}

.checkadio__inner {
  fill: #17367F;
  transform: scale(0.5);
  transform-origin: center;
  opacity: 0;
  transition: all 0.15s ease;
}

.checkadio input:checked + .icon .checkadio__inner {
  opacity: 1;
  transform: scale(1);
}
.bot-btns {
  display: flex;
  flex-direction: column;
  width: 70%;
  gap: 1.5vw;
  margin-top: 1.5vw;
}
.bot-btns__btn {
  color: white;
  background-color: #17367F;
  border-radius: 1.5vw;
  padding: 0.7vw 1vw;
  text-align: center;
}
.bot-btns__btn_blue {
  background-color: #7E9FD4;

}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
}

.qty-buttons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qty-btn {
  width: 28px;
  height: 20px;
  border: none;
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s;
}

.qty-btn:first-child {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.qty-btn:last-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.qty-btn:hover {
  background: #e5e7eb;
}

.qty-btn:active {
  background: #d1d5db;
}
@media screen and (max-width: 768px) {
  .table__th {
    font-size: 1rem;
  }
  .table__td {
    font-size: 1rem;
  }
  
}