﻿.page-news-item {
}

.page-news-item .date {
  font-size: 20px;
  color: #9f9e9e;
  margin: 70px 0;
}

.tc-item {
  width: 100%;
  max-width: 413px;
  min-width: 393px;
  height: 100%;
  border-radius: 10px;
  border: 1px solid #F4F4F4;
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
}

.tc-head {
  background: #F4F4F4;
  padding: 20px;
  border-radius: 10px 10px 0 0;
}

.tc-label {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2px;
  min-height: 24px;
}

.tc-label-price {
  margin-top: 30px;
}

.tc-label-item {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-wrap: nowrap;
}

.tc-action {
  background: #CBC9FF;
  color: #554FC9;
}

.tc-popular {
  background: #CBC9FF;
  color: #554FC9;
}

.tc-action-info {
  background: #FFE3D3;
  color: #F55949;
}

.tc-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 10px;
}

.tc-body {
  padding: 15px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tc-info-hd {
  color: #7e7e7e;
  line-height: 1.375;
  font-weight: 400;
}

.tc-info {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: nowrap;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-info.tc-home {
  min-height: 78px;
}

.tc-range {
  margin-top: 10px;
  min-height: 43px;
}

.tc-range input {
  width: 100%;
  accent-color: #aaa6ff;
  margin: 0;
}

.tc-range input[type="range"] {
  -webkit-appearance: none;
  height: 20px;
  background: #eee;
  background-image: linear-gradient(#aaa6ff, #aaa6ff);
  background-size: 0 100%;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.tc-range input[type="range"]:focus-visible {
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #554FC9;
  cursor: ew-resize;
  transition: background .3s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #eee;
  background-image: linear-gradient(#aaa6ff, #aaa6ff);
  background-size: 70% 100%;
  background-repeat: no-repeat;
  cursor: ew-resize;
  transition: background .3s ease-in-out;
}

input[type="range"]::-ms-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #554FC9;
  cursor: ew-resize;
}

input[type="range"]::-webkit-slider-thumb:hover, input[type="range"]::-moz-range-thumb:hover, input[type="range"]::-ms-thumb:hover {
  background: #554FC9;
}

input[type=range]::-webkit-slider-runnable-track, input[type=range]::-moz-range-track, input[type="range"]::-ms-track  {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.tc-range-speeds {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.tc-range-speeds span {
  color: #7e7e7e;
  font-size: 12px;
  line-height: 1.3;
}

.tc-range-speeds span.active {
  font-weight: 600;
  color: #000;
}

.tc-range-speeds span:not(:last-child) {
  padding-left: 5px;
}

.tc-info.tc-mobile {
  margin-top: 30px;
  min-height: 55px;
}

.tc-info.tc-addi {
  margin-top: 30px;
  min-height: 103px;
}

.tc-info.tc-addi span {
  position: relative;
}

.tc-info.tc-addi span[custom-title]:hover::after {
  content: attr(custom-title);
  position: absolute;
  height: min-content;
  width: 235px;
  bottom: 30px;
  left: -110px;;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-wrap: wrap;
  border-radius: 10px;
  background-color: #eee;
  padding: 10px;
  z-index: 10;
}

.tc-info.tc-addi span[custom-title]:hover::before {
  content: '';
  position: absolute;
  height: 30px;
  width: 30px;
  bottom: 28px;
  left: -7px;;
  background-color: #eee;
  transform: rotate(45deg);
  z-index: 9;
}

.tc-info.tc-addi svg {
  margin-bottom: -2px;
}

.tc-info.tc-addi svg circle, .tc-info.tc-addi svg path {
  transition: fill .3s;
}

.tc-info.tc-addi svg:hover {
  cursor: pointer;
}

.tc-info.tc-addi svg:hover circle {
  fill: #7e7e7e;
}

.tc-info.tc-addi svg:hover path {
  fill: #eee;
}

.tc-footer {
  display: flex;
  flex-direction: column;
  justify-content: end;
  flex: 1;
}

.tc-price {
  margin-top: 10px;
  min-height: 28px;
}

.tc-price-actual {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.tc-price-old {
  color: #aaa;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.33;
  text-decoration-line: line-through;
  margin-left: 15px;
}

.tc-button {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33;
  border-radius: 30px;
  color: #fff;
  background-color: #00B956;
  display: block;
  border: none;
  padding: 15px 30px;
  text-align: center;
  margin-top: 15px;
  width: 100%;
  transition: background-color .3s;
  cursor: pointer;
}

.tc-button:hover {
  background-color: #04D465;
}

@media(max-width: 992px) {
  .tc-item {
	max-width: 330px;
  	min-width: 320px;
  }
  .tc-head, .tc-body {
	padding-left: 10px;
	padding-right: 10px;
  }
  .tc-label {
	min-height: 22px;
  }
  .tc-range {
    margin-top: 10px;
    min-height: 39px;
  }
  .tc-label-item {
	font-size: 12px;
  }
  .tc-title, .tc-info {
    font-size: 16px;
  }
  .tc-info.tc-home {
	min-height: 68px;
  }
  .tc-info-hd {
	font-size: 14px;
  }
  .tc-info.tc-addi {
    min-height: 92px;
  }
  .tc-mobile svg {
	transform: scale(.9) translateY(2px);
  }
  .tc-mobile-info {
	display: flex;
	align-items: baseline;
  }
  .tc-price-actual {
	font-size: 22px;
  }
  .tc-price-old {
	font-size: 16px;
  }
}

