.price-block {
  margin-top: 40px;
  padding: 0 15px;
}

@media (min-width: 1024px) {
  .price-block {
    padding: 0;
    margin-top: 40px;
  }
}

.price-block__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 1024px) {
  .price-block__container {
    overflow-x: visible;
    padding-bottom: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.price-block__grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .price-block__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.price-block__item {
  background-color: #F6F6F6;
  border-radius: 12px;
  padding: 0;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  width: 280px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .price-block__item {
    width: 100%;
    min-width: 0;
  }
}

.price-block__item:hover {
  background-color: #f3f4f6;
}

.price-block__item-label {
  display: block;
  padding: 16px;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

@media (min-width: 1024px) {
  .price-block__item-label {
    padding: 20px;
  }
}

.price-block__item-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
}

.price-block__item-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.custom-checkbox-wrapper {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid gray;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.custom-checkbox::after {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "✓";
  font-size: 14px;
  color: transparent;
  transition: color 0.2s ease;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
  background: #f90000;
  border: none;
}

.custom-checkbox-wrapper
  input[type="checkbox"]:checked
  + .custom-checkbox::after {
  color: #ffffff;
}

.price-block__item-text {
  min-width: 0;
  flex: 1;
  padding-block: 4px;
}

.price-block__item-title {
  font-size: 16px;
  font-weight: 500;
  color: #01101b;
  margin-bottom: 12px;
  user-select: none;
}

@media (min-width: 768px) {
  .price-block__item-title {
    font-size: 24px;
  }
}

.price-block__item-description {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #424445;
  margin-bottom: 8px;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  user-select: none;
}

@media (min-width: 768px) {
  .price-block__item-description {
    font-size: 16px;
    line-height: 20px;
  }
}

.price-block__item-value {
  color: #f90000;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
  user-select: none;
}

@media (min-width: 768px) {
  .price-block__item-value {
    font-size: 24px;
  }
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.no-select {
  user-select: none;
}
