@charset "UTF-8";
.cart {
  position: relative;
}
.cart .order-discount-block {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 5px;
}
.cart .discount-form-title {
  cursor: default;
  margin-right: auto;
  margin-bottom: 1rem;
  font-weight: 400;
}
.cart .card-form-hint {
  font-size: 12px;
  color: #777;
  margin: 10px auto;
}
.cart .order-discount-card-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart .order-discount-card-title {
  width: 90%;
}
.cart .order-discount-sum {
  margin-top: 10px;
  font-weight: bold;
  color: #28a745;
}
.cart .remove-card {
  color: #ccc;
  font-size: 14px;
}
.cart .btn-apply-card {
  width: 100%;
}

.cart-info {
  margin: 20px 0;
  font-family: "Roboto", sans-serif;
  font-weight: lighter;
  font-size: 1.25rem;
}
.cart-info-header {
  display: flex;
  align-items: center;
}
.cart-info-header .title {
  font-size: 1.75rem;
  cursor: default;
  margin-right: auto;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.cart-info-count {
  margin-right: 50px;
}
.cart-info-text {
  margin-right: 15px;
}

.clear-cart-btn {
  padding: 0 10px 10px;
  display: inline-block;
  margin-top: 15px;
  cursor: pointer;
}
.clear-cart-btn-block {
  text-align: center;
  color: #737373;
}

.cart-block-content {
  display: flex;
}

.cart-items-order {
  width: 25%;
  padding: 40px 0 100px 40px;
}
.cart-items-order-content {
  position: sticky;
  top: 150px;
}
.cart-items-order .order-sum {
  font-size: 1.5rem;
  font-weight: bold;
}
.cart-items-order .order-comment,
.cart-items-order .order-discount-sum,
.cart-items-order .order-discount-card-block {
  color: #737373;
}
.cart-items-order .order-btn-block {
  margin-top: 20px;
}
.cart-items-order .btn-order {
  height: 50px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.cart-bottom-info {
  color: #737373;
  font-weight: lighter;
}
.cart-bottom-info a {
  font-weight: normal;
}

.cart-item {
  cursor: default;
}
.cart-item.not-in-stock-city {
  opacity: 0.7;
}
.cart-item-necond-text {
  color: #737373;
}
.cart-item-not-in-stock {
  font-weight: bold;
}
.cart-item:hover .cart-item-delete {
  opacity: 1;
}
.cart-item-delete {
  opacity: 0;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
  cursor: pointer;
  padding: 5px;
  position: absolute;
  top: 15px;
  right: 15px;
  color: #737373;
}
.cart-item-delete:hover {
  color: #000;
}
.cart-item-content {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f3f3f3;
  position: relative;
}
.cart-item-right, .cart-item-left {
  display: flex;
  align-items: center;
  height: 100%;
  width: 50%;
}
.cart-item-info {
  padding: 20px;
}
.cart-item-name {
  font-weight: lighter;
  font-size: 1.2rem;
}
.cart-item-code {
  color: #737373;
}
.cart-item-count {
  display: flex;
  margin-left: auto;
  padding: 20px;
}
.cart-item-count > input {
  height: 50px;
  text-align: center;
  width: 50px;
  border-radius: 0;
  border: 1px solid #737373;
}
.cart-item-price {
  width: 100px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart-item-price-value {
  display: flex;
}
.cart-item-price-comment {
  color: #737373;
}
.cart-item-price-info {
  color: #737373;
}
.cart-item-sum {
  display: flex;
  font-size: 1.2rem;
  width: 100px;
  justify-content: center;
}
.cart-item-image > a {
  display: block;
  height: 120px;
  width: 120px;
}
.cart-item-image img {
  max-width: 100%;
  max-height: 100%;
  transition: 0.2s;
  transition-property: transform;
  transition-delay: 0.2s;
  transform: scale(1);
}
.cart-item-image img:hover {
  transform: scale(2);
  transition: 0.5s;
  transition-delay: 1s;
}

.cart-company-sum-block {
  text-align: right;
  font-weight: lighter;
  padding: 10px 33px;
  margin-bottom: 10px;
}
.cart-company-main-sum {
  font-weight: bold;
}
.cart-company-title {
  font-weight: lighter;
}

.count-change {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.count-change-btn {
  height: 100%;
  width: 24px;
  text-align: center;
  color: #737373;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.count-change-btn:hover {
  color: #ccc;
}
.count-change-btn.plus {
  border: 1px solid #737373;
  border-left: 0;
}
.count-change-btn.minus {
  border: 1px solid #737373;
  border-right: 0;
}

.cart-spinner,
.order-spinner {
  position: absolute;
  display: none;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.8);
}
.cart-spinner .spinner-border,
.order-spinner .spinner-border {
  position: sticky;
  top: 250px;
  color: #323c89;
}

.cart.reloading .cart-spinner {
  display: flex;
}

.cart-is-empty {
  width: 100%;
}
.cart-is-empty-title {
  font-size: 1.2rem;
}
.cart-is-empty-text {
  font-style: italic;
  padding-top: 20px;
}

.cart-order .order-content {
  display: flex;
}
.cart-order .order-list-block {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.cart-order .order-list-block:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #fff, #fff);
}
.cart-order .order-list.full .order-list-block {
  height: auto;
}
.cart-order .order-list.full .order-list-block:after {
  height: 0;
}
.cart-order .show-full-order-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #ccc;
  transition: 300ms;
  cursor: pointer;
}
.cart-order .show-full-order-list.clicked {
  transform: rotate(180deg);
  margin-top: 15px;
}
.cart-order .show-full-order-list:hover {
  color: #737373;
}
.cart-order .order-list-title {
  font-size: 1.2rem;
}
.cart-order .left-block {
  display: flex;
  width: 60%;
  padding: 20px;
}
.cart-order .right-block {
  display: flex;
  flex-direction: column;
  width: 40%;
  padding: 20px;
}
.cart-order .cart-company-title {
  padding-top: 15px;
  padding-bottom: 5px;
}
.cart-order .btn-order {
  height: 50px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin: 20px 0;
  width: 100%;
}
.cart-order .order-all-count {
  margin-top: 20px;
}
.cart-order .order-confirm-rules {
  color: #737373;
  font-weight: lighter;
}
.cart-order .order-form {
  width: 85%;
}
.cart-order .order-form input {
  border-radius: 0;
}
.cart-order .discount-card-block,
.cart-order .is-fl-error-block,
.cart-order .has-card-error-block,
.cart-order .delivery-block {
  display: none;
}
.cart-order .discount-card-block.visible,
.cart-order .is-fl-error-block.visible,
.cart-order .has-card-error-block.visible,
.cart-order .delivery-block.visible {
  display: block;
}
.cart-order .field-description {
  color: #737373;
  font-weight: lighter;
  margin-bottom: 10px;
}
.cart-order .fio-block {
  display: flex;
  justify-content: space-between;
}
.cart-order .fio-block > div {
  width: 32%;
}

.cart-item-short {
  border-top: 1px solid #f3f3f3;
}
.cart-item-short .cart-item-content {
  padding: 0;
}
.cart-item-short .cart-item-left {
  width: 75%;
}
.cart-item-short .cart-item-right {
  width: 25%;
  justify-content: space-around;
}
.cart-item-short .cart-item-info {
  padding: 0;
}
.cart-item-short .cart-item-name {
  font-size: 1rem;
}
.cart-item-short .cart-item-code {
  font-size: 0.7rem;
}
.cart-item-short .cart-item-sum {
  font-size: 1rem;
}
.cart-item-short .cart-item-count {
  padding: 0 10px;
}

@media (max-width: 991px) {
  .cart-block-content {
    flex-wrap: wrap;
  }
  .cart-items-order,
  .cart-items-list {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .cart-item-content {
    flex-wrap: wrap;
  }
  .cart-item-right,
  .cart-item-left {
    width: 100%;
    justify-content: center;
  }
  .cart-item-count {
    margin-left: 0;
  }
  .cart-info-header {
    flex-wrap: wrap;
  }
  .cart-order .right-block,
  .cart-order .left-block {
    width: 100%;
    padding: 0;
  }
  .cart-order .order-content {
    flex-wrap: wrap;
  }
}
.cart-item.pending-deletion {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

/* Контейнер для таймера и кнопки отмены */
.deletion-timer-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 10;
  transition: 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cancel-deletion-btn {
  display: block;
  margin-top: 4px;
  cursor: pointer;
  padding: 5px 15px;
}

.deletion-timer {
  display: block;
  margin-bottom: 4px;
  padding: 5px 15px;
  color: #323c89;
}

@media (max-width: 600px) {
  .cart-item-short .cart-item-content {
    flex-wrap: wrap;
  }
  .cart-item-short .cart-item-left,
  .cart-item-short .cart-item-right {
    width: 100%;
  }
  .cabinet-orders .order-link {
    font-size: 14px;
  }
}

/* Согласие на обработку персональных данных */
.pers-data-consent-block {
    margin: 12px 0 8px;
}
.pers-data-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
}
.pers-data-consent-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Кнопка «Оформить заказ» в заблокированном состоянии */
.btn-order.consent-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

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